From cb5b1d93c2df85b596664251d1bf1a1d4fffd3a8 Mon Sep 17 00:00:00 2001 From: sebprt Date: Wed, 5 Oct 2022 17:15:24 +0200 Subject: [PATCH 1/3] Updated API endpoints and models --- jane/gyroscops.json | 2 +- src/Authentication/ApiKeyAuthentication.php | 10 +- src/Client.php | 1767 ++++++++++++----- ...ceptReferralRequestReferralRequestItem.php | 39 +- ...AddAfterPipelineStepPipelineCollection.php | 40 +- ...ddBeforePipelineStepPipelineCollection.php | 40 +- .../AddComposerPipelinePipelineCollection.php | 40 +- ...AddPipelineStepProbePipelineCollection.php | 40 +- src/Endpoint/AddValueConfigMapCollection.php | 70 + src/Endpoint/AddValueSecretCollection.php | 39 +- ...izationGetSubresourceActionSubresource.php | 34 +- ...nsOwnerGetSubresourceActionSubresource.php | 34 +- ...rkspaceGetSubresourceActionSubresource.php | 34 +- ...esourceExecutionPipelineJobSubresource.php | 53 +- ...ubresourceExecutionPipelineSubresource.php | 53 +- ...esourceExecutionWorkflowJobSubresource.php | 34 +- ...esourceExecutionWorkflowJobSubresource.php | 34 +- ...esourceExecutionWorkflowJobSubresource.php | 55 +- ...ubresourceExecutionWorkflowSubresource.php | 36 +- ...ubresourceExecutionWorkflowSubresource.php | 53 +- ...ubresourceExecutionWorkflowSubresource.php | 36 +- ...tionGetSubresourceExecutionSubresource.php | 34 +- ...tionGetSubresourceExecutionSubresource.php | 34 +- ...wnerGetSubresourceExecutionSubresource.php | 34 +- ...lineGetSubresourceExecutionSubresource.php | 34 +- ...flowGetSubresourceExecutionSubresource.php | 34 +- ...JobsGetSubresourceExecutionSubresource.php | 55 +- ...paceGetSubresourceExecutionSubresource.php | 34 +- ...sOptionsGetSubresourceOfferSubresource.php | 72 + ...sGetSubresourceOrganizationSubresource.php | 53 +- ...sGetSubresourceOrganizationSubresource.php | 53 +- ...sGetSubresourceOrganizationSubresource.php | 53 +- ...sGetSubresourceOrganizationSubresource.php | 53 +- ...resourcePipelineCompilationSubresource.php | 34 +- ...resourcePipelineCompilationSubresource.php | 34 +- ...resourcePipelineCompilationSubresource.php | 34 +- ...sGetSubresourcePipelineStepSubresource.php | 53 +- ...tionsGetSubresourcePipelineSubresource.php | 53 +- ...ationGetSubresourcePipelineSubresource.php | 34 +- ...OwnerGetSubresourcePipelineSubresource.php | 34 +- ...spaceGetSubresourcePipelineSubresource.php | 34 +- ...tionsGetSubresourceScheduleSubresource.php | 53 +- ...ationGetSubresourceScheduleSubresource.php | 34 +- ...OwnerGetSubresourceScheduleSubresource.php | 34 +- ...elineGetSubresourceScheduleSubresource.php | 34 +- ...kflowGetSubresourceScheduleSubresource.php | 34 +- ...wJobsGetSubresourceScheduleSubresource.php | 55 +- ...ationGetSubresourceScheduleSubresource.php | 36 +- ...OwnerGetSubresourceScheduleSubresource.php | 36 +- ...spaceGetSubresourceScheduleSubresource.php | 36 +- ...spaceGetSubresourceScheduleSubresource.php | 34 +- ...rGetSubresourceSubscriptionSubresource.php | 56 + ...sGetSubresourceSubscriptionSubresource.php | 72 + ...nGetSubresourceSubscriptionSubresource.php | 56 + ...rizationsGetSubresourceUserSubresource.php | 53 +- ...sJobsGetSubresourceWorkflowSubresource.php | 53 +- ...ationGetSubresourceWorkflowSubresource.php | 34 +- ...OwnerGetSubresourceWorkflowSubresource.php | 34 +- ...spaceGetSubresourceWorkflowSubresource.php | 34 +- ...ionsGetSubresourceWorkspaceSubresource.php | 53 +- ...sersGetSubresourceWorkspaceSubresource.php | 53 +- .../AppendPipelineStepPipelineCollection.php | 40 +- src/Endpoint/ChangePasswordUserItem.php | 37 +- .../DeclareExecutionExecutionCollection.php | 40 +- .../DeclarePipelinePipelineCollection.php | 40 +- src/Endpoint/DeleteOfferItem.php | 56 + src/Endpoint/DeleteOrganizationItem.php | 24 +- src/Endpoint/DeletePipelinePipelineItem.php | 26 +- .../DeletePipelineStepPipelineItem.php | 28 +- src/Endpoint/DeleteReferralCodeItem.php | 24 +- src/Endpoint/DeleteSubscriptionItem.php | 56 + src/Endpoint/DeleteUserAuthorizationItem.php | 24 +- src/Endpoint/DeleteUserItem.php | 24 +- src/Endpoint/DeleteWorkspaceItem.php | 24 +- .../FinishExecutionExecutionCollection.php | 40 +- src/Endpoint/GetActionCollection.php | 47 +- src/Endpoint/GetActionItem.php | 33 +- ...stanceByPimUrlAkeneoInstanceCollection.php | 71 + src/Endpoint/GetAkeneoInstanceCollection.php | 69 + src/Endpoint/GetAkeneoInstanceItem.php | 61 + ...oInstanceOauthAkeneoInstanceCollection.php | 71 + ...edAccountAkeneoLinkedAccountCollection.php | 71 + .../GetAkeneoLinkedAccountCollection.php | 69 + src/Endpoint/GetAkeneoLinkedAccountItem.php | 61 + .../GetAkeneoOauthTokenCollection.php | 69 + src/Endpoint/GetAkeneoOauthTokenItem.php | 61 + src/Endpoint/GetConfigMapCollection.php | 69 + src/Endpoint/GetConfigMapItem.php | 61 + src/Endpoint/GetEnvironmentCollection.php | 47 +- src/Endpoint/GetEnvironmentItem.php | 33 +- src/Endpoint/GetExecutionActionItem.php | 33 +- src/Endpoint/GetExecutionCollection.php | 47 +- src/Endpoint/GetExecutionItem.php | 33 +- .../GetExecutionPipelineCollection.php | 47 +- src/Endpoint/GetExecutionPipelineItem.php | 33 +- .../GetExecutionPipelineJobCollection.php | 47 +- src/Endpoint/GetExecutionPipelineJobItem.php | 33 +- src/Endpoint/GetExecutionPipelineStepItem.php | 33 +- .../GetExecutionWorkflowCollection.php | 47 +- src/Endpoint/GetExecutionWorkflowItem.php | 33 +- .../GetExecutionWorkflowJobActionItem.php | 33 +- .../GetExecutionWorkflowJobCollection.php | 47 +- src/Endpoint/GetExecutionWorkflowJobItem.php | 33 +- src/Endpoint/GetForgotPassword.php | 36 +- src/Endpoint/GetOfferCollection.php | 69 + src/Endpoint/GetOfferItem.php | 61 + .../GetOnPremiseRequestCollection.php | 47 +- src/Endpoint/GetOnPremiseRequestItem.php | 33 +- src/Endpoint/GetOrganizationCollection.php | 47 +- src/Endpoint/GetOrganizationItem.php | 33 +- src/Endpoint/GetPipelineCollection.php | 55 +- .../GetPipelineCompilationCollection.php | 47 +- src/Endpoint/GetPipelineCompilationItem.php | 33 +- src/Endpoint/GetPipelineItem.php | 33 +- src/Endpoint/GetPipelineStepCollection.php | 47 +- src/Endpoint/GetPipelineStepItem.php | 33 +- .../GetPipelineStepProbeCollection.php | 47 +- src/Endpoint/GetPipelineStepProbeItem.php | 33 +- src/Endpoint/GetReferralCodeCollection.php | 47 +- src/Endpoint/GetReferralCodeItem.php | 33 +- src/Endpoint/GetReferralRequestCollection.php | 47 +- src/Endpoint/GetReferralRequestItem.php | 33 +- src/Endpoint/GetScheduleCollection.php | 47 +- src/Endpoint/GetScheduleItem.php | 33 +- src/Endpoint/GetSecretCollection.php | 47 +- src/Endpoint/GetSecretItem.php | 33 +- src/Endpoint/GetSubscriptionCollection.php | 69 + src/Endpoint/GetSubscriptionItem.php | 61 + .../GetUserAuthorizationCollection.php | 47 +- src/Endpoint/GetUserAuthorizationItem.php | 33 +- src/Endpoint/GetUserCollection.php | 47 +- src/Endpoint/GetUserItem.php | 33 +- .../GetVariableFromConfigMapCollection.php | 47 +- src/Endpoint/GetVariableFromConfigMapItem.php | 33 +- .../GetVariableFromSecretCollection.php | 47 +- src/Endpoint/GetVariableFromSecretItem.php | 33 +- src/Endpoint/GetWorkflowCollection.php | 47 +- src/Endpoint/GetWorkflowItem.php | 33 +- src/Endpoint/GetWorkflowJobActionItem.php | 33 +- src/Endpoint/GetWorkflowJobItem.php | 33 +- src/Endpoint/GetWorkflowJobPipelineItem.php | 33 +- src/Endpoint/GetWorkspaceCollection.php | 47 +- src/Endpoint/GetWorkspaceItem.php | 33 +- .../InterruptExecutionExecutionCollection.php | 40 +- src/Endpoint/MeUserCollection.php | 29 +- ...oveAfterPipelineStepPipelineCollection.php | 40 +- ...veBeforePipelineStepPipelineCollection.php | 40 +- src/Endpoint/PatchOfferItem.php | 74 + src/Endpoint/PatchOrganizationItem.php | 37 +- src/Endpoint/PatchSubscriptionItem.php | 74 + src/Endpoint/PatchUserAuthorizationItem.php | 37 +- src/Endpoint/PatchUserItem.php | 37 +- src/Endpoint/PatchWorkspaceItem.php | 37 +- .../PipelineCompilationPipelineCollection.php | 40 +- src/Endpoint/PostAkeneoInstanceCollection.php | 74 + .../PostAkeneoLinkedAccountCollection.php | 74 + .../PostAkeneoOauthTokenCollection.php | 74 + src/Endpoint/PostConfigMapCollection.php | 74 + src/Endpoint/PostCredentialsItem.php | 40 +- src/Endpoint/PostEnvironmentCollection.php | 40 +- src/Endpoint/PostForgotPassword.php | 30 +- src/Endpoint/PostForgotPasswordToken.php | 33 +- .../PostOnPremiseRequestCollection.php | 40 +- src/Endpoint/PostOrganizationCollection.php | 40 +- src/Endpoint/PostReferralCodeCollection.php | 40 +- .../PostReferralRequestCollection.php | 40 +- src/Endpoint/PostSecretCollection.php | 40 +- src/Endpoint/PostSubscriptionCollection.php | 74 + .../PostUserAuthorizationCollection.php | 40 +- src/Endpoint/PostUserCollection.php | 40 +- .../PostVariableFromConfigMapCollection.php | 40 +- .../PostVariableFromSecretCollection.php | 40 +- src/Endpoint/PostWorkspaceCollection.php | 40 +- ...eoOauthTokenAkeneoOauthTokenCollection.php | 74 + src/Endpoint/PutAuthenticationToken.php | 38 +- src/Endpoint/PutOfferItem.php | 81 + src/Endpoint/PutOrganizationItem.php | 44 +- src/Endpoint/PutSubscriptionItem.php | 81 + src/Endpoint/PutUserAuthorizationItem.php | 44 +- src/Endpoint/PutUserItem.php | 44 +- src/Endpoint/PutWorkspaceItem.php | 44 +- ...jectReferralRequestReferralRequestItem.php | 39 +- .../RemovePipelineStepProbePipelineItem.php | 32 +- ...ReorderPipelineStepsPipelineCollection.php | 40 +- .../ReplacePipelineStepPipelineCollection.php | 40 +- .../ResumeExecutionExecutionCollection.php | 40 +- .../ScheduleImmediateScheduleCollection.php | 42 +- .../ScheduleOnceScheduleCollection.php | 42 +- .../ScheduleTimesScheduleCollection.php | 42 +- .../ScheduleUntilScheduleCollection.php | 42 +- .../StartExecutionExecutionCollection.php | 40 +- .../TerminateExecutionExecutionCollection.php | 40 +- ...pdateExecutionStateExecutionCollection.php | 40 +- ...ReferralRequestItemBadRequestException.php | 2 +- ...stReferralRequestItemNotFoundException.php | 2 +- ...equestItemUnprocessableEntityException.php | 2 +- ...pPipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...pPipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...ePipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...ePipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...ConfigMapCollectionBadRequestException.php | 11 + ...CollectionUnprocessableEntityException.php | 11 + ...lueSecretCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- src/Exception/ApiException.php | 2 +- ...pPipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- src/Exception/BadRequestException.php | 2 +- ...ngePasswordUserItemBadRequestException.php | 2 +- ...hangePasswordUserItemNotFoundException.php | 2 +- ...rdUserItemUnprocessableEntityException.php | 2 +- src/Exception/ClientException.php | 2 +- ...ExecutionCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...ePipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- .../DeleteOfferItemNotFoundException.php | 11 + ...eleteOrganizationItemNotFoundException.php | 2 +- ...ePipelinePipelineItemNotFoundException.php | 2 +- ...elineStepPipelineItemNotFoundException.php | 2 +- ...eleteReferralCodeItemNotFoundException.php | 2 +- ...eleteSubscriptionItemNotFoundException.php | 11 + ...UserAuthorizationItemNotFoundException.php | 2 +- .../DeleteUserItemNotFoundException.php | 2 +- .../DeleteWorkspaceItemNotFoundException.php | 2 +- ...ExecutionCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- .../GetActionItemNotFoundException.php | 2 +- ...GetAkeneoInstanceItemNotFoundException.php | 11 + ...eneoLinkedAccountItemNotFoundException.php | 11 + ...tAkeneoOauthTokenItemNotFoundException.php | 11 + .../GetConfigMapItemNotFoundException.php | 11 + .../GetEnvironmentItemNotFoundException.php | 2 +- ...etExecutionActionItemNotFoundException.php | 2 +- .../GetExecutionItemNotFoundException.php | 2 +- ...ExecutionPipelineItemNotFoundException.php | 2 +- ...cutionPipelineJobItemNotFoundException.php | 2 +- ...utionPipelineStepItemNotFoundException.php | 2 +- ...ExecutionWorkflowItemNotFoundException.php | 2 +- ...WorkflowJobActionItemNotFoundException.php | 2 +- ...cutionWorkflowJobItemNotFoundException.php | 2 +- .../GetForgotPasswordNotFoundException.php | 2 +- .../GetOfferItemNotFoundException.php | 11 + ...tOnPremiseRequestItemNotFoundException.php | 2 +- .../GetOrganizationItemNotFoundException.php | 2 +- ...pelineCompilationItemNotFoundException.php | 2 +- .../GetPipelineItemNotFoundException.php | 2 +- .../GetPipelineStepItemNotFoundException.php | 2 +- ...PipelineStepProbeItemNotFoundException.php | 2 +- .../GetReferralCodeItemNotFoundException.php | 2 +- ...etReferralRequestItemNotFoundException.php | 2 +- .../GetScheduleItemNotFoundException.php | 2 +- .../GetSecretItemNotFoundException.php | 2 +- .../GetSubscriptionItemNotFoundException.php | 11 + ...UserAuthorizationItemNotFoundException.php | 2 +- .../GetUserItemNotFoundException.php | 2 +- ...ableFromConfigMapItemNotFoundException.php | 2 +- ...ariableFromSecretItemNotFoundException.php | 2 +- .../GetWorkflowItemNotFoundException.php | 2 +- ...WorkflowJobActionItemNotFoundException.php | 2 +- .../GetWorkflowJobItemNotFoundException.php | 2 +- ...rkflowJobPipelineItemNotFoundException.php | 2 +- .../GetWorkspaceItemNotFoundException.php | 2 +- ...ExecutionCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...pPipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...pPipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- src/Exception/NotFoundException.php | 2 +- .../PatchOfferItemBadRequestException.php | 11 + .../PatchOfferItemNotFoundException.php | 11 + ...hOfferItemUnprocessableEntityException.php | 11 + ...tchOrganizationItemBadRequestException.php | 2 +- ...PatchOrganizationItemNotFoundException.php | 2 +- ...zationItemUnprocessableEntityException.php | 2 +- ...tchSubscriptionItemBadRequestException.php | 11 + ...PatchSubscriptionItemNotFoundException.php | 11 + ...iptionItemUnprocessableEntityException.php | 11 + ...erAuthorizationItemBadRequestException.php | 2 +- ...UserAuthorizationItemNotFoundException.php | 2 +- ...zationItemUnprocessableEntityException.php | 2 +- .../PatchUserItemBadRequestException.php | 2 +- .../PatchUserItemNotFoundException.php | 2 +- ...chUserItemUnprocessableEntityException.php | 2 +- .../PatchWorkspaceItemBadRequestException.php | 2 +- .../PatchWorkspaceItemNotFoundException.php | 2 +- ...kspaceItemUnprocessableEntityException.php | 2 +- ...nPipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...oInstanceCollectionBadRequestException.php | 11 + ...CollectionUnprocessableEntityException.php | 11 + ...edAccountCollectionBadRequestException.php | 11 + ...CollectionUnprocessableEntityException.php | 11 + ...authTokenCollectionBadRequestException.php | 11 + ...CollectionUnprocessableEntityException.php | 11 + ...ConfigMapCollectionBadRequestException.php | 11 + ...CollectionUnprocessableEntityException.php | 11 + ...vironmentCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- .../PostForgotPasswordBadRequestException.php | 2 +- ...ForgotPasswordTokenBadRequestException.php | 2 +- ...stForgotPasswordTokenNotFoundException.php | 2 +- ...seRequestCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...anizationCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...erralCodeCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...alRequestCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...ostSecretCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...scriptionCollectionBadRequestException.php | 11 + ...CollectionUnprocessableEntityException.php | 11 + ...orizationCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- .../PostUserCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...ConfigMapCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...romSecretCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...WorkspaceCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...authTokenCollectionBadRequestException.php | 11 + ...CollectionUnprocessableEntityException.php | 11 + .../PutOfferItemBadRequestException.php | 11 + .../PutOfferItemNotFoundException.php | 11 + ...tOfferItemUnprocessableEntityException.php | 11 + ...PutOrganizationItemBadRequestException.php | 2 +- .../PutOrganizationItemNotFoundException.php | 2 +- ...zationItemUnprocessableEntityException.php | 2 +- ...PutSubscriptionItemBadRequestException.php | 11 + .../PutSubscriptionItemNotFoundException.php | 11 + ...iptionItemUnprocessableEntityException.php | 11 + ...erAuthorizationItemBadRequestException.php | 2 +- ...UserAuthorizationItemNotFoundException.php | 2 +- ...zationItemUnprocessableEntityException.php | 2 +- .../PutUserItemBadRequestException.php | 2 +- .../PutUserItemNotFoundException.php | 2 +- ...utUserItemUnprocessableEntityException.php | 2 +- .../PutWorkspaceItemBadRequestException.php | 2 +- .../PutWorkspaceItemNotFoundException.php | 2 +- ...kspaceItemUnprocessableEntityException.php | 2 +- ...ReferralRequestItemBadRequestException.php | 2 +- ...stReferralRequestItemNotFoundException.php | 2 +- ...equestItemUnprocessableEntityException.php | 2 +- ...StepProbePipelineItemNotFoundException.php | 2 +- ...sPipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...pPipelineCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...ExecutionCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...eScheduleCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...eScheduleCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...sScheduleCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...lScheduleCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- src/Exception/ServerException.php | 2 +- ...ExecutionCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- ...ExecutionCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- .../UnprocessableEntityException.php | 2 +- ...ExecutionCollectionBadRequestException.php | 2 +- ...CollectionUnprocessableEntityException.php | 2 +- src/Model/AbstractPipeline.php | 126 +- src/Model/AbstractPipelineJsonld.php | 177 +- src/Model/ActionJsonldRead.php | 78 +- src/Model/ActionRead.php | 23 +- src/Model/AkeneoInstance.php | 131 ++ .../AkeneoInstanceAkeneoInstanceInput.php | 55 + ...keneoInstanceAkeneoInstanceInputJsonld.php | 109 + src/Model/AkeneoInstanceJsonld.php | 185 ++ src/Model/AkeneoLinkedAccount.php | 103 + ...LinkedAccountAkeneoLinkedAccountsInput.php | 71 + ...AccountAkeneoLinkedAccountsInputJsonld.php | 125 ++ src/Model/AkeneoLinkedAccountJsonld.php | 157 ++ src/Model/AkeneoOauthTokenJsonldRead.php | 131 ++ src/Model/AkeneoOauthTokenOauthStateInput.php | 45 + .../AkeneoOauthTokenOauthStateInputJsonld.php | 99 + ...eoOauthTokenOauthStateOutputJsonldRead.php | 61 + src/Model/AkeneoOauthTokenOauthTokenInput.php | 55 + .../AkeneoOauthTokenOauthTokenInputJsonld.php | 87 + ...eoOauthTokenOauthTokenOutputJsonldRead.php | 39 + src/Model/AkeneoOauthTokenRead.php | 77 + src/Model/AuthenticationMeGetResponse200.php | 80 +- ...henticationMeGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...uthenticationMeGetResponse200HydraView.php | 128 +- ...enticationOfferIdOptionsGetResponse200.php | 77 + ...fferIdOptionsGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...nOfferIdOptionsGetResponse200HydraView.php | 103 + .../AuthenticationOffersGetResponse200.php | 77 + ...icationOffersGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...nticationOffersGetResponse200HydraView.php | 103 + ...nizationIdAuthorizationsGetResponse200.php | 80 +- ...uthorizationsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...dAuthorizationsGetResponse200HydraView.php | 128 +- ...nIdExternalCollaboratorsGetResponse200.php | 80 +- ...CollaboratorsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...alCollaboratorsGetResponse200HydraView.php | 128 +- ...ationOrganizationIdUsersGetResponse200.php | 80 +- ...zationIdUsersGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...nizationIdUsersGetResponse200HydraView.php | 128 +- ...OrganizationIdWorkspacesGetResponse200.php | 80 +- ...nIdWorkspacesGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...ionIdWorkspacesGetResponse200HydraView.php | 128 +- ...henticationOrganizationsGetResponse200.php | 80 +- ...OrganizationsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...onOrganizationsGetResponse200HydraView.php | 128 +- ...henticationSubscriptionsGetResponse200.php | 77 + ...SubscriptionsGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...onSubscriptionsGetResponse200HydraView.php | 103 + ...onSubscriptionsIdOptionsGetResponse200.php | 77 + ...ionsIdOptionsGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...ptionsIdOptionsGetResponse200HydraView.php | 103 + ...cationUserAuthorizationsGetResponse200.php | 80 +- ...uthorizationsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...rAuthorizationsGetResponse200HydraView.php | 128 +- ...tionUserIdAuthorizationsGetResponse200.php | 80 +- ...uthorizationsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...dAuthorizationsGetResponse200HydraView.php | 128 +- .../AuthenticationUsersGetResponse200.php | 80 +- ...ticationUsersGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...enticationUsersGetResponse200HydraView.php | 128 +- ...orkspaceIdAuthorizationsGetResponse200.php | 80 +- ...uthorizationsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...dAuthorizationsGetResponse200HydraView.php | 128 +- ...ticationWorkspaceIdUsersGetResponse200.php | 80 +- ...kspaceIdUsersGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...orkspaceIdUsersGetResponse200HydraView.php | 128 +- ...AuthenticationWorkspacesGetResponse200.php | 80 +- ...ionWorkspacesGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...ationWorkspacesGetResponse200HydraView.php | 128 +- src/Model/AutoloadInput.php | 38 +- src/Model/AutoloadInputJsonld.php | 93 +- src/Model/BigDecimal.php | 255 +++ src/Model/BigDecimalJsonld.php | 309 +++ src/Model/BigInteger.php | 239 +++ src/Model/BigIntegerJsonld.php | 293 +++ src/Model/BigNumber.php | 151 ++ src/Model/BigNumberJsonld.php | 205 ++ src/Model/ConfigMap.php | 109 + src/Model/ConfigMapConfigMapInput.php | 55 + src/Model/ConfigMapConfigMapInputJsonld.php | 109 + src/Model/ConfigMapJsonld.php | 157 ++ src/Model/ConfigMapValueInput.php | 70 +- src/Model/ConfigMapValueInputJsonld.php | 125 +- src/Model/Context.php | 55 + src/Model/ContextJsonld.php | 109 + src/Model/Credentials.php | 65 +- src/Model/Currency.php | 103 + src/Model/CurrencyJsonld.php | 157 ++ src/Model/Environment.php | 122 +- ...nvironmentConfigMapIdPutPutResponse200.php | 77 + ...onfigMapIdPutPutResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...tConfigMapIdPutPutResponse200HydraView.php | 103 + .../EnvironmentConfigMapsGetResponse200.php | 77 + ...entConfigMapsGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...nmentConfigMapsGetResponse200HydraView.php | 103 + .../EnvironmentEnvironmentsGetResponse200.php | 80 +- ...tEnvironmentsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...entEnvironmentsGetResponse200HydraView.php | 128 +- src/Model/EnvironmentJsonld.php | 177 +- .../EnvironmentSecretIdPutPutResponse200.php | 80 +- ...ntSecretIdPutPutResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...mentSecretIdPutPutResponse200HydraView.php | 128 +- .../EnvironmentSecretsGetResponse200.php | 80 +- ...onmentSecretsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...ironmentSecretsGetResponse200HydraView.php | 128 +- ...ntVariableFromConfigMapsGetResponse200.php | 80 +- ...romConfigMapsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...eFromConfigMapsGetResponse200HydraView.php | 128 +- ...nmentVariableFromSecretsGetResponse200.php | 80 +- ...leFromSecretsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...ableFromSecretsGetResponse200HydraView.php | 128 +- src/Model/ExecutionAction.php | 44 +- src/Model/ExecutionActionJsonld.php | 99 +- src/Model/ExecutionActionJsonldRead.php | 78 +- src/Model/ExecutionActionRead.php | 23 +- ...onDeclarePipelineExecutionCommandInput.php | 44 +- ...arePipelineExecutionCommandInputJsonld.php | 99 +- ...larePipelineExecutionCommandJsonldRead.php | 57 +- ...ionFinishPipelineExecutionCommandInput.php | 23 +- ...ishPipelineExecutionCommandInputJsonld.php | 78 +- ...nishPipelineExecutionCommandJsonldRead.php | 57 +- ...InterruptPipelineExecutionCommandInput.php | 23 +- ...uptPipelineExecutionCommandInputJsonld.php | 78 +- ...ruptPipelineExecutionCommandJsonldRead.php | 57 +- src/Model/ExecutionJsonldRead.php | 364 +--- src/Model/ExecutionPipeline.php | 59 +- src/Model/ExecutionPipelineJob.php | 59 +- src/Model/ExecutionPipelineJobJsonld.php | 114 +- src/Model/ExecutionPipelineJsonld.php | 114 +- src/Model/ExecutionPipelineStep.php | 59 +- src/Model/ExecutionPipelineStepJsonld.php | 140 +- src/Model/ExecutionRead.php | 309 +-- ...ionResumePipelineExecutionCommandInput.php | 23 +- ...umePipelineExecutionCommandInputJsonld.php | 78 +- ...sumePipelineExecutionCommandJsonldRead.php | 57 +- ...tionStartPipelineExecutionCommandInput.php | 23 +- ...artPipelineExecutionCommandInputJsonld.php | 78 +- ...tartPipelineExecutionCommandJsonldRead.php | 57 +- ...TerminatePipelineExecutionCommandInput.php | 44 +- ...atePipelineExecutionCommandInputJsonld.php | 99 +- ...natePipelineExecutionCommandJsonldRead.php | 57 +- ...datePipelineExecutionStateCommandInput.php | 44 +- ...pelineExecutionStateCommandInputJsonld.php | 99 +- ...ipelineExecutionStateCommandJsonldRead.php | 57 +- src/Model/ExecutionWorkflow.php | 59 +- src/Model/ExecutionWorkflowJob.php | 86 +- src/Model/ExecutionWorkflowJobAction.php | 44 +- .../ExecutionWorkflowJobActionJsonld.php | 99 +- src/Model/ExecutionWorkflowJobJsonld.php | 141 +- src/Model/ExecutionWorkflowJsonld.php | 114 +- ...wayAkeneoInstanceFromUrlGetResponse200.php | 77 + ...stanceFromUrlGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...InstanceFromUrlGetResponse200HydraView.php | 103 + ...AkeneoInstanceOauthStateGetResponse200.php | 77 + ...nceOauthStateGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...tanceOauthStateGetResponse200HydraView.php | 103 + .../GatewayAkeneoInstancesGetResponse200.php | 77 + ...eneoInstancesGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...AkeneoInstancesGetResponse200HydraView.php | 103 + ...inkedAccountAkeneoUserIdGetResponse200.php | 77 + ...tAkeneoUserIdGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...untAkeneoUserIdGetResponse200HydraView.php | 103 + ...ewayAkeneoLinkedAccountsGetResponse200.php | 77 + ...inkedAccountsGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...oLinkedAccountsGetResponse200HydraView.php | 103 + ...GatewayAkeneoOauthStatesGetResponse200.php | 77 + ...eoOauthStatesGetResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...eneoOauthStatesGetResponse200HydraView.php | 103 + src/Model/GatewayAkeneoOauthTokenPutBody.php | 77 + ...ewayAkeneoOauthTokenPutBodyHydraSearch.php | 77 + ...okenPutBodyHydraSearchHydraMappingItem.php | 71 + ...atewayAkeneoOauthTokenPutBodyHydraView.php | 103 + .../GatewayAkeneoOauthTokenPutResponse200.php | 77 + ...neoOauthTokenPutResponse200HydraSearch.php | 77 + ...Response200HydraSearchHydraMappingItem.php | 71 + ...keneoOauthTokenPutResponse200HydraView.php | 103 + src/Model/Money.php | 259 +++ src/Model/MoneyJsonld.php | 313 +++ src/Model/Offer.php | 125 ++ src/Model/OfferJsonld.php | 179 ++ ...emiseRequestJsonldOnPremiseRequestRead.php | 183 +- ...miseRequestJsonldOnPremiseRequestWrite.php | 141 +- .../OnPremiseRequestOnPremiseRequestRead.php | 128 +- .../OnPremiseRequestOnPremiseRequestWrite.php | 86 +- src/Model/Option.php | 119 ++ src/Model/OptionJsonld.php | 151 ++ src/Model/Organization.php | 125 +- src/Model/OrganizationJsonld.php | 180 +- ...pelineAddAfterPipelineStepCommandInput.php | 116 +- ...AddAfterPipelineStepCommandInputJsonld.php | 171 +- ...eAddAfterPipelineStepCommandJsonldRead.php | 57 +- ...elineAddBeforePipelineStepCommandInput.php | 116 +- ...ddBeforePipelineStepCommandInputJsonld.php | 171 +- ...AddBeforePipelineStepCommandJsonldRead.php | 57 +- ...pelineComposerPSR4AutoloadCommandInput.php | 59 +- ...ComposerPSR4AutoloadCommandInputJsonld.php | 114 +- ...eComposerPSR4AutoloadCommandJsonldRead.php | 57 +- ...ipelineAddPipelineStepProbCommandInput.php | 65 +- ...eAddPipelineStepProbCommandInputJsonld.php | 120 +- ...eAddPipelineStepProbeCommandJsonldRead.php | 57 +- ...PipelineAppendPipelineStepCommandInput.php | 95 +- ...neAppendPipelineStepCommandInputJsonld.php | 150 +- ...ineAppendPipelineStepCommandJsonldRead.php | 57 +- src/Model/PipelineCompilation.php | 128 +- src/Model/PipelineCompilationJsonld.php | 183 +- .../PipelineCompilePipelineCommandInput.php | 23 +- ...elineCompilePipelineCommandInputJsonld.php | 78 +- ...pelineCompilePipelineCommandJsonldRead.php | 57 +- .../PipelineDeclarePipelineCommandInput.php | 116 +- ...elineDeclarePipelineCommandInputJsonld.php | 171 +- ...pelineDeclarePipelineCommandJsonldRead.php | 57 +- src/Model/PipelineIdJsonld.php | 57 +- src/Model/PipelineJsonldRead.php | 254 +-- ...elineMoveAfterPipelineStepCommandInput.php | 65 +- ...oveAfterPipelineStepCommandInputJsonld.php | 120 +- ...MoveAfterPipelineStepCommandJsonldRead.php | 57 +- ...lineMoveBeforePipelineStepCommandInput.php | 65 +- ...veBeforePipelineStepCommandInputJsonld.php | 120 +- ...oveBeforePipelineStepCommandJsonldRead.php | 57 +- src/Model/PipelineRead.php | 173 +- ...movePipelineStepProbeCommandJsonldRead.php | 57 +- ...pelineReorderPipelineStepsCommandInput.php | 38 +- ...ReorderPipelineStepsCommandInputJsonld.php | 93 +- ...eReorderPipelineStepsCommandJsonldRead.php | 57 +- ...ipelineReplacePipelineStepCommandInput.php | 116 +- ...eReplacePipelineStepCommandInputJsonld.php | 171 +- ...neReplacePipelineStepCommandJsonldRead.php | 57 +- src/Model/PipelineStep.php | 137 +- src/Model/PipelineStepJsonld.php | 192 +- src/Model/PipelineStepProbe.php | 107 +- src/Model/PipelineStepProbeJsonld.php | 162 +- src/Model/Price.php | 29 + src/Model/PriceJsonld.php | 83 + src/Model/Probe.php | 44 +- src/Model/ProbeJsonld.php | 99 +- .../ReferralCodeJsonldReferralCodeRead.php | 135 +- .../ReferralCodeJsonldReferralCodeWrite.php | 78 +- src/Model/ReferralCodeReferralCodeRead.php | 80 +- src/Model/ReferralCodeReferralCodeWrite.php | 23 +- src/Model/ReferralCodesGetResponse200.php | 80 +- ...ReferralCodesGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- .../ReferralCodesGetResponse200HydraView.php | 128 +- ...eferralOnPremiseRequestsGetResponse200.php | 80 +- ...emiseRequestsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...PremiseRequestsGetResponse200HydraView.php | 128 +- ...ferralRequestJsonldReferralRequestRead.php | 267 +-- .../ReferralRequestReferralRequestInput.php | 134 +- ...erralRequestReferralRequestInputJsonld.php | 189 +- .../ReferralRequestReferralRequestRead.php | 212 +- src/Model/ReferralRequestsGetResponse200.php | 80 +- ...erralRequestsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...eferralRequestsGetResponse200HydraView.php | 128 +- src/Model/RuntimeActionsGetResponse200.php | 80 +- ...untimeActionsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- .../RuntimeActionsGetResponse200HydraView.php | 128 +- ...ExecutionPipelineIdStepsGetResponse200.php | 80 +- ...pelineIdStepsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...PipelineIdStepsGetResponse200HydraView.php | 128 +- ...cutionExecutionPipelinesGetResponse200.php | 80 +- ...tionPipelinesGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...cutionPipelinesGetResponse200HydraView.php | 128 +- ...nExecutionWorkflowIdJobsGetResponse200.php | 80 +- ...orkflowIdJobsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...nWorkflowIdJobsGetResponse200HydraView.php | 128 +- ...cutionExecutionWorkflowsGetResponse200.php | 80 +- ...tionWorkflowsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...cutionWorkflowsGetResponse200HydraView.php | 128 +- ...eExecutionIdWorkflowJobsGetResponse200.php | 80 +- ...dWorkflowJobsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...nIdWorkflowJobsGetResponse200HydraView.php | 128 +- ...cutionPipelineJobIdStepsGetResponse200.php | 80 +- ...ineJobIdStepsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...elineJobIdStepsGetResponse200HydraView.php | 128 +- ...imeExecutionPipelineJobsGetResponse200.php | 80 +- ...nPipelineJobsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...ionPipelineJobsGetResponse200HydraView.php | 128 +- ...rkflowJobIdPipelineStepsGetResponse200.php | 80 +- ...PipelineStepsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...IdPipelineStepsGetResponse200HydraView.php | 128 +- ...lowExecutionWorkflowJobsGetResponse200.php | 80 +- ...nWorkflowJobsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...ionWorkflowJobsGetResponse200HydraView.php | 128 +- src/Model/RuntimeExecutionsGetResponse200.php | 80 +- ...imeExecutionsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...ntimeExecutionsGetResponse200HydraView.php | 128 +- ...mePipelineIdCompilationsGetResponse200.php | 80 +- ...dCompilationsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...eIdCompilationsGetResponse200HydraView.php | 128 +- ...timePipelineStepIdProbesGetResponse200.php | 80 +- ...eStepIdProbesGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...ineStepIdProbesGetResponse200HydraView.php | 128 +- ...untimePipelineStepProbesGetResponse200.php | 80 +- ...ineStepProbesGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...elineStepProbesGetResponse200HydraView.php | 128 +- .../RuntimePipelineStepsGetResponse200.php | 80 +- ...PipelineStepsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...mePipelineStepsGetResponse200HydraView.php | 128 +- ...timePipelinesCompilationGetResponse200.php | 80 +- ...esCompilationGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...inesCompilationGetResponse200HydraView.php | 128 +- src/Model/RuntimePipelinesGetResponse200.php | 80 +- ...timePipelinesGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...untimePipelinesGetResponse200HydraView.php | 128 +- ...timeScheduleIdExecutionsGetResponse200.php | 80 +- ...eIdExecutionsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...uleIdExecutionsGetResponse200HydraView.php | 128 +- ...meScheduleIdWorkflowJobsGetResponse200.php | 80 +- ...dWorkflowJobsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...eIdWorkflowJobsGetResponse200HydraView.php | 128 +- src/Model/RuntimeSchedulesGetResponse200.php | 80 +- ...timeSchedulesGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...untimeSchedulesGetResponse200HydraView.php | 128 +- .../RuntimeWorkflowIdJobsGetResponse200.php | 80 +- ...orkflowIdJobsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...eWorkflowIdJobsGetResponse200HydraView.php | 128 +- src/Model/RuntimeWorkflowsGetResponse200.php | 80 +- ...timeWorkflowsGetResponse200HydraSearch.php | 80 +- ...Response200HydraSearchHydraMappingItem.php | 86 +- ...untimeWorkflowsGetResponse200HydraView.php | 128 +- src/Model/Schedule.php | 248 +-- ...eclarePipelineScheduleImmediateCommand.php | 41 +- ...ePipelineScheduleImmediateCommandInput.php | 44 +- ...ineScheduleImmediateCommandInputJsonld.php | 99 +- ...PipelineScheduleImmediateCommandJsonld.php | 120 +- ...duleDeclarePipelineScheduleOnceCommand.php | 62 +- ...eclarePipelineScheduleOnceCommandInput.php | 44 +- ...PipelineScheduleOnceCommandInputJsonld.php | 99 +- ...clarePipelineScheduleOnceCommandJsonld.php | 141 +- ...uleDeclarePipelineScheduleTimesCommand.php | 104 +- ...clarePipelineScheduleTimesCommandInput.php | 86 +- ...ipelineScheduleTimesCommandInputJsonld.php | 141 +- ...larePipelineScheduleTimesCommandJsonld.php | 183 +- ...uleDeclarePipelineScheduleUntilCommand.php | 104 +- ...clarePipelineScheduleUntilCommandInput.php | 86 +- ...ipelineScheduleUntilCommandInputJsonld.php | 141 +- ...larePipelineScheduleUntilCommandJsonld.php | 183 +- src/Model/ScheduleIdJsonld.php | 57 +- src/Model/ScheduleJsonld.php | 303 +-- src/Model/Secret.php | 122 +- src/Model/SecretConfigMapInput.php | 88 - src/Model/SecretConfigMapInputJsonld.php | 169 -- src/Model/SecretInput.php | 61 + src/Model/SecretInputJsonld.php | 115 ++ src/Model/SecretJsonld.php | 185 +- src/Model/SecretSecretInput.php | 71 +- src/Model/SecretSecretInputJsonld.php | 126 +- src/Model/SecretValueInput.php | 115 -- src/Model/SecretValueInputJsonld.php | 196 -- src/Model/StepInput.php | 74 +- src/Model/StepInputJsonld.php | 129 +- src/Model/Subscription.php | 115 ++ src/Model/SubscriptionJsonld.php | 169 ++ src/Model/SubscriptionOption.php | 71 + src/Model/SubscriptionOptionJsonld.php | 103 + src/Model/Token.php | 23 +- src/Model/TraversableJsonld.php | 57 +- src/Model/UpdateList.php | 15 +- src/Model/UpdateListJsonld.php | 78 +- src/Model/User.php | 344 +--- src/Model/UserAuthorization.php | 122 +- src/Model/UserAuthorizationJsonld.php | 177 +- src/Model/UserIdJsonld.php | 57 +- src/Model/UserJsonld.php | 399 +--- src/Model/UserUserChangePasswordInput.php | 65 +- src/Model/Variable.php | 65 +- src/Model/VariableFromConfigMap.php | 107 +- src/Model/VariableFromConfigMapJsonld.php | 162 +- src/Model/VariableFromSecret.php | 107 +- src/Model/VariableFromSecretJsonld.php | 162 +- src/Model/VariableJsonld.php | 120 +- src/Model/WorkflowJobAction.php | 44 +- src/Model/WorkflowJobActionJsonld.php | 99 +- src/Model/WorkflowJobActionJsonldRead.php | 78 +- src/Model/WorkflowJobActionRead.php | 23 +- src/Model/WorkflowJobJsonldRead.php | 122 +- src/Model/WorkflowJobPipeline.php | 152 +- src/Model/WorkflowJobPipelineJsonld.php | 207 +- src/Model/WorkflowJobPipelineJsonldRead.php | 186 +- src/Model/WorkflowJobPipelineRead.php | 131 +- src/Model/WorkflowJobRead.php | 41 +- src/Model/WorkflowJsonldRead.php | 161 +- src/Model/WorkflowRead.php | 80 +- src/Model/Workspace.php | 111 +- src/Model/WorkspaceJsonld.php | 166 +- .../AbstractPipelineJsonldNormalizer.php | 75 +- src/Normalizer/AbstractPipelineNormalizer.php | 75 +- src/Normalizer/ActionJsonldReadNormalizer.php | 22 +- src/Normalizer/ActionReadNormalizer.php | 22 +- ...nceAkeneoInstanceInputJsonldNormalizer.php | 88 + ...oInstanceAkeneoInstanceInputNormalizer.php | 79 + .../AkeneoInstanceJsonldNormalizer.php | 127 ++ src/Normalizer/AkeneoInstanceNormalizer.php | 118 ++ ...neoLinkedAccountsInputJsonldNormalizer.php | 94 + ...untAkeneoLinkedAccountsInputNormalizer.php | 85 + .../AkeneoLinkedAccountJsonldNormalizer.php | 103 + .../AkeneoLinkedAccountNormalizer.php | 94 + .../AkeneoOauthTokenJsonldReadNormalizer.php | 95 + ...thTokenOauthStateInputJsonldNormalizer.php | 90 + ...neoOauthTokenOauthStateInputNormalizer.php | 81 + ...enOauthStateOutputJsonldReadNormalizer.php | 70 + ...thTokenOauthTokenInputJsonldNormalizer.php | 85 + ...eoOauthTokenOauthTokenInputNormalizer.php} | 52 +- ...enOauthTokenOutputJsonldReadNormalizer.php | 67 + .../AkeneoOauthTokenReadNormalizer.php | 86 + ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...nMeGetResponse200HydraSearchNormalizer.php | 26 +- ...ionMeGetResponse200HydraViewNormalizer.php | 22 +- ...thenticationMeGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...onsGetResponse200HydraSearchNormalizer.php | 93 + ...tionsGetResponse200HydraViewNormalizer.php | 97 + ...OfferIdOptionsGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...ersGetResponse200HydraSearchNormalizer.php | 93 + ...ffersGetResponse200HydraViewNormalizer.php | 97 + ...ticationOffersGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...onsGetResponse200HydraSearchNormalizer.php | 26 +- ...tionsGetResponse200HydraViewNormalizer.php | 22 +- ...AuthorizationsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...orsGetResponse200HydraSearchNormalizer.php | 26 +- ...atorsGetResponse200HydraViewNormalizer.php | 22 +- ...lCollaboratorsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...ersGetResponse200HydraSearchNormalizer.php | 26 +- ...UsersGetResponse200HydraViewNormalizer.php | 22 +- ...izationIdUsersGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...cesGetResponse200HydraSearchNormalizer.php | 26 +- ...pacesGetResponse200HydraViewNormalizer.php | 22 +- ...onIdWorkspacesGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...onsGetResponse200HydraSearchNormalizer.php | 26 +- ...tionsGetResponse200HydraViewNormalizer.php | 22 +- ...nOrganizationsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...onsGetResponse200HydraSearchNormalizer.php | 93 + ...tionsGetResponse200HydraViewNormalizer.php | 97 + ...nSubscriptionsGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...onsGetResponse200HydraSearchNormalizer.php | 93 + ...tionsGetResponse200HydraViewNormalizer.php | 97 + ...tionsIdOptionsGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...onsGetResponse200HydraSearchNormalizer.php | 26 +- ...tionsGetResponse200HydraViewNormalizer.php | 22 +- ...AuthorizationsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...onsGetResponse200HydraSearchNormalizer.php | 26 +- ...tionsGetResponse200HydraViewNormalizer.php | 22 +- ...AuthorizationsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...ersGetResponse200HydraSearchNormalizer.php | 26 +- ...UsersGetResponse200HydraViewNormalizer.php | 22 +- ...nticationUsersGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...onsGetResponse200HydraSearchNormalizer.php | 26 +- ...tionsGetResponse200HydraViewNormalizer.php | 22 +- ...AuthorizationsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...ersGetResponse200HydraSearchNormalizer.php | 26 +- ...UsersGetResponse200HydraViewNormalizer.php | 22 +- ...rkspaceIdUsersGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...cesGetResponse200HydraSearchNormalizer.php | 26 +- ...pacesGetResponse200HydraViewNormalizer.php | 22 +- ...tionWorkspacesGetResponse200Normalizer.php | 26 +- .../AutoloadInputJsonldNormalizer.php | 26 +- src/Normalizer/AutoloadInputNormalizer.php | 26 +- src/Normalizer/BigDecimalJsonldNormalizer.php | 106 + src/Normalizer/BigDecimalNormalizer.php | 97 + src/Normalizer/BigIntegerJsonldNormalizer.php | 100 + src/Normalizer/BigIntegerNormalizer.php | 91 + ...izer.php => BigNumberJsonldNormalizer.php} | 54 +- src/Normalizer/BigNumberNormalizer.php | 79 + ...nfigMapConfigMapInputJsonldNormalizer.php} | 26 +- ... => ConfigMapConfigMapInputNormalizer.php} | 26 +- src/Normalizer/ConfigMapJsonldNormalizer.php | 103 + src/Normalizer/ConfigMapNormalizer.php | 94 + .../ConfigMapValueInputJsonldNormalizer.php | 22 +- .../ConfigMapValueInputNormalizer.php | 22 +- src/Normalizer/ContextJsonldNormalizer.php | 76 + src/Normalizer/ContextNormalizer.php | 67 + src/Normalizer/CredentialsNormalizer.php | 22 +- src/Normalizer/CurrencyJsonldNormalizer.php | 94 + src/Normalizer/CurrencyNormalizer.php | 85 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...PutPutResponse200HydraSearchNormalizer.php | 93 + ...IdPutPutResponse200HydraViewNormalizer.php | 97 + ...ConfigMapIdPutPutResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...apsGetResponse200HydraSearchNormalizer.php | 93 + ...gMapsGetResponse200HydraViewNormalizer.php | 97 + ...mentConfigMapsGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...ntsGetResponse200HydraSearchNormalizer.php | 26 +- ...mentsGetResponse200HydraViewNormalizer.php | 22 +- ...ntEnvironmentsGetResponse200Normalizer.php | 26 +- .../EnvironmentJsonldNormalizer.php | 26 +- src/Normalizer/EnvironmentNormalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...PutPutResponse200HydraSearchNormalizer.php | 26 +- ...IdPutPutResponse200HydraViewNormalizer.php | 22 +- ...entSecretIdPutPutResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...etsGetResponse200HydraSearchNormalizer.php | 26 +- ...cretsGetResponse200HydraViewNormalizer.php | 22 +- ...ronmentSecretsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...apsGetResponse200HydraSearchNormalizer.php | 26 +- ...gMapsGetResponse200HydraViewNormalizer.php | 22 +- ...FromConfigMapsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...etsGetResponse200HydraSearchNormalizer.php | 26 +- ...cretsGetResponse200HydraViewNormalizer.php | 22 +- ...bleFromSecretsGetResponse200Normalizer.php | 26 +- .../ExecutionActionJsonldNormalizer.php | 27 +- .../ExecutionActionJsonldReadNormalizer.php | 22 +- src/Normalizer/ExecutionActionNormalizer.php | 27 +- .../ExecutionActionReadNormalizer.php | 22 +- ...eExecutionCommandInputJsonldNormalizer.php | 22 +- ...ipelineExecutionCommandInputNormalizer.php | 22 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...eExecutionCommandInputJsonldNormalizer.php | 22 +- ...ipelineExecutionCommandInputNormalizer.php | 22 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...eExecutionCommandInputJsonldNormalizer.php | 22 +- ...ipelineExecutionCommandInputNormalizer.php | 22 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- .../ExecutionJsonldReadNormalizer.php | 77 +- .../ExecutionPipelineJobJsonldNormalizer.php | 31 +- .../ExecutionPipelineJobNormalizer.php | 31 +- .../ExecutionPipelineJsonldNormalizer.php | 31 +- .../ExecutionPipelineNormalizer.php | 31 +- .../ExecutionPipelineStepJsonldNormalizer.php | 32 +- .../ExecutionPipelineStepNormalizer.php | 26 +- src/Normalizer/ExecutionReadNormalizer.php | 77 +- ...eExecutionCommandInputJsonldNormalizer.php | 22 +- ...ipelineExecutionCommandInputNormalizer.php | 22 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...eExecutionCommandInputJsonldNormalizer.php | 22 +- ...ipelineExecutionCommandInputNormalizer.php | 22 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...eExecutionCommandInputJsonldNormalizer.php | 22 +- ...ipelineExecutionCommandInputNormalizer.php | 22 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...utionStateCommandInputJsonldNormalizer.php | 22 +- ...neExecutionStateCommandInputNormalizer.php | 22 +- ...cutionStateCommandJsonldReadNormalizer.php | 22 +- ...utionWorkflowJobActionJsonldNormalizer.php | 27 +- .../ExecutionWorkflowJobActionNormalizer.php | 27 +- .../ExecutionWorkflowJobJsonldNormalizer.php | 37 +- .../ExecutionWorkflowJobNormalizer.php | 37 +- .../ExecutionWorkflowJsonldNormalizer.php | 26 +- .../ExecutionWorkflowNormalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...UrlGetResponse200HydraSearchNormalizer.php | 93 + ...omUrlGetResponse200HydraViewNormalizer.php | 97 + ...nstanceFromUrlGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...ateGetResponse200HydraSearchNormalizer.php | 93 + ...StateGetResponse200HydraViewNormalizer.php | 97 + ...anceOauthStateGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...cesGetResponse200HydraSearchNormalizer.php | 93 + ...ancesGetResponse200HydraViewNormalizer.php | 97 + ...keneoInstancesGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...rIdGetResponse200HydraSearchNormalizer.php | 93 + ...serIdGetResponse200HydraViewNormalizer.php | 97 + ...ntAkeneoUserIdGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...ntsGetResponse200HydraSearchNormalizer.php | 93 + ...ountsGetResponse200HydraViewNormalizer.php | 97 + ...LinkedAccountsGetResponse200Normalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...tesGetResponse200HydraSearchNormalizer.php | 93 + ...tatesGetResponse200HydraViewNormalizer.php | 97 + ...neoOauthStatesGetResponse200Normalizer.php | 91 + ...yHydraSearchHydraMappingItemNormalizer.php | 87 + ...OauthTokenPutBodyHydraSearchNormalizer.php | 93 + ...eoOauthTokenPutBodyHydraViewNormalizer.php | 97 + ...tewayAkeneoOauthTokenPutBodyNormalizer.php | 91 + ...0HydraSearchHydraMappingItemNormalizer.php | 87 + ...kenPutResponse200HydraSearchNormalizer.php | 93 + ...TokenPutResponse200HydraViewNormalizer.php | 97 + ...eneoOauthTokenPutResponse200Normalizer.php | 91 + src/Normalizer/JaneObjectNormalizer.php | 19 +- src/Normalizer/MoneyJsonldNormalizer.php | 125 ++ src/Normalizer/MoneyNormalizer.php | 116 ++ src/Normalizer/OfferJsonldNormalizer.php | 107 + src/Normalizer/OfferNormalizer.php | 98 + ...stJsonldOnPremiseRequestReadNormalizer.php | 22 +- ...tJsonldOnPremiseRequestWriteNormalizer.php | 22 +- ...eRequestOnPremiseRequestReadNormalizer.php | 22 +- ...RequestOnPremiseRequestWriteNormalizer.php | 22 +- src/Normalizer/OptionJsonldNormalizer.php | 96 + src/Normalizer/OptionNormalizer.php | 90 + .../OrganizationJsonldNormalizer.php | 38 +- src/Normalizer/OrganizationNormalizer.php | 38 +- ...pelineStepCommandInputJsonldNormalizer.php | 34 +- ...fterPipelineStepCommandInputNormalizer.php | 34 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- ...pelineStepCommandInputJsonldNormalizer.php | 34 +- ...forePipelineStepCommandInputNormalizer.php | 34 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- ...R4AutoloadCommandInputJsonldNormalizer.php | 26 +- ...oserPSR4AutoloadCommandInputNormalizer.php | 26 +- ...SR4AutoloadCommandJsonldReadNormalizer.php | 22 +- ...neStepProbCommandInputJsonldNormalizer.php | 22 +- ...PipelineStepProbCommandInputNormalizer.php | 22 +- ...neStepProbeCommandJsonldReadNormalizer.php | 22 +- ...pelineStepCommandInputJsonldNormalizer.php | 34 +- ...pendPipelineStepCommandInputNormalizer.php | 34 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- .../PipelineCompilationJsonldNormalizer.php | 32 +- .../PipelineCompilationNormalizer.php | 32 +- ...lePipelineCommandInputJsonldNormalizer.php | 22 +- ...eCompilePipelineCommandInputNormalizer.php | 22 +- ...ilePipelineCommandJsonldReadNormalizer.php | 22 +- ...rePipelineCommandInputJsonldNormalizer.php | 35 +- ...eDeclarePipelineCommandInputNormalizer.php | 35 +- ...arePipelineCommandJsonldReadNormalizer.php | 22 +- src/Normalizer/PipelineIdJsonldNormalizer.php | 22 +- .../PipelineJsonldReadNormalizer.php | 45 +- ...pelineStepCommandInputJsonldNormalizer.php | 22 +- ...fterPipelineStepCommandInputNormalizer.php | 22 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- ...pelineStepCommandInputJsonldNormalizer.php | 22 +- ...forePipelineStepCommandInputNormalizer.php | 22 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- src/Normalizer/PipelineReadNormalizer.php | 39 +- ...neStepProbeCommandJsonldReadNormalizer.php | 22 +- ...elineStepsCommandInputJsonldNormalizer.php | 26 +- ...derPipelineStepsCommandInputNormalizer.php | 26 +- ...pelineStepsCommandJsonldReadNormalizer.php | 22 +- ...pelineStepCommandInputJsonldNormalizer.php | 30 +- ...lacePipelineStepCommandInputNormalizer.php | 30 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- .../PipelineStepJsonldNormalizer.php | 30 +- src/Normalizer/PipelineStepNormalizer.php | 30 +- .../PipelineStepProbeJsonldNormalizer.php | 22 +- .../PipelineStepProbeNormalizer.php | 22 +- src/Normalizer/PriceJsonldNormalizer.php | 78 + src/Normalizer/PriceNormalizer.php | 69 + src/Normalizer/ProbeJsonldNormalizer.php | 22 +- src/Normalizer/ProbeNormalizer.php | 22 +- ...alCodeJsonldReferralCodeReadNormalizer.php | 29 +- ...lCodeJsonldReferralCodeWriteNormalizer.php | 27 +- ...ReferralCodeReferralCodeReadNormalizer.php | 29 +- ...eferralCodeReferralCodeWriteNormalizer.php | 27 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...desGetResponse200HydraSearchNormalizer.php | 26 +- ...CodesGetResponse200HydraViewNormalizer.php | 22 +- .../ReferralCodesGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...stsGetResponse200HydraSearchNormalizer.php | 26 +- ...uestsGetResponse200HydraViewNormalizer.php | 22 +- ...remiseRequestsGetResponse200Normalizer.php | 26 +- ...estJsonldReferralRequestReadNormalizer.php | 32 +- ...stReferralRequestInputJsonldNormalizer.php | 30 +- ...lRequestReferralRequestInputNormalizer.php | 30 +- ...alRequestReferralRequestReadNormalizer.php | 32 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...stsGetResponse200HydraSearchNormalizer.php | 26 +- ...uestsGetResponse200HydraViewNormalizer.php | 22 +- ...ferralRequestsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...onsGetResponse200HydraSearchNormalizer.php | 26 +- ...tionsGetResponse200HydraViewNormalizer.php | 22 +- ...RuntimeActionsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...epsGetResponse200HydraSearchNormalizer.php | 26 +- ...StepsGetResponse200HydraViewNormalizer.php | 22 +- ...ipelineIdStepsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...nesGetResponse200HydraSearchNormalizer.php | 26 +- ...linesGetResponse200HydraViewNormalizer.php | 22 +- ...utionPipelinesGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...obsGetResponse200HydraSearchNormalizer.php | 26 +- ...dJobsGetResponse200HydraViewNormalizer.php | 22 +- ...WorkflowIdJobsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...owsGetResponse200HydraSearchNormalizer.php | 26 +- ...flowsGetResponse200HydraViewNormalizer.php | 22 +- ...utionWorkflowsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...obsGetResponse200HydraSearchNormalizer.php | 26 +- ...wJobsGetResponse200HydraViewNormalizer.php | 22 +- ...IdWorkflowJobsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...epsGetResponse200HydraSearchNormalizer.php | 26 +- ...StepsGetResponse200HydraViewNormalizer.php | 22 +- ...lineJobIdStepsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...obsGetResponse200HydraSearchNormalizer.php | 26 +- ...eJobsGetResponse200HydraViewNormalizer.php | 22 +- ...onPipelineJobsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...epsGetResponse200HydraSearchNormalizer.php | 26 +- ...StepsGetResponse200HydraViewNormalizer.php | 22 +- ...dPipelineStepsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...obsGetResponse200HydraSearchNormalizer.php | 26 +- ...wJobsGetResponse200HydraViewNormalizer.php | 22 +- ...onWorkflowJobsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...onsGetResponse200HydraSearchNormalizer.php | 26 +- ...tionsGetResponse200HydraViewNormalizer.php | 22 +- ...timeExecutionsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...onsGetResponse200HydraSearchNormalizer.php | 26 +- ...tionsGetResponse200HydraViewNormalizer.php | 22 +- ...IdCompilationsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...besGetResponse200HydraSearchNormalizer.php | 26 +- ...robesGetResponse200HydraViewNormalizer.php | 22 +- ...neStepIdProbesGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...besGetResponse200HydraSearchNormalizer.php | 26 +- ...robesGetResponse200HydraViewNormalizer.php | 22 +- ...lineStepProbesGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...epsGetResponse200HydraSearchNormalizer.php | 26 +- ...StepsGetResponse200HydraViewNormalizer.php | 22 +- ...ePipelineStepsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...ionGetResponse200HydraSearchNormalizer.php | 26 +- ...ationGetResponse200HydraViewNormalizer.php | 22 +- ...nesCompilationGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...nesGetResponse200HydraSearchNormalizer.php | 26 +- ...linesGetResponse200HydraViewNormalizer.php | 22 +- ...ntimePipelinesGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...onsGetResponse200HydraSearchNormalizer.php | 26 +- ...tionsGetResponse200HydraViewNormalizer.php | 22 +- ...leIdExecutionsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...obsGetResponse200HydraSearchNormalizer.php | 26 +- ...wJobsGetResponse200HydraViewNormalizer.php | 22 +- ...IdWorkflowJobsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...lesGetResponse200HydraSearchNormalizer.php | 26 +- ...dulesGetResponse200HydraViewNormalizer.php | 22 +- ...ntimeSchedulesGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...obsGetResponse200HydraSearchNormalizer.php | 26 +- ...dJobsGetResponse200HydraViewNormalizer.php | 22 +- ...WorkflowIdJobsGetResponse200Normalizer.php | 26 +- ...0HydraSearchHydraMappingItemNormalizer.php | 27 +- ...owsGetResponse200HydraSearchNormalizer.php | 26 +- ...flowsGetResponse200HydraViewNormalizer.php | 22 +- ...ntimeWorkflowsGetResponse200Normalizer.php | 26 +- ...eImmediateCommandInputJsonldNormalizer.php | 22 +- ...cheduleImmediateCommandInputNormalizer.php | 22 +- ...heduleImmediateCommandJsonldNormalizer.php | 22 +- ...lineScheduleImmediateCommandNormalizer.php | 22 +- ...heduleOnceCommandInputJsonldNormalizer.php | 22 +- ...lineScheduleOnceCommandInputNormalizer.php | 22 +- ...ineScheduleOnceCommandJsonldNormalizer.php | 22 +- ...ePipelineScheduleOnceCommandNormalizer.php | 22 +- ...eduleTimesCommandInputJsonldNormalizer.php | 22 +- ...ineScheduleTimesCommandInputNormalizer.php | 22 +- ...neScheduleTimesCommandJsonldNormalizer.php | 22 +- ...PipelineScheduleTimesCommandNormalizer.php | 22 +- ...eduleUntilCommandInputJsonldNormalizer.php | 22 +- ...ineScheduleUntilCommandInputNormalizer.php | 22 +- ...neScheduleUntilCommandJsonldNormalizer.php | 22 +- ...PipelineScheduleUntilCommandNormalizer.php | 22 +- src/Normalizer/ScheduleIdJsonldNormalizer.php | 22 +- src/Normalizer/ScheduleJsonldNormalizer.php | 56 +- src/Normalizer/ScheduleNormalizer.php | 56 +- .../SecretInputJsonldNormalizer.php | 96 + src/Normalizer/SecretInputNormalizer.php | 87 + src/Normalizer/SecretJsonldNormalizer.php | 26 +- src/Normalizer/SecretNormalizer.php | 26 +- .../SecretSecretInputJsonldNormalizer.php | 38 +- .../SecretSecretInputNormalizer.php | 38 +- src/Normalizer/StepInputJsonldNormalizer.php | 34 +- src/Normalizer/StepInputNormalizer.php | 34 +- .../SubscriptionJsonldNormalizer.php | 117 ++ src/Normalizer/SubscriptionNormalizer.php | 108 + .../SubscriptionOptionJsonldNormalizer.php | 86 + .../SubscriptionOptionNormalizer.php | 80 + src/Normalizer/TokenNormalizer.php | 22 +- .../TraversableJsonldNormalizer.php | 22 +- src/Normalizer/UpdateListJsonldNormalizer.php | 22 +- src/Normalizer/UpdateListNormalizer.php | 22 +- .../UserAuthorizationJsonldNormalizer.php | 41 +- .../UserAuthorizationNormalizer.php | 41 +- src/Normalizer/UserIdJsonldNormalizer.php | 22 +- src/Normalizer/UserJsonldNormalizer.php | 123 +- src/Normalizer/UserNormalizer.php | 123 +- .../UserUserChangePasswordInputNormalizer.php | 22 +- .../VariableFromConfigMapJsonldNormalizer.php | 32 +- .../VariableFromConfigMapNormalizer.php | 32 +- .../VariableFromSecretJsonldNormalizer.php | 32 +- .../VariableFromSecretNormalizer.php | 32 +- src/Normalizer/VariableJsonldNormalizer.php | 22 +- src/Normalizer/VariableNormalizer.php | 22 +- .../WorkflowJobActionJsonldNormalizer.php | 27 +- .../WorkflowJobActionJsonldReadNormalizer.php | 22 +- .../WorkflowJobActionNormalizer.php | 27 +- .../WorkflowJobActionReadNormalizer.php | 22 +- .../WorkflowJobJsonldReadNormalizer.php | 43 +- .../WorkflowJobPipelineJsonldNormalizer.php | 39 +- ...orkflowJobPipelineJsonldReadNormalizer.php | 34 +- .../WorkflowJobPipelineNormalizer.php | 39 +- .../WorkflowJobPipelineReadNormalizer.php | 34 +- src/Normalizer/WorkflowJobReadNormalizer.php | 37 +- .../WorkflowJsonldReadNormalizer.php | 32 +- src/Normalizer/WorkflowReadNormalizer.php | 26 +- src/Normalizer/WorkspaceJsonldNormalizer.php | 39 +- src/Normalizer/WorkspaceNormalizer.php | 39 +- src/Runtime/Client/BaseEndpoint.php | 49 +- src/Runtime/Client/Client.php | 8 +- src/Runtime/Client/CustomQueryResolver.php | 3 +- src/Runtime/Client/Endpoint.php | 21 +- src/Runtime/Client/EndpointTrait.php | 11 +- src/Runtime/Normalizer/CheckArray.php | 4 +- .../Normalizer/ReferenceNormalizer.php | 5 +- 1251 files changed, 41216 insertions(+), 31923 deletions(-) create mode 100644 src/Endpoint/AddValueConfigMapCollection.php create mode 100644 src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php create mode 100644 src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php create mode 100644 src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php create mode 100644 src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php create mode 100644 src/Endpoint/DeleteOfferItem.php create mode 100644 src/Endpoint/DeleteSubscriptionItem.php create mode 100644 src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php create mode 100644 src/Endpoint/GetAkeneoInstanceCollection.php create mode 100644 src/Endpoint/GetAkeneoInstanceItem.php create mode 100644 src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php create mode 100644 src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php create mode 100644 src/Endpoint/GetAkeneoLinkedAccountCollection.php create mode 100644 src/Endpoint/GetAkeneoLinkedAccountItem.php create mode 100644 src/Endpoint/GetAkeneoOauthTokenCollection.php create mode 100644 src/Endpoint/GetAkeneoOauthTokenItem.php create mode 100644 src/Endpoint/GetConfigMapCollection.php create mode 100644 src/Endpoint/GetConfigMapItem.php create mode 100644 src/Endpoint/GetOfferCollection.php create mode 100644 src/Endpoint/GetOfferItem.php create mode 100644 src/Endpoint/GetSubscriptionCollection.php create mode 100644 src/Endpoint/GetSubscriptionItem.php create mode 100644 src/Endpoint/PatchOfferItem.php create mode 100644 src/Endpoint/PatchSubscriptionItem.php create mode 100644 src/Endpoint/PostAkeneoInstanceCollection.php create mode 100644 src/Endpoint/PostAkeneoLinkedAccountCollection.php create mode 100644 src/Endpoint/PostAkeneoOauthTokenCollection.php create mode 100644 src/Endpoint/PostConfigMapCollection.php create mode 100644 src/Endpoint/PostSubscriptionCollection.php create mode 100644 src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php create mode 100644 src/Endpoint/PutOfferItem.php create mode 100644 src/Endpoint/PutSubscriptionItem.php create mode 100644 src/Exception/AddValueConfigMapCollectionBadRequestException.php create mode 100644 src/Exception/AddValueConfigMapCollectionUnprocessableEntityException.php create mode 100644 src/Exception/DeleteOfferItemNotFoundException.php create mode 100644 src/Exception/DeleteSubscriptionItemNotFoundException.php create mode 100644 src/Exception/GetAkeneoInstanceItemNotFoundException.php create mode 100644 src/Exception/GetAkeneoLinkedAccountItemNotFoundException.php create mode 100644 src/Exception/GetAkeneoOauthTokenItemNotFoundException.php create mode 100644 src/Exception/GetConfigMapItemNotFoundException.php create mode 100644 src/Exception/GetOfferItemNotFoundException.php create mode 100644 src/Exception/GetSubscriptionItemNotFoundException.php create mode 100644 src/Exception/PatchOfferItemBadRequestException.php create mode 100644 src/Exception/PatchOfferItemNotFoundException.php create mode 100644 src/Exception/PatchOfferItemUnprocessableEntityException.php create mode 100644 src/Exception/PatchSubscriptionItemBadRequestException.php create mode 100644 src/Exception/PatchSubscriptionItemNotFoundException.php create mode 100644 src/Exception/PatchSubscriptionItemUnprocessableEntityException.php create mode 100644 src/Exception/PostAkeneoInstanceCollectionBadRequestException.php create mode 100644 src/Exception/PostAkeneoInstanceCollectionUnprocessableEntityException.php create mode 100644 src/Exception/PostAkeneoLinkedAccountCollectionBadRequestException.php create mode 100644 src/Exception/PostAkeneoLinkedAccountCollectionUnprocessableEntityException.php create mode 100644 src/Exception/PostAkeneoOauthTokenCollectionBadRequestException.php create mode 100644 src/Exception/PostAkeneoOauthTokenCollectionUnprocessableEntityException.php create mode 100644 src/Exception/PostConfigMapCollectionBadRequestException.php create mode 100644 src/Exception/PostConfigMapCollectionUnprocessableEntityException.php create mode 100644 src/Exception/PostSubscriptionCollectionBadRequestException.php create mode 100644 src/Exception/PostSubscriptionCollectionUnprocessableEntityException.php create mode 100644 src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException.php create mode 100644 src/Exception/PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException.php create mode 100644 src/Exception/PutOfferItemBadRequestException.php create mode 100644 src/Exception/PutOfferItemNotFoundException.php create mode 100644 src/Exception/PutOfferItemUnprocessableEntityException.php create mode 100644 src/Exception/PutSubscriptionItemBadRequestException.php create mode 100644 src/Exception/PutSubscriptionItemNotFoundException.php create mode 100644 src/Exception/PutSubscriptionItemUnprocessableEntityException.php create mode 100644 src/Model/AkeneoInstance.php create mode 100644 src/Model/AkeneoInstanceAkeneoInstanceInput.php create mode 100644 src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php create mode 100644 src/Model/AkeneoInstanceJsonld.php create mode 100644 src/Model/AkeneoLinkedAccount.php create mode 100644 src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php create mode 100644 src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php create mode 100644 src/Model/AkeneoLinkedAccountJsonld.php create mode 100644 src/Model/AkeneoOauthTokenJsonldRead.php create mode 100644 src/Model/AkeneoOauthTokenOauthStateInput.php create mode 100644 src/Model/AkeneoOauthTokenOauthStateInputJsonld.php create mode 100644 src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php create mode 100644 src/Model/AkeneoOauthTokenOauthTokenInput.php create mode 100644 src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php create mode 100644 src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php create mode 100644 src/Model/AkeneoOauthTokenRead.php create mode 100644 src/Model/AuthenticationOfferIdOptionsGetResponse200.php create mode 100644 src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php create mode 100644 src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php create mode 100644 src/Model/AuthenticationOffersGetResponse200.php create mode 100644 src/Model/AuthenticationOffersGetResponse200HydraSearch.php create mode 100644 src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/AuthenticationOffersGetResponse200HydraView.php create mode 100644 src/Model/AuthenticationSubscriptionsGetResponse200.php create mode 100644 src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php create mode 100644 src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php create mode 100644 src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php create mode 100644 src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php create mode 100644 src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php create mode 100644 src/Model/BigDecimal.php create mode 100644 src/Model/BigDecimalJsonld.php create mode 100644 src/Model/BigInteger.php create mode 100644 src/Model/BigIntegerJsonld.php create mode 100644 src/Model/BigNumber.php create mode 100644 src/Model/BigNumberJsonld.php create mode 100644 src/Model/ConfigMap.php create mode 100644 src/Model/ConfigMapConfigMapInput.php create mode 100644 src/Model/ConfigMapConfigMapInputJsonld.php create mode 100644 src/Model/ConfigMapJsonld.php create mode 100644 src/Model/Context.php create mode 100644 src/Model/ContextJsonld.php create mode 100644 src/Model/Currency.php create mode 100644 src/Model/CurrencyJsonld.php create mode 100644 src/Model/EnvironmentConfigMapIdPutPutResponse200.php create mode 100644 src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php create mode 100644 src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php create mode 100644 src/Model/EnvironmentConfigMapsGetResponse200.php create mode 100644 src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php create mode 100644 src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/EnvironmentConfigMapsGetResponse200HydraView.php create mode 100644 src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php create mode 100644 src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php create mode 100644 src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php create mode 100644 src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php create mode 100644 src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php create mode 100644 src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php create mode 100644 src/Model/GatewayAkeneoInstancesGetResponse200.php create mode 100644 src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php create mode 100644 src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php create mode 100644 src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php create mode 100644 src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php create mode 100644 src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php create mode 100644 src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php create mode 100644 src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php create mode 100644 src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php create mode 100644 src/Model/GatewayAkeneoOauthStatesGetResponse200.php create mode 100644 src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php create mode 100644 src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php create mode 100644 src/Model/GatewayAkeneoOauthTokenPutBody.php create mode 100644 src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php create mode 100644 src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php create mode 100644 src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php create mode 100644 src/Model/GatewayAkeneoOauthTokenPutResponse200.php create mode 100644 src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php create mode 100644 src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php create mode 100644 src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php create mode 100644 src/Model/Money.php create mode 100644 src/Model/MoneyJsonld.php create mode 100644 src/Model/Offer.php create mode 100644 src/Model/OfferJsonld.php create mode 100644 src/Model/Option.php create mode 100644 src/Model/OptionJsonld.php create mode 100644 src/Model/Price.php create mode 100644 src/Model/PriceJsonld.php delete mode 100644 src/Model/SecretConfigMapInput.php delete mode 100644 src/Model/SecretConfigMapInputJsonld.php create mode 100644 src/Model/SecretInput.php create mode 100644 src/Model/SecretInputJsonld.php delete mode 100644 src/Model/SecretValueInput.php delete mode 100644 src/Model/SecretValueInputJsonld.php create mode 100644 src/Model/Subscription.php create mode 100644 src/Model/SubscriptionJsonld.php create mode 100644 src/Model/SubscriptionOption.php create mode 100644 src/Model/SubscriptionOptionJsonld.php create mode 100644 src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php create mode 100644 src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php create mode 100644 src/Normalizer/AkeneoInstanceJsonldNormalizer.php create mode 100644 src/Normalizer/AkeneoInstanceNormalizer.php create mode 100644 src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php create mode 100644 src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php create mode 100644 src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php create mode 100644 src/Normalizer/AkeneoLinkedAccountNormalizer.php create mode 100644 src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php create mode 100644 src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php create mode 100644 src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php create mode 100644 src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php create mode 100644 src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php rename src/Normalizer/{SecretValueInputNormalizer.php => AkeneoOauthTokenOauthTokenInputNormalizer.php} (57%) create mode 100644 src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php create mode 100644 src/Normalizer/AkeneoOauthTokenReadNormalizer.php create mode 100644 src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php create mode 100644 src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php create mode 100644 src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php create mode 100644 src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php create mode 100644 src/Normalizer/BigDecimalJsonldNormalizer.php create mode 100644 src/Normalizer/BigDecimalNormalizer.php create mode 100644 src/Normalizer/BigIntegerJsonldNormalizer.php create mode 100644 src/Normalizer/BigIntegerNormalizer.php rename src/Normalizer/{SecretValueInputJsonldNormalizer.php => BigNumberJsonldNormalizer.php} (61%) create mode 100644 src/Normalizer/BigNumberNormalizer.php rename src/Normalizer/{SecretConfigMapInputJsonldNormalizer.php => ConfigMapConfigMapInputJsonldNormalizer.php} (82%) rename src/Normalizer/{SecretConfigMapInputNormalizer.php => ConfigMapConfigMapInputNormalizer.php} (81%) create mode 100644 src/Normalizer/ConfigMapJsonldNormalizer.php create mode 100644 src/Normalizer/ConfigMapNormalizer.php create mode 100644 src/Normalizer/ContextJsonldNormalizer.php create mode 100644 src/Normalizer/ContextNormalizer.php create mode 100644 src/Normalizer/CurrencyJsonldNormalizer.php create mode 100644 src/Normalizer/CurrencyNormalizer.php create mode 100644 src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php create mode 100644 src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php create mode 100644 src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php create mode 100644 src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php create mode 100644 src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php create mode 100644 src/Normalizer/MoneyJsonldNormalizer.php create mode 100644 src/Normalizer/MoneyNormalizer.php create mode 100644 src/Normalizer/OfferJsonldNormalizer.php create mode 100644 src/Normalizer/OfferNormalizer.php create mode 100644 src/Normalizer/OptionJsonldNormalizer.php create mode 100644 src/Normalizer/OptionNormalizer.php create mode 100644 src/Normalizer/PriceJsonldNormalizer.php create mode 100644 src/Normalizer/PriceNormalizer.php create mode 100644 src/Normalizer/SecretInputJsonldNormalizer.php create mode 100644 src/Normalizer/SecretInputNormalizer.php create mode 100644 src/Normalizer/SubscriptionJsonldNormalizer.php create mode 100644 src/Normalizer/SubscriptionNormalizer.php create mode 100644 src/Normalizer/SubscriptionOptionJsonldNormalizer.php create mode 100644 src/Normalizer/SubscriptionOptionNormalizer.php diff --git a/jane/gyroscops.json b/jane/gyroscops.json index 95f94e1f..acceced6 100644 --- a/jane/gyroscops.json +++ b/jane/gyroscops.json @@ -1 +1 @@ -{"openapi":"3.0.3","info":{"title":"Gyroscops API","description":"","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/authentication\/forgot-password\/":{"ref":"ForgotPassword","post":{"operationId":"postForgotPassword","tags":["Forgot password"],"responses":{"204":{"description":"Valid email address, no matter if user exists or not"},"400":{"description":"Missing email parameter or invalid format"}},"summary":"Provides a token through email in order to reset a user's password","description":"","parameters":[],"requestBody":{"description":"Request a new password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:request"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/forgot-password\/{token}":{"ref":"ForgotPassword","get":{"operationId":"getForgotPassword","tags":["Forgot password"],"responses":{"200":{"description":"Authenticated user","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:validate"}}}},"404":{"description":"Token not found or expired"}},"summary":"Validates the token sent by email to reset the user's password","description":"","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"deprecated":false},"post":{"operationId":"postForgotPasswordToken","tags":["Forgot password"],"responses":{"204":{"description":"Email address format valid, no matter if user exists or not"},"400":{"description":"Missing password parameter"},"404":{"description":"Token not found"}},"summary":"Resets user password from token sent by email","description":"","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Reset password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:reset"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/me":{"get":{"operationId":"meUserCollection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Get the current user","description":"Get the current user","parameters":[],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}":{"get":{"operationId":"getOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Organization resource.","description":"Replaces the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteOrganizationItem","tags":["Organization"],"responses":{"204":{"description":"Organization resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Organization resource.","description":"Removes the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Organization resource.","description":"Updates the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Organization resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/authorizations":{"get":{"operationId":"api_organizations_authorizations_get_subresourceOrganizationSubresource","tags":["UserAuthorization","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/external-collaborators":{"get":{"operationId":"api_organizations_external_collaborators_get_subresourceOrganizationSubresource","tags":["User","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/users":{"get":{"operationId":"api_organizations_users_get_subresourceOrganizationSubresource","tags":["User","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/workspaces":{"get":{"operationId":"api_organizations_workspaces_get_subresourceOrganizationSubresource","tags":["Workspace","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organizations":{"get":{"operationId":"getOrganizationCollection","tags":["Organization"],"responses":{"200":{"description":"Organization collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization"}}}}}},"summary":"Retrieves the collection of Organization resources.","description":"Retrieves the collection of Organization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postOrganizationCollection","tags":["Organization"],"responses":{"201":{"description":"Organization resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Organization resource.","description":"Creates a Organization resource.","parameters":[],"requestBody":{"description":"The new Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/token":{"ref":"JWT Token","put":{"tags":["Token"],"responses":{"200":{"description":"Update JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token:update"}}}}},"summary":"Update scope of token","description":"","parameters":[],"requestBody":{"description":"Update JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials:update"}}},"required":false},"deprecated":false},"post":{"operationId":"postCredentialsItem","tags":["Token"],"responses":{"200":{"description":"Get JWT token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token"}}}}},"summary":"Get JWT token to login.","description":"","parameters":[],"requestBody":{"description":"Generate new JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/user-authorization\/{id}":{"get":{"operationId":"getUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a UserAuthorization resource.","description":"Retrieves a UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the UserAuthorization resource.","description":"Replaces the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"204":{"description":"UserAuthorization resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the UserAuthorization resource.","description":"Removes the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the UserAuthorization resource.","description":"Updates the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserAuthorization resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user-authorizations":{"get":{"operationId":"getUserAuthorizationCollection","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves the collection of UserAuthorization resources.","description":"Retrieves the collection of UserAuthorization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postUserAuthorizationCollection","tags":["UserAuthorization"],"responses":{"201":{"description":"UserAuthorization resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a UserAuthorization resource.","description":"Creates a UserAuthorization resource.","parameters":[],"requestBody":{"description":"The new UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}":{"get":{"operationId":"getUserItem","tags":["User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the User resource.","description":"Replaces the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteUserItem","tags":["User"],"responses":{"204":{"description":"User resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the User resource.","description":"Removes the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}\/authorizations":{"get":{"operationId":"api_users_authorizations_get_subresourceUserSubresource","tags":["UserAuthorization","User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}\/change-password":{"patch":{"operationId":"change_passwordUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User.UserChangePasswordInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/users":{"get":{"operationId":"getUserCollection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves the collection of User resources.","description":"Retrieves the collection of User resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postUserCollection","tags":["User"],"responses":{"201":{"description":"User resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a User resource.","description":"Creates a User resource.","parameters":[],"requestBody":{"description":"The new User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}":{"get":{"operationId":"getWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Workspace resource.","description":"Replaces the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteWorkspaceItem","tags":["Workspace"],"responses":{"204":{"description":"Workspace resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Workspace resource.","description":"Removes the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Workspace resource.","description":"Updates the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Workspace resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}\/authorizations":{"get":{"operationId":"api_workspaces_authorizations_get_subresourceWorkspaceSubresource","tags":["UserAuthorization","Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Workspace identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}\/users":{"get":{"operationId":"api_workspaces_users_get_subresourceWorkspaceSubresource","tags":["User","Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Workspace identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/workspaces":{"get":{"operationId":"getWorkspaceCollection","tags":["Workspace"],"responses":{"200":{"description":"Workspace collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}}}}},"summary":"Retrieves the collection of Workspace resources.","description":"Retrieves the collection of Workspace resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postWorkspaceCollection","tags":["Workspace"],"responses":{"201":{"description":"Workspace resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Workspace resource.","description":"Creates a Workspace resource.","parameters":[],"requestBody":{"description":"The new Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environment":{"post":{"operationId":"postEnvironmentCollection","tags":["Environment"],"responses":{"201":{"description":"Environment resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}},"links":{"GetEnvironmentItem":{"operationId":"getEnvironmentItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/environment\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Environment resource.","description":"Creates a Environment resource.","parameters":[],"requestBody":{"description":"The new Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environment\/{id}":{"get":{"operationId":"getEnvironmentItem","tags":["Environment"],"responses":{"200":{"description":"Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Environment resource.","description":"Retrieves a Environment resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/environments":{"get":{"operationId":"getEnvironmentCollection","tags":["Environment"],"responses":{"200":{"description":"Environment collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment"}}}}}},"summary":"Retrieves the collection of Environment resources.","description":"Retrieves the collection of Environment resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/secret":{"post":{"operationId":"postSecretCollection","tags":["Secret"],"responses":{"201":{"description":"Secret resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret"}}},"links":{"GetSecretItem":{"operationId":"getSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Secret resource.","description":"Creates a Secret resource.","parameters":[],"requestBody":{"description":"The new Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/secret\/{id}":{"get":{"operationId":"getSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Secret resource.","description":"Retrieves a Secret resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/secret\/{id}\/put\/":{"put":{"operationId":"add_valueSecretCollection","tags":["Secret"],"responses":{"200":{"description":"Secret resource updated","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}}},"links":{"GetSecretItem":{"operationId":"getSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a new Secret value to the Secret storage","description":"Adds a new Secret value to the Secret storage","parameters":[{"name":"id","in":"path","description":"Secret resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","patternProperties":{"^[a-z_][a-z0-9_]+$":{"type":"string"}}},"example":{"url":"https:\/\/api.example.com","access_token":"AAAAAA....AAAAAAA"}}},"required":false},"deprecated":false},"parameters":[]},"\/environment\/secrets":{"get":{"operationId":"getSecretCollection","tags":["Secret"],"responses":{"200":{"description":"Secret collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}}}}},"summary":"Retrieves the collection of Secret resources.","description":"Retrieves the collection of Secret resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-map":{"post":{"operationId":"postVariableFromConfigMapCollection","tags":["VariableFromConfigMap"],"responses":{"201":{"description":"VariableFromConfigMap resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"links":{"GetVariableFromConfigMapItem":{"operationId":"getVariableFromConfigMapItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/variable-from-config-map\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a VariableFromConfigMap resource.","description":"Creates a VariableFromConfigMap resource.","parameters":[],"requestBody":{"description":"The new VariableFromConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-map\/{id}":{"get":{"operationId":"getVariableFromConfigMapItem","tags":["VariableFromConfigMap"],"responses":{"200":{"description":"VariableFromConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromConfigMap resource.","description":"Retrieves a VariableFromConfigMap resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-maps":{"get":{"operationId":"getVariableFromConfigMapCollection","tags":["VariableFromConfigMap"],"responses":{"200":{"description":"VariableFromConfigMap collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}}}}},"summary":"Retrieves the collection of VariableFromConfigMap resources.","description":"Retrieves the collection of VariableFromConfigMap resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-secret":{"post":{"operationId":"postVariableFromSecretCollection","tags":["VariableFromSecret"],"responses":{"201":{"description":"VariableFromSecret resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"links":{"GetVariableFromSecretItem":{"operationId":"getVariableFromSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/variable-from-secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a VariableFromSecret resource.","description":"Creates a VariableFromSecret resource.","parameters":[],"requestBody":{"description":"The new VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/variable-from-secret\/{id}":{"get":{"operationId":"getVariableFromSecretItem","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromSecret resource.","description":"Retrieves a VariableFromSecret resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-secrets":{"get":{"operationId":"getVariableFromSecretCollection","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}}}}},"summary":"Retrieves the collection of VariableFromSecret resources.","description":"Retrieves the collection of VariableFromSecret resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/code\/{id}":{"get":{"operationId":"getReferralCodeItem","tags":["ReferralCode"],"responses":{"200":{"description":"ReferralCode resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ReferralCode resource.","description":"Retrieves a ReferralCode resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteReferralCodeItem","tags":["ReferralCode"],"responses":{"204":{"description":"ReferralCode resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the ReferralCode resource.","description":"Removes the ReferralCode resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/codes":{"get":{"operationId":"getReferralCodeCollection","tags":["ReferralCode"],"responses":{"200":{"description":"ReferralCode collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}}}}},"summary":"Retrieves the collection of ReferralCode resources.","description":"Retrieves the collection of ReferralCode resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postReferralCodeCollection","tags":["ReferralCode"],"responses":{"201":{"description":"ReferralCode resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}},"links":{"GetReferralCodeItem":{"operationId":"getReferralCodeItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/code\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ReferralCode resource.","description":"Creates a ReferralCode resource.","parameters":[],"requestBody":{"description":"The new ReferralCode resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/on-premise-request\/{id}":{"get":{"operationId":"getOnPremiseRequestItem","tags":["OnPremiseRequest"],"responses":{"200":{"description":"OnPremiseRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a OnPremiseRequest resource.","description":"Retrieves a OnPremiseRequest resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/on-premise-requests":{"get":{"operationId":"getOnPremiseRequestCollection","tags":["OnPremiseRequest"],"responses":{"200":{"description":"OnPremiseRequest collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}}}}},"summary":"Retrieves the collection of OnPremiseRequest resources.","description":"Retrieves the collection of OnPremiseRequest resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postOnPremiseRequestCollection","tags":["OnPremiseRequest"],"responses":{"201":{"description":"OnPremiseRequest resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}},"links":{"GetOnPremiseRequestItem":{"operationId":"getOnPremiseRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/on-premise-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a OnPremiseRequest resource.","description":"Creates a OnPremiseRequest resource.","parameters":[],"requestBody":{"description":"The new OnPremiseRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}":{"get":{"operationId":"getReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ReferralRequest resource.","description":"Retrieves a ReferralRequest resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}\/accept":{"patch":{"operationId":"accept_referral_requestReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Accepts a referral request","description":"Accepts a referral request","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{},"required":false},"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}\/reject":{"patch":{"operationId":"reject_referral_requestReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Rejects a referral request","description":"Rejects a referral request","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{},"required":false},"deprecated":false},"parameters":[]},"\/referral\/referral-requests":{"post":{"operationId":"postReferralRequestCollection","tags":["ReferralRequest"],"responses":{"201":{"description":"ReferralRequest resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ReferralRequest resource.","description":"Creates a ReferralRequest resource.","parameters":[],"requestBody":{"description":"The new ReferralRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/requests":{"get":{"operationId":"getReferralRequestCollection","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}}}}},"summary":"Retrieves the collection of ReferralRequest resources.","description":"Retrieves the collection of ReferralRequest resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}":{"get":{"operationId":"getActionItem","tags":["Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Action.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Action-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Action-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/organization":{"get":{"operationId":"api_actions_organization_get_subresourceActionSubresource","tags":["Organization","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/owner":{"get":{"operationId":"api_actions_owner_get_subresourceActionSubresource","tags":["User","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/workspace":{"get":{"operationId":"api_actions_workspace_get_subresourceActionSubresource","tags":["Workspace","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/actions":{"get":{"operationId":"getActionCollection","tags":["Action"],"responses":{"200":{"description":"Action collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action-read"}}}}}},"summary":"Retrieves the collection of Action resources.","description":"Retrieves the collection of Action resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-job\/{id}":{"get":{"operationId":"getExecutionPipelineJobItem","tags":["ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipelineJob resource.","description":"Retrieves a ExecutionPipelineJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-job\/{id}\/steps":{"get":{"operationId":"api_execution_pipeline_jobs_steps_get_subresourceExecutionPipelineJobSubresource","tags":["ExecutionPipelineStep","ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionPipelineJob resource.","description":"Retrieves a ExecutionPipelineJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionPipelineJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-jobs":{"get":{"operationId":"getExecutionPipelineJobCollection","tags":["ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}}},"summary":"Retrieves the collection of ExecutionPipelineJob resources.","description":"Retrieves the collection of ExecutionPipelineJob resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/action\/{id}":{"get":{"operationId":"getExecutionActionItem","tags":["ExecutionAction"],"responses":{"200":{"description":"ExecutionAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionAction resource.","description":"Retrieves a ExecutionAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-pipeline\/{id}\/steps":{"get":{"operationId":"api_execution_pipelines_steps_get_subresourceExecutionPipelineSubresource","tags":["ExecutionPipelineStep","ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionPipeline resource.","description":"Retrieves a ExecutionPipeline resource.","parameters":[{"name":"id","in":"path","description":"ExecutionPipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-pipelines":{"get":{"operationId":"getExecutionPipelineCollection","tags":["ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}}}},"summary":"Retrieves the collection of ExecutionPipeline resources.","description":"Retrieves the collection of ExecutionPipeline resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/job\/{job}\/action":{"get":{"operationId":"api_execution_workflows_jobs_action_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionWorkflowJobAction","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"jobs","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/job\/{job}\/pipeline":{"get":{"operationId":"api_execution_workflows_jobs_pipeline_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionPipelineJob","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"jobs","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/jobs":{"get":{"operationId":"api_execution_workflows_jobs_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionWorkflowJob","ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflows":{"get":{"operationId":"getExecutionWorkflowCollection","tags":["ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}}}},"summary":"Retrieves the collection of ExecutionWorkflow resources.","description":"Retrieves the collection of ExecutionWorkflow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/pipeline\/step\/{id}":{"get":{"operationId":"getExecutionPipelineStepItem","tags":["ExecutionPipelineStep"],"responses":{"200":{"description":"ExecutionPipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipelineStep resource.","description":"Retrieves a ExecutionPipelineStep resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/pipeline\/{id}":{"get":{"operationId":"getExecutionPipelineItem","tags":["ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipeline resource.","description":"Retrieves a ExecutionPipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/action\/{id}":{"get":{"operationId":"getExecutionWorkflowJobActionItem","tags":["ExecutionWorkflowJobAction"],"responses":{"200":{"description":"ExecutionWorkflowJobAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflowJobAction resource.","description":"Retrieves a ExecutionWorkflowJobAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/action":{"get":{"operationId":"api_execution_workflow_jobs_action_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionWorkflowJobAction","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/pipeline":{"get":{"operationId":"api_execution_workflow_jobs_pipeline_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionPipelineJob","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/pipeline\/steps":{"get":{"operationId":"api_execution_workflow_jobs_pipeline_steps_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionPipelineStep","ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"pipeline","in":"path","description":"ExecutionPipelineJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-jobs":{"get":{"operationId":"getExecutionWorkflowJobCollection","tags":["ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves the collection of ExecutionWorkflowJob resources.","description":"Retrieves the collection of ExecutionWorkflowJob resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/job\/{id}":{"get":{"operationId":"getExecutionWorkflowJobItem","tags":["ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/{id}":{"get":{"operationId":"getExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}":{"get":{"operationId":"getExecutionItem","tags":["Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/action":{"get":{"operationId":"api_executions_action_get_subresourceExecutionSubresource","tags":["ExecutionAction","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/organization":{"get":{"operationId":"api_executions_organization_get_subresourceExecutionSubresource","tags":["Organization","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/owner":{"get":{"operationId":"api_executions_owner_get_subresourceExecutionSubresource","tags":["User","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/pipeline":{"get":{"operationId":"api_executions_pipeline_get_subresourceExecutionSubresource","tags":["ExecutionPipeline","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workflow":{"get":{"operationId":"api_executions_workflow_get_subresourceExecutionSubresource","tags":["ExecutionWorkflow","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workflow\/jobs":{"get":{"operationId":"api_executions_workflow_jobs_get_subresourceExecutionSubresource","tags":["ExecutionWorkflowJob","ExecutionWorkflow"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workspace":{"get":{"operationId":"api_executions_workspace_get_subresourceExecutionSubresource","tags":["Workspace","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/executions":{"get":{"operationId":"getExecutionCollection","tags":["Execution"],"responses":{"200":{"description":"Execution collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}}}}},"summary":"Retrieves the collection of Execution resources.","description":"Retrieves the collection of Execution resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/executions\/declare":{"post":{"operationId":"declare_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a pipeline execution","description":"Declares a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/finish":{"post":{"operationId":"finish_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Finishes a pipeline execution","description":"Finishes a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/interrupt":{"post":{"operationId":"interrupt_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Interrupts a pipeline execution","description":"Interrupts a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/resume":{"post":{"operationId":"resume_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Resumes a pipeline execution","description":"Resumes a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/start":{"post":{"operationId":"start_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Starts a pipeline execution","description":"Starts a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/terminate":{"post":{"operationId":"terminate_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Terminates a pipeline execution","description":"Terminates a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/update-state":{"post":{"operationId":"update_execution_stateExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Updates a pipeline execution state","description":"Updates a pipeline execution state","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/organization":{"get":{"operationId":"api_pipeline_compilations_organization_get_subresourcePipelineCompilationSubresource","tags":["Organization","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/user":{"get":{"operationId":"api_pipeline_compilations_user_get_subresourcePipelineCompilationSubresource","tags":["User","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/workspace":{"get":{"operationId":"api_pipeline_compilations_workspace_get_subresourcePipelineCompilationSubresource","tags":["Workspace","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-step-probes":{"get":{"operationId":"getPipelineStepProbeCollection","tags":["PipelineStepProbe"],"responses":{"200":{"description":"PipelineStepProbe collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}}}},"summary":"Retrieves the collection of PipelineStepProbe resources.","description":"Retrieves the collection of PipelineStepProbe resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/probe\/{id}":{"get":{"operationId":"getPipelineStepProbeItem","tags":["PipelineStepProbe"],"responses":{"200":{"description":"PipelineStepProbe resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineStepProbe resource.","description":"Retrieves a PipelineStepProbe resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/{id}":{"get":{"operationId":"getPipelineStepItem","tags":["PipelineStep"],"responses":{"200":{"description":"PipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineStep resource.","description":"Retrieves a PipelineStep resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/{id}\/probes":{"get":{"operationId":"api_pipeline_steps_probes_get_subresourcePipelineStepSubresource","tags":["PipelineStepProbe","PipelineStep"],"responses":{"200":{"description":"PipelineStep resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}}}},"summary":"Retrieves a PipelineStep resource.","description":"Retrieves a PipelineStep resource.","parameters":[{"name":"id","in":"path","description":"PipelineStep identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/steps":{"get":{"operationId":"getPipelineStepCollection","tags":["PipelineStep"],"responses":{"200":{"description":"PipelineStep collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep"}}}}}},"summary":"Retrieves the collection of PipelineStep resources.","description":"Retrieves the collection of PipelineStep resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}":{"get":{"operationId":"getPipelineItem","tags":["Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"delete_pipelinePipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Deletes a pipeline","description":"Deletes a pipeline","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/compilations":{"get":{"operationId":"api_pipelines_compilations_get_subresourcePipelineSubresource","tags":["PipelineCompilation","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/organization":{"get":{"operationId":"api_pipelines_organization_get_subresourcePipelineSubresource","tags":["Organization","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/owner":{"get":{"operationId":"api_pipelines_owner_get_subresourcePipelineSubresource","tags":["User","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/step\/{code}":{"delete":{"operationId":"delete_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes a step from a pipeline","description":"Removes a step from a pipeline","parameters":[{"name":"code","in":"path","description":"Step resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/step\/{code}\/probes\/{probeCode}\/{probeLabel}":{"delete":{"operationId":"remove_pipeline_step_probePipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes a probe from a step","description":"Removes a probe from a step","parameters":[{"name":"code","in":"path","description":"Step resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"probe_code","in":"path","description":"Probe resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"probe_label","in":"path","description":"Probe resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/workspace":{"get":{"operationId":"api_pipelines_workspace_get_subresourcePipelineSubresource","tags":["Workspace","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipelines":{"get":{"operationId":"getPipelineCollection","tags":["Pipeline"],"responses":{"200":{"description":"Pipeline collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}}}},"summary":"Retrieves the collection of Pipeline resources.","description":"Retrieves the collection of Pipeline resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"code","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"code[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"declare_pipelinePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a docker pipeline","description":"Declares a docker pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/add-composer":{"post":{"operationId":"add_composer_pipelinePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds PSR4 autoload composer to a pipeline","description":"Adds PSR4 autoload composer to a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/compilation":{"get":{"operationId":"getPipelineCompilationCollection","tags":["PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}}}},"summary":"Retrieves the collection of PipelineCompilation resources.","description":"Retrieves the collection of PipelineCompilation resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/compile":{"post":{"operationId":"pipeline_compilationPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a pipeline compilation","description":"Creates a pipeline compilation","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/add-after":{"post":{"operationId":"add_after_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a step after another one in a pipeline","description":"Adds a step after another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/add-before":{"post":{"operationId":"add_before_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a step before another one in a pipeline","description":"Adds a step before another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/append":{"post":{"operationId":"append_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Appends a step to a pipeline","description":"Appends a step to a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/move-after":{"post":{"operationId":"move_after_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Moves a step after another one in a pipeline","description":"Moves a step after another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/move-before":{"post":{"operationId":"move_before_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Moves a step before another one in a pipeline","description":"Moves a step before another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/probes":{"post":{"operationId":"add_pipeline_step_probePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a probe to a step","description":"Adds a probe to a step","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/reorder":{"post":{"operationId":"reorder_pipeline_stepsPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Reorganizes the steps of a pipeline according to a given order","description":"Reorganizes the steps of a pipeline according to a given order","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/replace":{"post":{"operationId":"replace_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Replaces a step by another one in a pipeline","description":"Replaces a step by another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-immediate":{"post":{"operationId":"schedule_immediateScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a pipeline execution immediately","description":"Schedule a pipeline execution immediately","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-once":{"post":{"operationId":"schedule_onceScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule an immediate pipeline execution","description":"Schedule an immediate pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-times":{"post":{"operationId":"schedule_timesScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a recurring pipeline execution","description":"Schedule a recurring pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-until":{"post":{"operationId":"schedule_untilScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a delayed pipeline execution","description":"Schedule a delayed pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}":{"get":{"operationId":"getScheduleItem","tags":["Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/executions":{"get":{"operationId":"api_schedules_executions_get_subresourceScheduleSubresource","tags":["Execution","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/organization":{"get":{"operationId":"api_schedules_organization_get_subresourceScheduleSubresource","tags":["Organization","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/owner":{"get":{"operationId":"api_schedules_owner_get_subresourceScheduleSubresource","tags":["User","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/pipeline":{"get":{"operationId":"api_schedules_pipeline_get_subresourceScheduleSubresource","tags":["Pipeline","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow":{"get":{"operationId":"api_schedules_workflow_get_subresourceScheduleSubresource","tags":["Workflow","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/jobs":{"get":{"operationId":"api_schedules_workflow_jobs_get_subresourceScheduleSubresource","tags":["WorkflowJob","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/organization":{"get":{"operationId":"api_schedules_workflow_organization_get_subresourceScheduleSubresource","tags":["Organization","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/owner":{"get":{"operationId":"api_schedules_workflow_owner_get_subresourceScheduleSubresource","tags":["User","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/workspace":{"get":{"operationId":"api_schedules_workflow_workspace_get_subresourceScheduleSubresource","tags":["Workspace","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workspace":{"get":{"operationId":"api_schedules_workspace_get_subresourceScheduleSubresource","tags":["Workspace","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedules":{"get":{"operationId":"getScheduleCollection","tags":["Schedule"],"responses":{"200":{"description":"Schedule collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}}}}},"summary":"Retrieves the collection of Schedule resources.","description":"Retrieves the collection of Schedule resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/action\/{id}":{"get":{"operationId":"getWorkflowJobActionItem","tags":["WorkflowJobAction"],"responses":{"200":{"description":"WorkflowJobAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJobAction resource.","description":"Retrieves a WorkflowJobAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/job\/{id}":{"get":{"operationId":"getWorkflowJobItem","tags":["WorkflowJob"],"responses":{"200":{"description":"WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJob resource.","description":"Retrieves a WorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/pipeline\/{id}":{"get":{"operationId":"getWorkflowJobPipelineItem","tags":["WorkflowJobPipeline"],"responses":{"200":{"description":"WorkflowJobPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJobPipeline resource.","description":"Retrieves a WorkflowJobPipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}":{"get":{"operationId":"getWorkflowItem","tags":["Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/jobs":{"get":{"operationId":"api_workflows_jobs_get_subresourceWorkflowSubresource","tags":["WorkflowJob","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/organization":{"get":{"operationId":"api_workflows_organization_get_subresourceWorkflowSubresource","tags":["Organization","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/owner":{"get":{"operationId":"api_workflows_owner_get_subresourceWorkflowSubresource","tags":["User","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/workspace":{"get":{"operationId":"api_workflows_workspace_get_subresourceWorkflowSubresource","tags":["Workspace","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflows":{"get":{"operationId":"getWorkflowCollection","tags":["Workflow"],"responses":{"200":{"description":"Workflow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow-read"}}}}}},"summary":"Retrieves the collection of Workflow resources.","description":"Retrieves the collection of Workflow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtimepipeline\/compilation\/{id}":{"get":{"operationId":"getPipelineCompilationItem","tags":["PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]}},"components":{"schemas":{"AbstractPipeline":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AbstractPipeline.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Action-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"Action.jsonld-read":{"type":"object","required":["id"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"}}},"AutoloadInput":{"type":"object","properties":{"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"AutoloadInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"ConfigMapValueInput":{"type":"object","properties":{"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"ConfigMapValueInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"Environment":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"variables":{"writeOnly":true,"type":"array","items":{"$ref":"#\/components\/schemas\/Variable"}}}},"Environment.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"variables":{"writeOnly":true,"type":"array","items":{"$ref":"#\/components\/schemas\/Variable.jsonld"}}}},"Execution-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason","pipeline","workflow","action"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"status":{"default":"unknown","example":"unknown","type":"string"},"errors":{"type":"integer"},"scheduledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"startedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"finishedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"interruptedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"resumedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"updatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"terminatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"reason":{"type":"string","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ExecutionAction-read"}]}}},"Execution.DeclarePipelineExecutionCommand-read":{"type":"object"},"Execution.DeclarePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.DeclarePipelineExecutionCommandInput":{"type":"object","properties":{"schedule":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.DeclarePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"schedule":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.FinishPipelineExecutionCommand-read":{"type":"object"},"Execution.FinishPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.FinishPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.FinishPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.InterruptPipelineExecutionCommand-read":{"type":"object"},"Execution.InterruptPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.InterruptPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.InterruptPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.ResumePipelineExecutionCommand-read":{"type":"object"},"Execution.ResumePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.ResumePipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.ResumePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.StartPipelineExecutionCommand-read":{"type":"object"},"Execution.StartPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.StartPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.StartPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.TerminatePipelineExecutionCommand-read":{"type":"object"},"Execution.TerminatePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"reason":{"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"reason":{"type":"string"}}},"Execution.UpdatePipelineExecutionStateCommand-read":{"type":"object"},"Execution.UpdatePipelineExecutionStateCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.UpdatePipelineExecutionStateCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList"}}},"Execution.UpdatePipelineExecutionStateCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList.jsonld"}}},"Execution.jsonld-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason","pipeline","workflow","action"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"status":{"default":"unknown","example":"unknown","type":"string"},"errors":{"type":"integer"},"scheduledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"startedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"finishedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"interruptedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"resumedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"updatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"terminatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"reason":{"type":"string","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld-read"}]}}},"ExecutionAction":{"type":"object","required":["execution","id"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld":{"type":"object","required":["execution","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld-read":{"type":"object","required":["id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"}}},"ExecutionPipeline":{"type":"object","required":["execution"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipeline.jsonld":{"type":"object","required":["execution"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob":{"type":"object","required":["job"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob.jsonld":{"type":"object","required":["job"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineStep":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionPipelineStep.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionWorkflow":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflow.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflowJob":{"type":"object","required":["id","workflow","pipeline","action"],"properties":{"id":{"type":"string","format":"uuid"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true}}},"ExecutionWorkflowJob.jsonld":{"type":"object","required":["id","workflow","pipeline","action"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true}}},"ExecutionWorkflowJobAction":{"type":"object","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionWorkflowJobAction.jsonld":{"type":"object","required":["job","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"OnPremiseRequest-on-premise-request.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["firstName","lastName","message"]},"OnPremiseRequest-on-premise-request.write":{"type":"object","required":["firstName","lastName","message"],"properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"}}},"OnPremiseRequest.jsonld-on-premise-request.read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["firstName","lastName","message"]},"OnPremiseRequest.jsonld-on-premise-request.write":{"type":"object","required":["firstName","lastName","message"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"}}},"Organization":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"name":{"type":"string"},"slug":{"type":"string"},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}},"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug"]},"Organization.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"name":{"type":"string"},"slug":{"type":"string"},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}},"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug"]},"Pipeline-read":{"type":"object","properties":{"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","runtime","autoload"]},"Pipeline.AddAfterPipelineStepCommand-read":{"type":"object"},"Pipeline.AddAfterPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddAfterPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddAfterPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddBeforePipelineStepCommand-read":{"type":"object"},"Pipeline.AddBeforePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddBeforePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddBeforePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommand-read":{"type":"object"},"Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineStepProbCommandInput":{"type":"object","properties":{"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"probe":{"$ref":"#\/components\/schemas\/Probe"}}},"Pipeline.AddPipelineStepProbCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"probe":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}},"Pipeline.AddPipelineStepProbeCommand-read":{"type":"object"},"Pipeline.AddPipelineStepProbeCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AppendPipelineStepCommand-read":{"type":"object"},"Pipeline.AppendPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AppendPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AppendPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.CompilePipelineCommand-read":{"type":"object"},"Pipeline.CompilePipelineCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.CompilePipelineCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Pipeline.CompilePipelineCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Pipeline.DeclarePipelineCommand-read":{"type":"object"},"Pipeline.DeclarePipelineCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.DeclarePipelineCommandInput":{"type":"object","properties":{"label":{"type":"string"},"code":{"type":"string"},"workspace":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string","nullable":true},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput"}}}},"Pipeline.DeclarePipelineCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"label":{"type":"string"},"code":{"type":"string"},"workspace":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string","nullable":true},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput.jsonld"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput.jsonld"}}}},"Pipeline.MoveAfterPipelineStepCommand-read":{"type":"object"},"Pipeline.MoveAfterPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommand-read":{"type":"object"},"Pipeline.MoveBeforePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"}}},"Pipeline.RemovePipelineStepProbeCommand-read":{"type":"object"},"Pipeline.RemovePipelineStepProbeCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReorderPipelineStepsCommand-read":{"type":"object"},"Pipeline.ReorderPipelineStepsCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReorderPipelineStepsCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReorderPipelineStepsCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReplacePipelineStepCommand-read":{"type":"object"},"Pipeline.ReplacePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReplacePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"former":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.ReplacePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"former":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","runtime","autoload"]},"PipelineCompilation":{"type":"object","required":["id","pipeline"],"properties":{"id":{"type":"string","format":"uuid"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"pipeline":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"PipelineCompilation.jsonld":{"type":"object","required":["id","pipeline"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"pipeline":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"PipelineId":{"type":"object"},"PipelineId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"PipelineStep":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","order","label","pipeline","configuration"]},"PipelineStep.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","order","label","pipeline","configuration"]},"PipelineStepProbe":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","order","label","step"]},"PipelineStepProbe.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","order","label","step"]},"Probe":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"}}},"Probe.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"}}},"ReferralCode-referral-code.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"user":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"referralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ReferralCode-referral-code.write":{"type":"object","properties":{"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralCode.jsonld-referral-code.read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"user":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"referralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ReferralCode.jsonld-referral-code.write":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralRequest-referral-request.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"creationDate":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"referralCode":{"type":"string","format":"iri-reference","nullable":true},"approver":{"type":"string","format":"iri-reference","nullable":true},"status":{"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"ReferralRequest.ReferralRequestInput":{"type":"object","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.ReferralRequestInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.jsonld-referral-request.read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"creationDate":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"referralCode":{"type":"string","format":"iri-reference","nullable":true},"approver":{"type":"string","format":"iri-reference","nullable":true},"status":{"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"Schedule":{"type":"object","required":["id","owner","workspace","organization"],"properties":{"id":{"type":"string","format":"uuid"},"type":{"default":"once","example":"once","type":"string"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"recurrences":{"type":"integer","nullable":true},"executions":{"type":"array","items":{"type":"string","format":"iri-reference"}},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"}}},"Schedule.DeclarePipelineScheduleImmediateCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleImmediateCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleImmediateCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Schedule.DeclarePipelineScheduleImmediateCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Schedule.DeclarePipelineScheduleOnceCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"date":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleOnceCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"date":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleOnceCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"date":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleOnceCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"date":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleTimesCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleTimesCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleTimesCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"}}},"Schedule.DeclarePipelineScheduleTimesCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"}}},"Schedule.DeclarePipelineScheduleUntilCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleUntilCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleUntilCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleUntilCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"}}},"Schedule.jsonld":{"type":"object","required":["id","owner","workspace","organization"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"type":{"default":"once","example":"once","type":"string"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"recurrences":{"type":"integer","nullable":true},"executions":{"type":"array","items":{"type":"string","format":"iri-reference"}},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"}}},"ScheduleId":{"type":"object"},"ScheduleId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Secret":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Secret.ConfigMapInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"configs":{"$ref":"#\/components\/schemas\/ConfigMapValueInput"}}},"Secret.ConfigMapInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"configs":{"$ref":"#\/components\/schemas\/ConfigMapValueInput.jsonld"}}},"Secret.SecretInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"secrets":{"$ref":"#\/components\/schemas\/SecretValueInput"}}},"Secret.SecretInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"secrets":{"$ref":"#\/components\/schemas\/SecretValueInput.jsonld"}}},"Secret.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"SecretValueInput":{"type":"object","properties":{"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"SecretValueInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"StepInput":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"},"config":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"StepInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"config":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Traversable":{"type":"object"},"Traversable.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"UpdateList":{"type":"object","properties":{"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"UpdateList.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"User":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"enabled":{"type":"boolean"},"roles":{"type":"array","items":{"type":"string"}},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"organization":{"type":"string","format":"iri-reference"},"additionalOrganizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}},"currentWorkspace":{"type":"string","format":"iri-reference","nullable":true},"referralCodes":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"acceptedReferralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"User.UserChangePasswordInput":{"type":"object","properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"},"confirmPassword":{"type":"string"}}},"User.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"enabled":{"type":"boolean"},"roles":{"type":"array","items":{"type":"string"}},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"organization":{"type":"string","format":"iri-reference"},"additionalOrganizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}},"currentWorkspace":{"type":"string","format":"iri-reference","nullable":true},"referralCodes":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"acceptedReferralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"UserAuthorization":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"resource":{"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["user","workspace","organization","resource","authorizations"]},"UserAuthorization.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"resource":{"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["user","workspace","organization","resource","authorizations"]},"UserId":{"type":"object"},"UserId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Variable":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference"},"name":{"type":"string"}}},"Variable.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference"},"name":{"type":"string"}}},"VariableFromConfigMap":{"type":"object","properties":{"configMap":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromConfigMap.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"configMap":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret":{"type":"object","properties":{"secret":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"secret":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"Workflow-read":{"type":"object","required":["id","code","label"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}},"Workflow.jsonld-read":{"type":"object","required":["id","code","label"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}}}},"WorkflowJob-read":{"type":"object","required":["workflow"],"properties":{"workflow":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Workflow-read"}]},"pipeline":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline-read"}]},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction-read"}]}}},"WorkflowJob.jsonld-read":{"type":"object","required":["workflow"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"workflow":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}]},"pipeline":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld-read"}]},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld-read"}]}}},"WorkflowJobAction":{"type":"object","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction.jsonld":{"type":"object","required":["job","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction.jsonld-read":{"type":"object","required":["id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"}}},"WorkflowJobPipeline":{"type":"object","required":["job","id","code","label","runtimeType","runtime","autoload"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline-read":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld":{"type":"object","required":["job","id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld-read":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Workspace":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"name":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","organization"]},"Workspace.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"name":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","organization"]},"ForgotPassword:reset":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}},"ForgotPassword:validate":{"type":"object"},"ForgotPassword:request":{"type":"object","required":["email"],"properties":{"email":{"type":"string"}}},"Token":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials":{"type":"object","properties":{"username":{"type":"string","example":"johndoe"},"password":{"type":"string","example":"password"},"workspace":{"type":"string","example":"password"}}},"Token:update":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials:update":{"type":"object","properties":{"workspace":{"type":"string","example":"b56594c3-4d59-4a4a-93b4-3f44b0d785b7"}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"apiKey":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"}}},"security":[{"apiKey":[]}],"tags":[]} \ No newline at end of file +{"openapi":"3.0.3","info":{"title":"Gyroscops API","description":"","version":"1.0.0"},"servers":[{"url":"\/","description":""}],"paths":{"\/authentication\/forgot-password\/":{"ref":"ForgotPassword","post":{"operationId":"postForgotPassword","tags":["Forgot password"],"responses":{"204":{"description":"Valid email address, no matter if user exists or not"},"400":{"description":"Missing email parameter or invalid format"}},"summary":"Provides a token through email in order to reset a user's password","description":"","parameters":[],"requestBody":{"description":"Request a new password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:request"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/forgot-password\/{token}":{"ref":"ForgotPassword","get":{"operationId":"getForgotPassword","tags":["Forgot password"],"responses":{"200":{"description":"Authenticated user","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:validate"}}}},"404":{"description":"Token not found or expired"}},"summary":"Validates the token sent by email to reset the user's password","description":"","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"deprecated":false},"post":{"operationId":"postForgotPasswordToken","tags":["Forgot password"],"responses":{"204":{"description":"Email address format valid, no matter if user exists or not"},"400":{"description":"Missing password parameter"},"404":{"description":"Token not found"}},"summary":"Resets user password from token sent by email","description":"","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Reset password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:reset"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/me":{"get":{"operationId":"meUserCollection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Get the current user","description":"Get the current user","parameters":[],"deprecated":false},"parameters":[]},"\/authentication\/offer\/{id}":{"get":{"operationId":"getOfferItem","tags":["Offer"],"responses":{"200":{"description":"Offer resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Offer resource.","description":"Retrieves a Offer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putOfferItem","tags":["Offer"],"responses":{"200":{"description":"Offer resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}},"links":{"GetOfferItem":{"operationId":"getOfferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/offer\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Offer resource.","description":"Replaces the Offer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Offer resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteOfferItem","tags":["Offer"],"responses":{"204":{"description":"Offer resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Offer resource.","description":"Removes the Offer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchOfferItem","tags":["Offer"],"responses":{"200":{"description":"Offer resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}},"links":{"GetOfferItem":{"operationId":"getOfferItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/offer\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Offer resource.","description":"Updates the Offer resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Offer resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/offer\/{id}\/options":{"get":{"operationId":"api_offers_options_get_subresourceOfferSubresource","tags":["Option","Offer"],"responses":{"200":{"description":"Offer resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Option.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Option"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Option"}}}}}},"summary":"Retrieves a Offer resource.","description":"Retrieves a Offer resource.","parameters":[{"name":"id","in":"path","description":"Offer identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/offers":{"get":{"operationId":"getOfferCollection","tags":["Offer"],"responses":{"200":{"description":"Offer collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Offer"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Offer"}}}}}},"summary":"Retrieves the collection of Offer resources.","description":"Retrieves the collection of Offer resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}":{"get":{"operationId":"getOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Organization resource.","description":"Replaces the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteOrganizationItem","tags":["Organization"],"responses":{"204":{"description":"Organization resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Organization resource.","description":"Removes the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Organization resource.","description":"Updates the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Organization resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/authorizations":{"get":{"operationId":"api_organizations_authorizations_get_subresourceOrganizationSubresource","tags":["UserAuthorization","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/external-collaborators":{"get":{"operationId":"api_organizations_external_collaborators_get_subresourceOrganizationSubresource","tags":["User","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/users":{"get":{"operationId":"api_organizations_users_get_subresourceOrganizationSubresource","tags":["User","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organization\/{id}\/workspaces":{"get":{"operationId":"api_organizations_workspaces_get_subresourceOrganizationSubresource","tags":["Workspace","Organization"],"responses":{"200":{"description":"Organization resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}}}}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Organization identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/organizations":{"get":{"operationId":"getOrganizationCollection","tags":["Organization"],"responses":{"200":{"description":"Organization collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Organization"}}}}}},"summary":"Retrieves the collection of Organization resources.","description":"Retrieves the collection of Organization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postOrganizationCollection","tags":["Organization"],"responses":{"201":{"description":"Organization resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/organization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Organization resource.","description":"Creates a Organization resource.","parameters":[],"requestBody":{"description":"The new Organization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/subscription\/{id}":{"get":{"operationId":"getSubscriptionItem","tags":["Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Subscription resource.","description":"Retrieves a Subscription resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putSubscriptionItem","tags":["Subscription"],"responses":{"200":{"description":"Subscription resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"links":{"GetSubscriptionItem":{"operationId":"getSubscriptionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Subscription resource.","description":"Replaces the Subscription resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"required":true},"deprecated":false},"post":{"operationId":"postSubscriptionCollection","tags":["Subscription"],"responses":{"201":{"description":"Subscription resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"links":{"GetSubscriptionItem":{"operationId":"getSubscriptionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Subscription resource.","description":"Creates a Subscription resource.","parameters":[],"requestBody":{"description":"The new Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteSubscriptionItem","tags":["Subscription"],"responses":{"204":{"description":"Subscription resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Subscription resource.","description":"Removes the Subscription resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchSubscriptionItem","tags":["Subscription"],"responses":{"200":{"description":"Subscription resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"links":{"GetSubscriptionItem":{"operationId":"getSubscriptionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/subscription\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Subscription resource.","description":"Updates the Subscription resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Subscription resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Subscription"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/subscriptions":{"get":{"operationId":"getSubscriptionCollection","tags":["Subscription"],"responses":{"200":{"description":"Subscription collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Subscription.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Subscription"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Subscription"}}}}}},"summary":"Retrieves the collection of Subscription resources.","description":"Retrieves the collection of Subscription resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/subscriptions\/{id}\/offer":{"get":{"operationId":"api_subscriptions_offer_get_subresourceSubscriptionSubresource","tags":["Offer","Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Offer.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Offer"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Offer"}}}}},"summary":"Retrieves a Subscription resource.","description":"Retrieves a Subscription resource.","parameters":[{"name":"id","in":"path","description":"Subscription identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/subscriptions\/{id}\/options":{"get":{"operationId":"api_subscriptions_options_get_subresourceSubscriptionSubresource","tags":["SubscriptionOption","Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOption.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOption"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SubscriptionOption"}}}}}},"summary":"Retrieves a Subscription resource.","description":"Retrieves a Subscription resource.","parameters":[{"name":"id","in":"path","description":"Subscription identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/subscriptions\/{id}\/organization":{"get":{"operationId":"api_subscriptions_organization_get_subresourceSubscriptionSubresource","tags":["Organization","Subscription"],"responses":{"200":{"description":"Subscription resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Subscription resource.","description":"Retrieves a Subscription resource.","parameters":[{"name":"id","in":"path","description":"Subscription identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/token":{"ref":"JWT Token","put":{"tags":["Token"],"responses":{"200":{"description":"Update JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token:update"}}}}},"summary":"Update scope of token","description":"","parameters":[],"requestBody":{"description":"Update JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials:update"}}},"required":false},"deprecated":false},"post":{"operationId":"postCredentialsItem","tags":["Token"],"responses":{"200":{"description":"Get JWT token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Token"}}}}},"summary":"Get JWT token to login.","description":"","parameters":[],"requestBody":{"description":"Generate new JWT Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials"}}},"required":false},"deprecated":false},"parameters":[]},"\/authentication\/user-authorization\/{id}":{"get":{"operationId":"getUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a UserAuthorization resource.","description":"Retrieves a UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the UserAuthorization resource.","description":"Replaces the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"204":{"description":"UserAuthorization resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the UserAuthorization resource.","description":"Removes the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchUserAuthorizationItem","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the UserAuthorization resource.","description":"Updates the UserAuthorization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserAuthorization resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user-authorizations":{"get":{"operationId":"getUserAuthorizationCollection","tags":["UserAuthorization"],"responses":{"200":{"description":"UserAuthorization collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves the collection of UserAuthorization resources.","description":"Retrieves the collection of UserAuthorization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postUserAuthorizationCollection","tags":["UserAuthorization"],"responses":{"201":{"description":"UserAuthorization resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"links":{"GetUserAuthorizationItem":{"operationId":"getUserAuthorizationItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user-authorization\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a UserAuthorization resource.","description":"Creates a UserAuthorization resource.","parameters":[],"requestBody":{"description":"The new UserAuthorization resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}":{"get":{"operationId":"getUserItem","tags":["User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the User resource.","description":"Replaces the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteUserItem","tags":["User"],"responses":{"204":{"description":"User resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the User resource.","description":"Removes the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}\/authorizations":{"get":{"operationId":"api_users_authorizations_get_subresourceUserSubresource","tags":["UserAuthorization","User"],"responses":{"200":{"description":"User resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/user\/{id}\/change-password":{"patch":{"operationId":"change_passwordUserItem","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User.UserChangePasswordInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/users":{"get":{"operationId":"getUserCollection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves the collection of User resources.","description":"Retrieves the collection of User resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postUserCollection","tags":["User"],"responses":{"201":{"description":"User resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"links":{"GetUserItem":{"operationId":"getUserItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/user\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a User resource.","description":"Creates a User resource.","parameters":[],"requestBody":{"description":"The new User resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}":{"get":{"operationId":"getWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Replaces the Workspace resource.","description":"Replaces the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteWorkspaceItem","tags":["Workspace"],"responses":{"204":{"description":"Workspace resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Workspace resource.","description":"Removes the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchWorkspaceItem","tags":["Workspace"],"responses":{"200":{"description":"Workspace resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Updates the Workspace resource.","description":"Updates the Workspace resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Workspace resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}\/authorizations":{"get":{"operationId":"api_workspaces_authorizations_get_subresourceWorkspaceSubresource","tags":["UserAuthorization","Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UserAuthorization"}}}}}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Workspace identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/workspace\/{id}\/users":{"get":{"operationId":"api_workspaces_users_get_subresourceWorkspaceSubresource","tags":["User","Workspace"],"responses":{"200":{"description":"Workspace resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/User.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User"}}}}}},"summary":"Retrieves a Workspace resource.","description":"Retrieves a Workspace resource.","parameters":[{"name":"id","in":"path","description":"Workspace identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/authentication\/workspaces":{"get":{"operationId":"getWorkspaceCollection","tags":["Workspace"],"responses":{"200":{"description":"Workspace collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workspace"}}}}}},"summary":"Retrieves the collection of Workspace resources.","description":"Retrieves the collection of Workspace resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postWorkspaceCollection","tags":["Workspace"],"responses":{"201":{"description":"Workspace resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"links":{"GetWorkspaceItem":{"operationId":"getWorkspaceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/authentication\/workspace\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Workspace resource.","description":"Creates a Workspace resource.","parameters":[],"requestBody":{"description":"The new Workspace resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/config-map":{"post":{"operationId":"postConfigMapCollection","tags":["ConfigMap"],"responses":{"201":{"description":"ConfigMap resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap"}}},"links":{"GetConfigMapItem":{"operationId":"getConfigMapItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/config-map\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ConfigMap resource.","description":"Creates a ConfigMap resource.","parameters":[],"requestBody":{"description":"The new ConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.ConfigMapInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.ConfigMapInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.ConfigMapInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/config-map\/{id}":{"get":{"operationId":"getConfigMapItem","tags":["ConfigMap"],"responses":{"200":{"description":"ConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConfigMap"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ConfigMap resource.","description":"Retrieves a ConfigMap resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/config-map\/{id}\/put\/":{"put":{"operationId":"add_valueConfigMapCollection","tags":["ConfigMap"],"responses":{"200":{"description":"ConfigMap resource updated","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap"}}}},"links":{"GetConfigMapItem":{"operationId":"getConfigMapItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/config-map\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a new Config Map value to the Config Map storage","description":"Adds a new Config Map value to the Config Map storage","parameters":[{"name":"id","in":"path","description":"Config Map resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","patternProperties":{"^[a-z_][a-z0-9_]+$":{"type":"string"}}},"example":{"url":"https:\/\/api.example.com","access_token":"AAAAAA....AAAAAAA"}}},"required":false},"deprecated":false},"parameters":[]},"\/environment\/config-maps":{"get":{"operationId":"getConfigMapCollection","tags":["ConfigMap"],"responses":{"200":{"description":"ConfigMap collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConfigMap"}}}}}},"summary":"Retrieves the collection of ConfigMap resources.","description":"Retrieves the collection of ConfigMap resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/environment":{"post":{"operationId":"postEnvironmentCollection","tags":["Environment"],"responses":{"201":{"description":"Environment resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}},"links":{"GetEnvironmentItem":{"operationId":"getEnvironmentItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/environment\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Environment resource.","description":"Creates a Environment resource.","parameters":[],"requestBody":{"description":"The new Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/environment\/{id}":{"get":{"operationId":"getEnvironmentItem","tags":["Environment"],"responses":{"200":{"description":"Environment resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Environment"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Environment"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Environment resource.","description":"Retrieves a Environment resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/environments":{"get":{"operationId":"getEnvironmentCollection","tags":["Environment"],"responses":{"200":{"description":"Environment collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Environment"}}}}}},"summary":"Retrieves the collection of Environment resources.","description":"Retrieves the collection of Environment resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/secret":{"post":{"operationId":"postSecretCollection","tags":["Secret"],"responses":{"201":{"description":"Secret resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret"}}},"links":{"GetSecretItem":{"operationId":"getSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Secret resource.","description":"Creates a Secret resource.","parameters":[],"requestBody":{"description":"The new Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret.SecretInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/secret\/{id}":{"get":{"operationId":"getSecretItem","tags":["Secret"],"responses":{"200":{"description":"Secret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Secret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Secret"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Secret resource.","description":"Retrieves a Secret resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/secret\/{id}\/put\/":{"put":{"operationId":"add_valueSecretCollection","tags":["Secret"],"responses":{"200":{"description":"Secret resource updated","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}}},"links":{"GetSecretItem":{"operationId":"getSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a new Secret value to the Secret storage","description":"Adds a new Secret value to the Secret storage","parameters":[{"name":"id","in":"path","description":"Secret resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","patternProperties":{"^[a-z_][a-z0-9_]+$":{"type":"string"}}},"example":{"url":"https:\/\/api.example.com","access_token":"AAAAAA....AAAAAAA"}}},"required":false},"deprecated":false},"parameters":[]},"\/environment\/secrets":{"get":{"operationId":"getSecretCollection","tags":["Secret"],"responses":{"200":{"description":"Secret collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Secret"}}}}}},"summary":"Retrieves the collection of Secret resources.","description":"Retrieves the collection of Secret resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-map":{"post":{"operationId":"postVariableFromConfigMapCollection","tags":["VariableFromConfigMap"],"responses":{"201":{"description":"VariableFromConfigMap resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"links":{"GetVariableFromConfigMapItem":{"operationId":"getVariableFromConfigMapItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/variable-from-config-map\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a VariableFromConfigMap resource.","description":"Creates a VariableFromConfigMap resource.","parameters":[],"requestBody":{"description":"The new VariableFromConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-map\/{id}":{"get":{"operationId":"getVariableFromConfigMapItem","tags":["VariableFromConfigMap"],"responses":{"200":{"description":"VariableFromConfigMap resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromConfigMap resource.","description":"Retrieves a VariableFromConfigMap resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-config-maps":{"get":{"operationId":"getVariableFromConfigMapCollection","tags":["VariableFromConfigMap"],"responses":{"200":{"description":"VariableFromConfigMap collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromConfigMap"}}}}}},"summary":"Retrieves the collection of VariableFromConfigMap resources.","description":"Retrieves the collection of VariableFromConfigMap resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-secret":{"post":{"operationId":"postVariableFromSecretCollection","tags":["VariableFromSecret"],"responses":{"201":{"description":"VariableFromSecret resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"links":{"GetVariableFromSecretItem":{"operationId":"getVariableFromSecretItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/environment\/variable-from-secret\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a VariableFromSecret resource.","description":"Creates a VariableFromSecret resource.","parameters":[],"requestBody":{"description":"The new VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"required":true},"deprecated":false},"parameters":[]},"\/environment\/variable-from-secret\/{id}":{"get":{"operationId":"getVariableFromSecretItem","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a VariableFromSecret resource.","description":"Retrieves a VariableFromSecret resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/environment\/variable-from-secrets":{"get":{"operationId":"getVariableFromSecretCollection","tags":["VariableFromSecret"],"responses":{"200":{"description":"VariableFromSecret collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/VariableFromSecret"}}}}}},"summary":"Retrieves the collection of VariableFromSecret resources.","description":"Retrieves the collection of VariableFromSecret resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instance":{"post":{"operationId":"postAkeneoInstanceCollection","tags":["AkeneoInstance"],"responses":{"201":{"description":"AkeneoInstance resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}},"links":{"GetAkeneoInstanceItem":{"operationId":"getAkeneoInstanceItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/gateway\/akeneo\/instance\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a AkeneoInstance resource.","description":"Creates a AkeneoInstance resource.","parameters":[],"requestBody":{"description":"The new AkeneoInstance resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.AkeneoInstanceInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.AkeneoInstanceInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.AkeneoInstanceInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instance\/from-url":{"get":{"operationId":"get_akeneo_instance_by_pim_urlAkeneoInstanceCollection","tags":["AkeneoInstance"],"responses":{"200":{"description":"AkeneoInstance collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}}}}},"summary":"Check if an organization exists in the database","description":"Check if an organization exists in the database","parameters":[{"name":"url","in":"query","description":"","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instance\/oauth-state":{"get":{"operationId":"get_akeneo_instance_oauthAkeneoInstanceCollection","tags":["AkeneoInstance"],"responses":{"200":{"description":"AkeneoInstance collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}}}}},"summary":"Check if an organization exists in the database","description":"Check if an organization exists in the database","parameters":[{"name":"url","in":"query","description":"","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instance\/{id}":{"get":{"operationId":"getAkeneoInstanceItem","tags":["AkeneoInstance"],"responses":{"200":{"description":"AkeneoInstance resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a AkeneoInstance resource.","description":"Retrieves a AkeneoInstance resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/instances":{"get":{"operationId":"getAkeneoInstanceCollection","tags":["AkeneoInstance"],"responses":{"200":{"description":"AkeneoInstance collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoInstance"}}}}}},"summary":"Retrieves the collection of AkeneoInstance resources.","description":"Retrieves the collection of AkeneoInstance resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/linked-account":{"post":{"operationId":"postAkeneoLinkedAccountCollection","tags":["AkeneoLinkedAccount"],"responses":{"201":{"description":"AkeneoLinkedAccount resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}},"links":{"GetAkeneoLinkedAccountItem":{"operationId":"getAkeneoLinkedAccountItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/gateway\/akeneo\/linked-account\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a AkeneoLinkedAccount resource.","description":"Creates a AkeneoLinkedAccount resource.","parameters":[],"requestBody":{"description":"The new AkeneoLinkedAccount resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.AkeneoLinkedAccountsInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.AkeneoLinkedAccountsInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.AkeneoLinkedAccountsInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/linked-account\/{akeneoUserId}":{"get":{"operationId":"get_akeneo_linked_accountAkeneoLinkedAccountCollection","tags":["AkeneoLinkedAccount"],"responses":{"200":{"description":"AkeneoLinkedAccount collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}}}}},"summary":"Check if an akeneo user exists in the database","description":"Check if an akeneo user exists in the database","parameters":[{"name":"akeneoUserId","in":"path","description":"","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/linked-account\/{id}":{"get":{"operationId":"getAkeneoLinkedAccountItem","tags":["AkeneoLinkedAccount"],"responses":{"200":{"description":"AkeneoLinkedAccount resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a AkeneoLinkedAccount resource.","description":"Retrieves a AkeneoLinkedAccount resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/linked-accounts":{"get":{"operationId":"getAkeneoLinkedAccountCollection","tags":["AkeneoLinkedAccount"],"responses":{"200":{"description":"AkeneoLinkedAccount collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoLinkedAccount"}}}}}},"summary":"Retrieves the collection of AkeneoLinkedAccount resources.","description":"Retrieves the collection of AkeneoLinkedAccount resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/oauth\/state":{"post":{"operationId":"postAkeneoOauthTokenCollection","tags":["AkeneoOauthToken"],"responses":{"201":{"description":"AkeneoOauthToken resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateOutput.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateOutput-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateOutput-read"}}},"links":{"GetAkeneoOauthTokenItem":{"operationId":"getAkeneoOauthTokenItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/gateway\/akeneo\/oauth\/state\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Generate an Akeneo OAuth state","description":"Generate an Akeneo OAuth state","parameters":[],"requestBody":{"description":"The new AkeneoOauthToken resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthStateInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/oauth\/state\/{id}":{"get":{"operationId":"getAkeneoOauthTokenItem","tags":["AkeneoOauthToken"],"responses":{"200":{"description":"AkeneoOauthToken resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/AkeneoOauthToken-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a AkeneoOauthToken resource.","description":"Retrieves a AkeneoOauthToken resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/oauth\/states":{"get":{"operationId":"getAkeneoOauthTokenCollection","tags":["AkeneoOauthToken"],"responses":{"200":{"description":"AkeneoOauthToken collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken-read"}}}}}},"summary":"Retrieves the collection of AkeneoOauthToken resources.","description":"Retrieves the collection of AkeneoOauthToken resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/gateway\/akeneo\/oauth\/token":{"put":{"operationId":"put_akeneo_oauth_tokenAkeneoOauthTokenCollection","tags":["AkeneoOauthToken"],"responses":{"200":{"description":"AkeneoOauthToken resource updated","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenOutput.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenOutput-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenOutput-read"}}}},"links":{"GetAkeneoOauthTokenItem":{"operationId":"getAkeneoOauthTokenItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/gateway\/akeneo\/oauth\/state\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Generate an Akeneo OAuth token","description":"Generate an Akeneo OAuth token","parameters":[],"requestBody":{"description":"The updated AkeneoOauthToken resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenInput.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenInput"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AkeneoOauthToken.OauthTokenInput"}}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/code\/{id}":{"get":{"operationId":"getReferralCodeItem","tags":["ReferralCode"],"responses":{"200":{"description":"ReferralCode resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ReferralCode resource.","description":"Retrieves a ReferralCode resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteReferralCodeItem","tags":["ReferralCode"],"responses":{"204":{"description":"ReferralCode resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the ReferralCode resource.","description":"Removes the ReferralCode resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/codes":{"get":{"operationId":"getReferralCodeCollection","tags":["ReferralCode"],"responses":{"200":{"description":"ReferralCode collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}}}}},"summary":"Retrieves the collection of ReferralCode resources.","description":"Retrieves the collection of ReferralCode resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postReferralCodeCollection","tags":["ReferralCode"],"responses":{"201":{"description":"ReferralCode resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.read"}}},"links":{"GetReferralCodeItem":{"operationId":"getReferralCodeItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/code\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ReferralCode resource.","description":"Creates a ReferralCode resource.","parameters":[],"requestBody":{"description":"The new ReferralCode resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode.jsonld-referral-code.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralCode-referral-code.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/on-premise-request\/{id}":{"get":{"operationId":"getOnPremiseRequestItem","tags":["OnPremiseRequest"],"responses":{"200":{"description":"OnPremiseRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a OnPremiseRequest resource.","description":"Retrieves a OnPremiseRequest resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/on-premise-requests":{"get":{"operationId":"getOnPremiseRequestCollection","tags":["OnPremiseRequest"],"responses":{"200":{"description":"OnPremiseRequest collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}}}}},"summary":"Retrieves the collection of OnPremiseRequest resources.","description":"Retrieves the collection of OnPremiseRequest resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postOnPremiseRequestCollection","tags":["OnPremiseRequest"],"responses":{"201":{"description":"OnPremiseRequest resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.read"}}},"links":{"GetOnPremiseRequestItem":{"operationId":"getOnPremiseRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/on-premise-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a OnPremiseRequest resource.","description":"Creates a OnPremiseRequest resource.","parameters":[],"requestBody":{"description":"The new OnPremiseRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest.jsonld-on-premise-request.write"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.write"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/OnPremiseRequest-on-premise-request.write"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}":{"get":{"operationId":"getReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ReferralRequest resource.","description":"Retrieves a ReferralRequest resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}\/accept":{"patch":{"operationId":"accept_referral_requestReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Accepts a referral request","description":"Accepts a referral request","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{},"required":false},"deprecated":false},"parameters":[]},"\/referral\/referral-request\/{id}\/reject":{"patch":{"operationId":"reject_referral_requestReferralRequestItem","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest resource updated","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"},"404":{"description":"Resource not found"}},"summary":"Rejects a referral request","description":"Rejects a referral request","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"","content":{},"required":false},"deprecated":false},"parameters":[]},"\/referral\/referral-requests":{"post":{"operationId":"postReferralRequestCollection","tags":["ReferralRequest"],"responses":{"201":{"description":"ReferralRequest resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"links":{"GetReferralRequestItem":{"operationId":"getReferralRequestItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/referral\/referral-request\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a ReferralRequest resource.","description":"Creates a ReferralRequest resource.","parameters":[],"requestBody":{"description":"The new ReferralRequest resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ReferralRequest.ReferralRequestInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/referral\/requests":{"get":{"operationId":"getReferralRequestCollection","tags":["ReferralRequest"],"responses":{"200":{"description":"ReferralRequest collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest.jsonld-referral-request.read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ReferralRequest-referral-request.read"}}}}}},"summary":"Retrieves the collection of ReferralRequest resources.","description":"Retrieves the collection of ReferralRequest resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}":{"get":{"operationId":"getActionItem","tags":["Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Action.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Action-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Action-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/organization":{"get":{"operationId":"api_actions_organization_get_subresourceActionSubresource","tags":["Organization","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/owner":{"get":{"operationId":"api_actions_owner_get_subresourceActionSubresource","tags":["User","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/action\/{id}\/workspace":{"get":{"operationId":"api_actions_workspace_get_subresourceActionSubresource","tags":["Workspace","Action"],"responses":{"200":{"description":"Action resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Action resource.","description":"Retrieves a Action resource.","parameters":[{"name":"id","in":"path","description":"Action identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/actions":{"get":{"operationId":"getActionCollection","tags":["Action"],"responses":{"200":{"description":"Action collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Action-read"}}}}}},"summary":"Retrieves the collection of Action resources.","description":"Retrieves the collection of Action resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-job\/{id}":{"get":{"operationId":"getExecutionPipelineJobItem","tags":["ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipelineJob resource.","description":"Retrieves a ExecutionPipelineJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-job\/{id}\/steps":{"get":{"operationId":"api_execution_pipeline_jobs_steps_get_subresourceExecutionPipelineJobSubresource","tags":["ExecutionPipelineStep","ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionPipelineJob resource.","description":"Retrieves a ExecutionPipelineJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionPipelineJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution-pipeline-jobs":{"get":{"operationId":"getExecutionPipelineJobCollection","tags":["ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionPipelineJob collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}}},"summary":"Retrieves the collection of ExecutionPipelineJob resources.","description":"Retrieves the collection of ExecutionPipelineJob resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/action\/{id}":{"get":{"operationId":"getExecutionActionItem","tags":["ExecutionAction"],"responses":{"200":{"description":"ExecutionAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionAction resource.","description":"Retrieves a ExecutionAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-pipeline\/{id}\/steps":{"get":{"operationId":"api_execution_pipelines_steps_get_subresourceExecutionPipelineSubresource","tags":["ExecutionPipelineStep","ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionPipeline resource.","description":"Retrieves a ExecutionPipeline resource.","parameters":[{"name":"id","in":"path","description":"ExecutionPipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-pipelines":{"get":{"operationId":"getExecutionPipelineCollection","tags":["ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}}}},"summary":"Retrieves the collection of ExecutionPipeline resources.","description":"Retrieves the collection of ExecutionPipeline resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/job\/{job}\/action":{"get":{"operationId":"api_execution_workflows_jobs_action_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionWorkflowJobAction","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"jobs","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/job\/{job}\/pipeline":{"get":{"operationId":"api_execution_workflows_jobs_pipeline_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionPipelineJob","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"jobs","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflow\/{id}\/jobs":{"get":{"operationId":"api_execution_workflows_jobs_get_subresourceExecutionWorkflowSubresource","tags":["ExecutionWorkflowJob","ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/execution-workflows":{"get":{"operationId":"getExecutionWorkflowCollection","tags":["ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}}}},"summary":"Retrieves the collection of ExecutionWorkflow resources.","description":"Retrieves the collection of ExecutionWorkflow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/pipeline\/step\/{id}":{"get":{"operationId":"getExecutionPipelineStepItem","tags":["ExecutionPipelineStep"],"responses":{"200":{"description":"ExecutionPipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipelineStep resource.","description":"Retrieves a ExecutionPipelineStep resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/pipeline\/{id}":{"get":{"operationId":"getExecutionPipelineItem","tags":["ExecutionPipeline"],"responses":{"200":{"description":"ExecutionPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionPipeline resource.","description":"Retrieves a ExecutionPipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/action\/{id}":{"get":{"operationId":"getExecutionWorkflowJobActionItem","tags":["ExecutionWorkflowJobAction"],"responses":{"200":{"description":"ExecutionWorkflowJobAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflowJobAction resource.","description":"Retrieves a ExecutionWorkflowJobAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/action":{"get":{"operationId":"api_execution_workflow_jobs_action_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionWorkflowJobAction","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJobAction"}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/pipeline":{"get":{"operationId":"api_execution_workflow_jobs_pipeline_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionPipelineJob","ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipelineJob"}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-job\/{id}\/pipeline\/steps":{"get":{"operationId":"api_execution_workflow_jobs_pipeline_steps_get_subresourceExecutionWorkflowJobSubresource","tags":["ExecutionPipelineStep","ExecutionPipelineJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionPipelineStep"}}}}}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"ExecutionWorkflowJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"pipeline","in":"path","description":"ExecutionPipelineJob identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/execution-workflow-jobs":{"get":{"operationId":"getExecutionWorkflowJobCollection","tags":["ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves the collection of ExecutionWorkflowJob resources.","description":"Retrieves the collection of ExecutionWorkflowJob resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/job\/{id}":{"get":{"operationId":"getExecutionWorkflowJobItem","tags":["ExecutionWorkflowJob"],"responses":{"200":{"description":"ExecutionWorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflowJob resource.","description":"Retrieves a ExecutionWorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/workflow\/{id}":{"get":{"operationId":"getExecutionWorkflowItem","tags":["ExecutionWorkflow"],"responses":{"200":{"description":"ExecutionWorkflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ExecutionWorkflow resource.","description":"Retrieves a ExecutionWorkflow resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}":{"get":{"operationId":"getExecutionItem","tags":["Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/action":{"get":{"operationId":"api_executions_action_get_subresourceExecutionSubresource","tags":["ExecutionAction","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionAction"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/organization":{"get":{"operationId":"api_executions_organization_get_subresourceExecutionSubresource","tags":["Organization","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/owner":{"get":{"operationId":"api_executions_owner_get_subresourceExecutionSubresource","tags":["User","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/pipeline":{"get":{"operationId":"api_executions_pipeline_get_subresourceExecutionSubresource","tags":["ExecutionPipeline","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionPipeline"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workflow":{"get":{"operationId":"api_executions_workflow_get_subresourceExecutionSubresource","tags":["ExecutionWorkflow","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ExecutionWorkflow"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workflow\/jobs":{"get":{"operationId":"api_executions_workflow_jobs_get_subresourceExecutionSubresource","tags":["ExecutionWorkflowJob","ExecutionWorkflow"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ExecutionWorkflowJob"}}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"ExecutionWorkflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/execution\/{id}\/workspace":{"get":{"operationId":"api_executions_workspace_get_subresourceExecutionSubresource","tags":["Workspace","Execution"],"responses":{"200":{"description":"Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Execution resource.","description":"Retrieves a Execution resource.","parameters":[{"name":"id","in":"path","description":"Execution identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/executions":{"get":{"operationId":"getExecutionCollection","tags":["Execution"],"responses":{"200":{"description":"Execution collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}}}}},"summary":"Retrieves the collection of Execution resources.","description":"Retrieves the collection of Execution resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/executions\/declare":{"post":{"operationId":"declare_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a pipeline execution","description":"Declares a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.DeclarePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/finish":{"post":{"operationId":"finish_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Finishes a pipeline execution","description":"Finishes a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.FinishPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/interrupt":{"post":{"operationId":"interrupt_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Interrupts a pipeline execution","description":"Interrupts a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.InterruptPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/resume":{"post":{"operationId":"resume_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Resumes a pipeline execution","description":"Resumes a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.ResumePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/start":{"post":{"operationId":"start_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Starts a pipeline execution","description":"Starts a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.StartPipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/terminate":{"post":{"operationId":"terminate_executionExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Terminates a pipeline execution","description":"Terminates a pipeline execution","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.TerminatePipelineExecutionCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/executions\/update-state":{"post":{"operationId":"update_execution_stateExecutionCollection","tags":["Execution"],"responses":{"202":{"description":"Execution resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommand-read"}}},"links":{"GetExecutionItem":{"operationId":"getExecutionItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/execution\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Updates a pipeline execution state","description":"Updates a pipeline execution state","parameters":[],"requestBody":{"description":"The new Execution resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Execution.UpdatePipelineExecutionStateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/organization":{"get":{"operationId":"api_pipeline_compilations_organization_get_subresourcePipelineCompilationSubresource","tags":["Organization","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/user":{"get":{"operationId":"api_pipeline_compilations_user_get_subresourcePipelineCompilationSubresource","tags":["User","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-compilation\/{id}\/workspace":{"get":{"operationId":"api_pipeline_compilations_workspace_get_subresourcePipelineCompilationSubresource","tags":["Workspace","PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"PipelineCompilation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline-step-probes":{"get":{"operationId":"getPipelineStepProbeCollection","tags":["PipelineStepProbe"],"responses":{"200":{"description":"PipelineStepProbe collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}}}},"summary":"Retrieves the collection of PipelineStepProbe resources.","description":"Retrieves the collection of PipelineStepProbe resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/probe\/{id}":{"get":{"operationId":"getPipelineStepProbeItem","tags":["PipelineStepProbe"],"responses":{"200":{"description":"PipelineStepProbe resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineStepProbe resource.","description":"Retrieves a PipelineStepProbe resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/{id}":{"get":{"operationId":"getPipelineStepItem","tags":["PipelineStep"],"responses":{"200":{"description":"PipelineStep resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineStep"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineStep resource.","description":"Retrieves a PipelineStep resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/step\/{id}\/probes":{"get":{"operationId":"api_pipeline_steps_probes_get_subresourcePipelineStepSubresource","tags":["PipelineStepProbe","PipelineStep"],"responses":{"200":{"description":"PipelineStep resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStepProbe"}}}}}},"summary":"Retrieves a PipelineStep resource.","description":"Retrieves a PipelineStep resource.","parameters":[{"name":"id","in":"path","description":"PipelineStep identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/steps":{"get":{"operationId":"getPipelineStepCollection","tags":["PipelineStep"],"responses":{"200":{"description":"PipelineStep collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineStep"}}}}}},"summary":"Retrieves the collection of PipelineStep resources.","description":"Retrieves the collection of PipelineStep resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}":{"get":{"operationId":"getPipelineItem","tags":["Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"delete_pipelinePipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Deletes a pipeline","description":"Deletes a pipeline","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/compilations":{"get":{"operationId":"api_pipelines_compilations_get_subresourcePipelineSubresource","tags":["PipelineCompilation","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/organization":{"get":{"operationId":"api_pipelines_organization_get_subresourcePipelineSubresource","tags":["Organization","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/owner":{"get":{"operationId":"api_pipelines_owner_get_subresourcePipelineSubresource","tags":["User","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/step\/{code}":{"delete":{"operationId":"delete_pipeline_stepPipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes a step from a pipeline","description":"Removes a step from a pipeline","parameters":[{"name":"code","in":"path","description":"Step resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/step\/{code}\/probes\/{probeCode}\/{probeLabel}":{"delete":{"operationId":"remove_pipeline_step_probePipelineItem","tags":["Pipeline"],"responses":{"204":{"description":"Pipeline resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes a probe from a step","description":"Removes a probe from a step","parameters":[{"name":"code","in":"path","description":"Step resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"probe_code","in":"path","description":"Probe resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"probe_label","in":"path","description":"Probe resource code","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipeline\/{id}\/workspace":{"get":{"operationId":"api_pipelines_workspace_get_subresourcePipelineSubresource","tags":["Workspace","Pipeline"],"responses":{"200":{"description":"Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Pipeline resource.","description":"Retrieves a Pipeline resource.","parameters":[{"name":"id","in":"path","description":"Pipeline identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipelines":{"get":{"operationId":"getPipelineCollection","tags":["Pipeline"],"responses":{"200":{"description":"Pipeline collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}}}},"summary":"Retrieves the collection of Pipeline resources.","description":"Retrieves the collection of Pipeline resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"code","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"code[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"declare_pipelinePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Declares a docker pipeline","description":"Declares a docker pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.DeclarePipelineCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/add-composer":{"post":{"operationId":"add_composer_pipelinePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds PSR4 autoload composer to a pipeline","description":"Adds PSR4 autoload composer to a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineComposerPSR4AutoloadCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/compilation":{"get":{"operationId":"getPipelineCompilationCollection","tags":["PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}}}},"summary":"Retrieves the collection of PipelineCompilation resources.","description":"Retrieves the collection of PipelineCompilation resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/compile":{"post":{"operationId":"pipeline_compilationPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a pipeline compilation","description":"Creates a pipeline compilation","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.CompilePipelineCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/add-after":{"post":{"operationId":"add_after_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a step after another one in a pipeline","description":"Adds a step after another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddAfterPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/add-before":{"post":{"operationId":"add_before_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a step before another one in a pipeline","description":"Adds a step before another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddBeforePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/append":{"post":{"operationId":"append_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Appends a step to a pipeline","description":"Appends a step to a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AppendPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/move-after":{"post":{"operationId":"move_after_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Moves a step after another one in a pipeline","description":"Moves a step after another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveAfterPipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/move-before":{"post":{"operationId":"move_before_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Moves a step before another one in a pipeline","description":"Moves a step before another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.MoveBeforePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/probes":{"post":{"operationId":"add_pipeline_step_probePipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbeCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Adds a probe to a step","description":"Adds a probe to a step","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.AddPipelineStepProbCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/reorder":{"post":{"operationId":"reorder_pipeline_stepsPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Reorganizes the steps of a pipeline according to a given order","description":"Reorganizes the steps of a pipeline according to a given order","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReorderPipelineStepsCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/pipelines\/steps\/replace":{"post":{"operationId":"replace_pipeline_stepPipelineCollection","tags":["Pipeline"],"responses":{"202":{"description":"Pipeline resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommand-read"}}},"links":{"GetPipelineItem":{"operationId":"getPipelineItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/pipeline\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Replaces a step by another one in a pipeline","description":"Replaces a step by another one in a pipeline","parameters":[],"requestBody":{"description":"The new Pipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.ReplacePipelineStepCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-immediate":{"post":{"operationId":"schedule_immediateScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a pipeline execution immediately","description":"Schedule a pipeline execution immediately","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleImmediateCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-once":{"post":{"operationId":"schedule_onceScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule an immediate pipeline execution","description":"Schedule an immediate pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleOnceCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-times":{"post":{"operationId":"schedule_timesScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a recurring pipeline execution","description":"Schedule a recurring pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleTimesCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule-until":{"post":{"operationId":"schedule_untilScheduleCollection","tags":["Schedule"],"responses":{"202":{"description":"Schedule resource created","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommand"}}},"links":{"GetScheduleItem":{"operationId":"getScheduleItem","parameters":{"id":"$response.body#\/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET \/runtime\/schedule\/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Schedule a delayed pipeline execution","description":"Schedule a delayed pipeline execution","parameters":[],"requestBody":{"description":"The new Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule.DeclarePipelineScheduleUntilCommandInput"}}},"required":true},"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}":{"get":{"operationId":"getScheduleItem","tags":["Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Schedule.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/executions":{"get":{"operationId":"api_schedules_executions_get_subresourceScheduleSubresource","tags":["Execution","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Execution-read"}}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/organization":{"get":{"operationId":"api_schedules_organization_get_subresourceScheduleSubresource","tags":["Organization","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/owner":{"get":{"operationId":"api_schedules_owner_get_subresourceScheduleSubresource","tags":["User","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/pipeline":{"get":{"operationId":"api_schedules_pipeline_get_subresourceScheduleSubresource","tags":["Pipeline","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Pipeline-read"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow":{"get":{"operationId":"api_schedules_workflow_get_subresourceScheduleSubresource","tags":["Workflow","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/jobs":{"get":{"operationId":"api_schedules_workflow_jobs_get_subresourceScheduleSubresource","tags":["WorkflowJob","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/organization":{"get":{"operationId":"api_schedules_workflow_organization_get_subresourceScheduleSubresource","tags":["Organization","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/owner":{"get":{"operationId":"api_schedules_workflow_owner_get_subresourceScheduleSubresource","tags":["User","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workflow\/workspace":{"get":{"operationId":"api_schedules_workflow_workspace_get_subresourceScheduleSubresource","tags":["Workspace","Workflow"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"workflow","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedule\/{id}\/workspace":{"get":{"operationId":"api_schedules_workspace_get_subresourceScheduleSubresource","tags":["Workspace","Schedule"],"responses":{"200":{"description":"Schedule resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Schedule resource.","description":"Retrieves a Schedule resource.","parameters":[{"name":"id","in":"path","description":"Schedule identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/schedules":{"get":{"operationId":"getScheduleCollection","tags":["Schedule"],"responses":{"200":{"description":"Schedule collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}}}}},"summary":"Retrieves the collection of Schedule resources.","description":"Retrieves the collection of Schedule resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/action\/{id}":{"get":{"operationId":"getWorkflowJobActionItem","tags":["WorkflowJobAction"],"responses":{"200":{"description":"WorkflowJobAction resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobAction"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJobAction resource.","description":"Retrieves a WorkflowJobAction resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/job\/{id}":{"get":{"operationId":"getWorkflowJobItem","tags":["WorkflowJob"],"responses":{"200":{"description":"WorkflowJob resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJob resource.","description":"Retrieves a WorkflowJob resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/pipeline\/{id}":{"get":{"operationId":"getWorkflowJobPipelineItem","tags":["WorkflowJobPipeline"],"responses":{"200":{"description":"WorkflowJobPipeline resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WorkflowJobPipeline"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a WorkflowJobPipeline resource.","description":"Retrieves a WorkflowJobPipeline resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}":{"get":{"operationId":"getWorkflowItem","tags":["Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workflow-read"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/jobs":{"get":{"operationId":"api_workflows_jobs_get_subresourceWorkflowSubresource","tags":["WorkflowJob","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/organization":{"get":{"operationId":"api_workflows_organization_get_subresourceWorkflowSubresource","tags":["Organization","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Organization.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Organization"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Organization"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/owner":{"get":{"operationId":"api_workflows_owner_get_subresourceWorkflowSubresource","tags":["User","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/User.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/User"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflow\/{id}\/workspace":{"get":{"operationId":"api_workflows_workspace_get_subresourceWorkflowSubresource","tags":["Workspace","Workflow"],"responses":{"200":{"description":"Workflow resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Workspace.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/Workspace"}}}}},"summary":"Retrieves a Workflow resource.","description":"Retrieves a Workflow resource.","parameters":[{"name":"id","in":"path","description":"Workflow identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtime\/workflows":{"get":{"operationId":"getWorkflowCollection","tags":["Workflow"],"responses":{"200":{"description":"Workflow collection","content":{"application\/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow-read"}}},"text\/html":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Workflow-read"}}}}}},"summary":"Retrieves the collection of Workflow resources.","description":"Retrieves the collection of Workflow resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"\/runtimepipeline\/compilation\/{id}":{"get":{"operationId":"getPipelineCompilationItem","tags":["PipelineCompilation"],"responses":{"200":{"description":"PipelineCompilation resource","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation.jsonld"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/PipelineCompilation"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a PipelineCompilation resource.","description":"Retrieves a PipelineCompilation resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]}},"components":{"schemas":{"AbstractPipeline":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AbstractPipeline.jsonld":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Action-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"Action.jsonld-read":{"type":"object","required":["id"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"}}},"AkeneoInstance":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"secret":{"type":"string","format":"iri-reference"},"linkedAccounts":{"type":"array","items":{"type":"string","format":"iri-reference"}},"oauthTokens":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AkeneoInstance.AkeneoInstanceInput":{"type":"object","properties":{"pimUrl":{"type":"string"},"organization":{"type":"string","format":"uuid"},"secret":{"$ref":"#\/components\/schemas\/SecretInput"}}},"AkeneoInstance.AkeneoInstanceInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pimUrl":{"type":"string"},"organization":{"type":"string","format":"uuid"},"secret":{"$ref":"#\/components\/schemas\/SecretInput.jsonld"}}},"AkeneoInstance.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"secret":{"type":"string","format":"iri-reference"},"linkedAccounts":{"type":"array","items":{"type":"string","format":"iri-reference"}},"oauthTokens":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"AkeneoLinkedAccount":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"tokenId":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"akeneoUserId":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"token":{"type":"string"},"akeneoInstance":{"type":"string","format":"iri-reference","nullable":true}},"required":["user","token"]},"AkeneoLinkedAccount.AkeneoLinkedAccountsInput":{"type":"object","properties":{"akeneoInstance":{"type":"string","format":"uuid"},"tokenId":{"type":"string","format":"uuid"},"akeneoUserId":{"type":"string","format":"uuid"},"token":{"type":"string"}}},"AkeneoLinkedAccount.AkeneoLinkedAccountsInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"akeneoInstance":{"type":"string","format":"uuid"},"tokenId":{"type":"string","format":"uuid"},"akeneoUserId":{"type":"string","format":"uuid"},"token":{"type":"string"}}},"AkeneoLinkedAccount.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"tokenId":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"akeneoUserId":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"token":{"type":"string"},"akeneoInstance":{"type":"string","format":"iri-reference","nullable":true}},"required":["user","token"]},"AkeneoOauthToken-read":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"responseType":{"default":"code","example":"code","type":"string"}},"required":["url","responseType"]},"AkeneoOauthToken.OauthStateInput":{"type":"object","properties":{"url":{"type":"string"},"scope":{"type":"array","items":{"type":"string"}}}},"AkeneoOauthToken.OauthStateInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"url":{"type":"string"},"scope":{"type":"array","items":{"type":"string"}}}},"AkeneoOauthToken.OauthStateOutput-read":{"type":"object"},"AkeneoOauthToken.OauthStateOutput.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"AkeneoOauthToken.OauthTokenInput":{"type":"object","properties":{"url":{"type":"string"},"state":{"type":"string"},"code":{"type":"string"}}},"AkeneoOauthToken.OauthTokenInput.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"url":{"type":"string"},"state":{"type":"string"},"code":{"type":"string"}}},"AkeneoOauthToken.OauthTokenOutput-read":{"type":"object"},"AkeneoOauthToken.OauthTokenOutput.jsonld-read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"AkeneoOauthToken.jsonld-read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"url":{"externalDocs":{"url":"http:\/\/schema.org\/url"},"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"responseType":{"default":"code","example":"code","type":"string"}},"required":["url","responseType"]},"AutoloadInput":{"type":"object","properties":{"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"AutoloadInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"BigDecimal":{"type":"object","properties":{"scale":{"readOnly":true,"description":"The scale (number of digits after the decimal point) of this decimal number.","type":"integer"},"sign":{"readOnly":true,"description":"{@inheritdoc}","type":"integer"},"unscaledValue":{"readOnly":true,"$ref":"#\/components\/schemas\/BigInteger"},"integralPart":{"readOnly":true,"description":"Returns a string representing the integral part of this decimal number.","type":"string"},"fractionalPart":{"readOnly":true,"description":"Returns a string representing the fractional part of this decimal number.","type":"string"},"nonZeroFractionalPart":{"readOnly":true,"description":"Returns whether this decimal number has a non-zero fractional part.","type":"boolean"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"}}},"BigDecimal.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"scale":{"readOnly":true,"description":"The scale (number of digits after the decimal point) of this decimal number.","type":"integer"},"sign":{"readOnly":true,"description":"{@inheritdoc}","type":"integer"},"unscaledValue":{"readOnly":true,"$ref":"#\/components\/schemas\/BigInteger.jsonld"},"integralPart":{"readOnly":true,"description":"Returns a string representing the integral part of this decimal number.","type":"string"},"fractionalPart":{"readOnly":true,"description":"Returns a string representing the fractional part of this decimal number.","type":"string"},"nonZeroFractionalPart":{"readOnly":true,"description":"Returns whether this decimal number has a non-zero fractional part.","type":"boolean"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"}}},"BigInteger":{"type":"object","properties":{"bitLength":{"readOnly":true,"description":"Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit.","type":"integer"},"lowestSetBit":{"readOnly":true,"description":"Returns the index of the rightmost (lowest-order) one bit in this BigInteger.","type":"integer"},"even":{"readOnly":true,"description":"Returns whether this number is even.","type":"boolean"},"odd":{"readOnly":true,"description":"Returns whether this number is odd.","type":"boolean"},"sign":{"readOnly":true,"description":"{@inheritdoc}","type":"integer"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"}}},"BigInteger.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"bitLength":{"readOnly":true,"description":"Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit.","type":"integer"},"lowestSetBit":{"readOnly":true,"description":"Returns the index of the rightmost (lowest-order) one bit in this BigInteger.","type":"integer"},"even":{"readOnly":true,"description":"Returns whether this number is even.","type":"boolean"},"odd":{"readOnly":true,"description":"Returns whether this number is odd.","type":"boolean"},"sign":{"readOnly":true,"description":"{@inheritdoc}","type":"integer"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"}}},"BigNumber":{"type":"object","properties":{"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"},"sign":{"readOnly":true,"description":"Returns the sign of this number.","type":"integer"}}},"BigNumber.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"zero":{"readOnly":true,"description":"Checks if this number equals zero.","type":"boolean"},"negative":{"readOnly":true,"description":"Checks if this number is strictly negative.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Checks if this number is negative or zero.","type":"boolean"},"positive":{"readOnly":true,"description":"Checks if this number is strictly positive.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Checks if this number is positive or zero.","type":"boolean"},"sign":{"readOnly":true,"description":"Returns the sign of this number.","type":"integer"}}},"ConfigMap":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"ConfigMap.ConfigMapInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"configs":{"$ref":"#\/components\/schemas\/ConfigMapValueInput"}}},"ConfigMap.ConfigMapInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"configs":{"$ref":"#\/components\/schemas\/ConfigMapValueInput.jsonld"}}},"ConfigMap.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"ConfigMapValueInput":{"type":"object","properties":{"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"ConfigMapValueInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"arrayCopy":{"readOnly":true},"flags":{"type":"integer"},"iterator":{"readOnly":true},"iteratorClass":{"type":"string"}}},"Context":{"type":"object","properties":{"step":{"readOnly":true,"description":"Returns the step used by this context.","type":"integer"},"fixedScale":{"readOnly":true,"description":"Returns whether this context uses a fixed scale and step.","type":"boolean"}}},"Context.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"step":{"readOnly":true,"description":"Returns the step used by this context.","type":"integer"},"fixedScale":{"readOnly":true,"description":"Returns whether this context uses a fixed scale and step.","type":"boolean"}}},"Currency":{"type":"object","properties":{"currencyCode":{"description":"The currency code.","type":"string"},"numericCode":{"description":"The numeric currency code.","type":"integer"},"name":{"description":"The name of the currency.","type":"string"},"defaultFractionDigits":{"description":"The default number of fraction digits (typical scale) used with this currency.","type":"integer"}}},"Currency.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"currencyCode":{"description":"The currency code.","type":"string"},"numericCode":{"description":"The numeric currency code.","type":"integer"},"name":{"description":"The name of the currency.","type":"string"},"defaultFractionDigits":{"description":"The default number of fraction digits (typical scale) used with this currency.","type":"integer"}}},"Environment":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"variables":{"writeOnly":true,"type":"array","items":{"$ref":"#\/components\/schemas\/Variable"}}}},"Environment.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"variables":{"writeOnly":true,"type":"array","items":{"$ref":"#\/components\/schemas\/Variable.jsonld"}}}},"Execution-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason","pipeline","workflow","action"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"status":{"default":"unknown","example":"unknown","type":"string"},"errors":{"type":"integer"},"scheduledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"startedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"finishedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"interruptedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"resumedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"updatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"terminatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"reason":{"type":"string","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ExecutionAction-read"}]}}},"Execution.DeclarePipelineExecutionCommand-read":{"type":"object"},"Execution.DeclarePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.DeclarePipelineExecutionCommandInput":{"type":"object","properties":{"schedule":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.DeclarePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"schedule":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.FinishPipelineExecutionCommand-read":{"type":"object"},"Execution.FinishPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.FinishPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.FinishPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.InterruptPipelineExecutionCommand-read":{"type":"object"},"Execution.InterruptPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.InterruptPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.InterruptPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.ResumePipelineExecutionCommand-read":{"type":"object"},"Execution.ResumePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.ResumePipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.ResumePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.StartPipelineExecutionCommand-read":{"type":"object"},"Execution.StartPipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.StartPipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.StartPipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Execution.TerminatePipelineExecutionCommand-read":{"type":"object"},"Execution.TerminatePipelineExecutionCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"reason":{"type":"string"}}},"Execution.TerminatePipelineExecutionCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"reason":{"type":"string"}}},"Execution.UpdatePipelineExecutionStateCommand-read":{"type":"object"},"Execution.UpdatePipelineExecutionStateCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Execution.UpdatePipelineExecutionStateCommandInput":{"type":"object","properties":{"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList"}}},"Execution.UpdatePipelineExecutionStateCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"stepsUpdates":{"$ref":"#\/components\/schemas\/UpdateList.jsonld"}}},"Execution.jsonld-read":{"type":"object","required":["id","code","status","errors","scheduledAt","reason","pipeline","workflow","action"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"status":{"default":"unknown","example":"unknown","type":"string"},"errors":{"type":"integer"},"scheduledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"startedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"finishedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"interruptedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"resumedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"updatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"terminatedAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"reason":{"type":"string","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/ExecutionAction.jsonld-read"}]}}},"ExecutionAction":{"type":"object","required":["execution","id"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld":{"type":"object","required":["execution","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionAction.jsonld-read":{"type":"object","required":["id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"}}},"ExecutionPipeline":{"type":"object","required":["execution"],"properties":{"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipeline.jsonld":{"type":"object","required":["execution"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"execution":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob":{"type":"object","required":["job"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineJob.jsonld":{"type":"object","required":["job"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"readOnly":true,"type":"string","format":"uuid"},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ExecutionPipelineStep":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionPipelineStep.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld"},"metrics":{"type":"array","items":{"type":"string"}}},"required":["pipeline"]},"ExecutionWorkflow":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflow.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"jobs":{"type":"array","items":{"type":"string","format":"iri-reference"}},"execution":{"type":"string","format":"iri-reference"}},"required":["execution"]},"ExecutionWorkflowJob":{"type":"object","required":["id","workflow","pipeline","action"],"properties":{"id":{"type":"string","format":"uuid"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true}}},"ExecutionWorkflowJob.jsonld":{"type":"object","required":["id","workflow","pipeline","action"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"workflow":{"type":"string","format":"iri-reference","nullable":true},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"action":{"type":"string","format":"iri-reference","nullable":true}}},"ExecutionWorkflowJobAction":{"type":"object","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"ExecutionWorkflowJobAction.jsonld":{"type":"object","required":["job","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"Money":{"type":"object","properties":{"amount":{"readOnly":true,"description":"The amount.","$ref":"#\/components\/schemas\/BigDecimal"},"currency":{"readOnly":true,"description":"The currency.","$ref":"#\/components\/schemas\/Currency"},"context":{"readOnly":true,"description":"The context that defines the capability of this Money.","$ref":"#\/components\/schemas\/Context"},"minorAmount":{"readOnly":true,"description":"Returns the amount of this Money in minor units (cents) for the currency.","$ref":"#\/components\/schemas\/BigDecimal"},"unscaledAmount":{"readOnly":true,"description":"Returns a BigInteger containing the unscaled value (all digits) of this money.","$ref":"#\/components\/schemas\/BigInteger"},"amounts":{"readOnly":true,"description":"Required by interface MoneyContainer.","type":"array","items":{"$ref":"#\/components\/schemas\/BigNumber"}},"sign":{"readOnly":true,"description":"Returns the sign of this money.","type":"integer"},"zero":{"readOnly":true,"description":"Returns whether this money has zero value.","type":"boolean"},"negative":{"readOnly":true,"description":"Returns whether this money has a negative value.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Returns whether this money has a negative or zero value.","type":"boolean"},"positive":{"readOnly":true,"description":"Returns whether this money has a positive value.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Returns whether this money has a positive or zero value.","type":"boolean"}}},"Money.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"amount":{"readOnly":true,"description":"The amount.","$ref":"#\/components\/schemas\/BigDecimal.jsonld"},"currency":{"readOnly":true,"description":"The currency.","$ref":"#\/components\/schemas\/Currency.jsonld"},"context":{"readOnly":true,"description":"The context that defines the capability of this Money.","$ref":"#\/components\/schemas\/Context.jsonld"},"minorAmount":{"readOnly":true,"description":"Returns the amount of this Money in minor units (cents) for the currency.","$ref":"#\/components\/schemas\/BigDecimal.jsonld"},"unscaledAmount":{"readOnly":true,"description":"Returns a BigInteger containing the unscaled value (all digits) of this money.","$ref":"#\/components\/schemas\/BigInteger.jsonld"},"amounts":{"readOnly":true,"description":"Required by interface MoneyContainer.","type":"array","items":{"$ref":"#\/components\/schemas\/BigNumber.jsonld"}},"sign":{"readOnly":true,"description":"Returns the sign of this money.","type":"integer"},"zero":{"readOnly":true,"description":"Returns whether this money has zero value.","type":"boolean"},"negative":{"readOnly":true,"description":"Returns whether this money has a negative value.","type":"boolean"},"negativeOrZero":{"readOnly":true,"description":"Returns whether this money has a negative or zero value.","type":"boolean"},"positive":{"readOnly":true,"description":"Returns whether this money has a positive value.","type":"boolean"},"positiveOrZero":{"readOnly":true,"description":"Returns whether this money has a positive or zero value.","type":"boolean"}}},"Offer":{"type":"object","properties":{"options":{"type":"array","items":{"type":"string","format":"iri-reference"}},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Price"}},"required":["sku","name","slug","description","price"]},"Offer.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"options":{"type":"array","items":{"type":"string","format":"iri-reference"}},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Price.jsonld"}},"required":["sku","name","slug","description","price"]},"OnPremiseRequest-on-premise-request.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["firstName","lastName","message"]},"OnPremiseRequest-on-premise-request.write":{"type":"object","required":["firstName","lastName","message"],"properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"}}},"OnPremiseRequest.jsonld-on-premise-request.read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["firstName","lastName","message"]},"OnPremiseRequest.jsonld-on-premise-request.write":{"type":"object","required":["firstName","lastName","message"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"message":{"minLength":2,"maxLength":1500,"type":"string"}}},"Option":{"type":"object","required":["offer","sku","name","slug","description","price"],"properties":{"offer":{"type":"string","format":"iri-reference","nullable":true},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Price"}}},"Option.jsonld":{"type":"object","required":["offer","sku","name","slug","description","price"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"offer":{"type":"string","format":"iri-reference","nullable":true},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"sku":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"price":{"$ref":"#\/components\/schemas\/Price.jsonld"}}},"Organization":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"name":{"type":"string"},"slug":{"type":"string"},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}},"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug"]},"Organization.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"name":{"type":"string"},"slug":{"type":"string"},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}},"externalCollaborators":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug"]},"Pipeline-read":{"type":"object","properties":{"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","runtime","autoload"]},"Pipeline.AddAfterPipelineStepCommand-read":{"type":"object"},"Pipeline.AddAfterPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddAfterPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddAfterPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddBeforePipelineStepCommand-read":{"type":"object"},"Pipeline.AddBeforePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddBeforePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AddBeforePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommand-read":{"type":"object"},"Pipeline.AddPipelineComposerPSR4AutoloadCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineComposerPSR4AutoloadCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"namespace":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}}}},"Pipeline.AddPipelineStepProbCommandInput":{"type":"object","properties":{"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"probe":{"$ref":"#\/components\/schemas\/Probe"}}},"Pipeline.AddPipelineStepProbCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"probe":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}},"Pipeline.AddPipelineStepProbeCommand-read":{"type":"object"},"Pipeline.AddPipelineStepProbeCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AppendPipelineStepCommand-read":{"type":"object"},"Pipeline.AppendPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.AppendPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.AppendPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.CompilePipelineCommand-read":{"type":"object"},"Pipeline.CompilePipelineCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.CompilePipelineCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Pipeline.CompilePipelineCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Pipeline.DeclarePipelineCommand-read":{"type":"object"},"Pipeline.DeclarePipelineCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.DeclarePipelineCommandInput":{"type":"object","properties":{"label":{"type":"string"},"code":{"type":"string"},"workspace":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string","nullable":true},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput"}}}},"Pipeline.DeclarePipelineCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"label":{"type":"string"},"code":{"type":"string"},"workspace":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string","nullable":true},"steps":{"type":"array","items":{"$ref":"#\/components\/schemas\/StepInput.jsonld"}},"autoloads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AutoloadInput.jsonld"}}}},"Pipeline.MoveAfterPipelineStepCommand-read":{"type":"object"},"Pipeline.MoveAfterPipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveAfterPipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"previous":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommand-read":{"type":"object"},"Pipeline.MoveBeforePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"}}},"Pipeline.MoveBeforePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"next":{"type":"string"},"code":{"type":"string"}}},"Pipeline.RemovePipelineStepProbeCommand-read":{"type":"object"},"Pipeline.RemovePipelineStepProbeCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReorderPipelineStepsCommand-read":{"type":"object"},"Pipeline.ReorderPipelineStepsCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReorderPipelineStepsCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReorderPipelineStepsCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"codes":{"type":"array","items":{"type":"string"}}}},"Pipeline.ReplacePipelineStepCommand-read":{"type":"object"},"Pipeline.ReplacePipelineStepCommand.jsonld-read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Pipeline.ReplacePipelineStepCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"former":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"Pipeline.ReplacePipelineStepCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"former":{"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"configuration":{"type":"array","items":{"type":"string"}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Pipeline.jsonld-read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"isSoftDeleted":{"type":"boolean"},"compiledAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["id","code","label","runtimeType","runtime","autoload"]},"PipelineCompilation":{"type":"object","required":["id","pipeline"],"properties":{"id":{"type":"string","format":"uuid"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"pipeline":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"PipelineCompilation.jsonld":{"type":"object","required":["id","pipeline"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"createdAt":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"pipeline":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"}}},"PipelineId":{"type":"object"},"PipelineId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"PipelineStep":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","order","label","pipeline","configuration"]},"PipelineStep.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"pipeline":{"$ref":"#\/components\/schemas\/AbstractPipeline.jsonld"},"probes":{"type":"array","items":{"type":"string","format":"iri-reference"}},"configuration":{"type":"array","items":{"type":"string"}}},"required":["code","order","label","pipeline","configuration"]},"PipelineStepProbe":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","order","label","step"]},"PipelineStepProbe.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"code":{"type":"string"},"order":{"type":"integer"},"label":{"type":"string"},"step":{"type":"string","format":"iri-reference"}},"required":["code","order","label","step"]},"Price":{"type":"object","properties":{"price":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Money"}]}}},"Price.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"price":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Money.jsonld"}]}}},"Probe":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"}}},"Probe.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"}}},"ReferralCode-referral-code.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"user":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"referralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ReferralCode-referral-code.write":{"type":"object","properties":{"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralCode.jsonld-referral-code.read":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"user":{"type":"string","format":"iri-reference","nullable":true},"code":{"type":"string"},"referralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}}},"ReferralCode.jsonld-referral-code.write":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true}}},"ReferralRequest-referral-request.read":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"creationDate":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"referralCode":{"type":"string","format":"iri-reference","nullable":true},"approver":{"type":"string","format":"iri-reference","nullable":true},"status":{"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"ReferralRequest.ReferralRequestInput":{"type":"object","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.ReferralRequestInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"companyName":{"type":"string"},"referralCode":{"type":"string"}}},"ReferralRequest.jsonld-referral-request.read":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"userName":{"type":"string"},"companyName":{"type":"string"},"creationDate":{"externalDocs":{"url":"http:\/\/schema.org\/DateTime"},"type":"string","format":"date-time"},"referralCode":{"type":"string","format":"iri-reference","nullable":true},"approver":{"type":"string","format":"iri-reference","nullable":true},"status":{"default":"pending","example":"pending","type":"string"}},"required":["email","firstName","lastName","userName","companyName"]},"Schedule":{"type":"object","required":["id","owner","workspace","organization"],"properties":{"id":{"type":"string","format":"uuid"},"type":{"default":"once","example":"once","type":"string"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"recurrences":{"type":"integer","nullable":true},"executions":{"type":"array","items":{"type":"string","format":"iri-reference"}},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"}}},"Schedule.DeclarePipelineScheduleImmediateCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleImmediateCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleImmediateCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Schedule.DeclarePipelineScheduleImmediateCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"}}},"Schedule.DeclarePipelineScheduleOnceCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"date":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleOnceCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"date":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleOnceCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"date":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleOnceCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"date":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleTimesCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleTimesCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleTimesCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"}}},"Schedule.DeclarePipelineScheduleTimesCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"recurrences":{"type":"integer"}}},"Schedule.DeclarePipelineScheduleUntilCommand":{"type":"object","properties":{"id":{"$ref":"#\/components\/schemas\/ScheduleId"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId"}}},"Schedule.DeclarePipelineScheduleUntilCommand.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"$ref":"#\/components\/schemas\/ScheduleId.jsonld"},"pipeline":{"$ref":"#\/components\/schemas\/PipelineId.jsonld"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/UserId.jsonld"}}},"Schedule.DeclarePipelineScheduleUntilCommandInput":{"type":"object","properties":{"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"}}},"Schedule.DeclarePipelineScheduleUntilCommandInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"pipeline":{"format":"uuid","externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"start":{"type":"string","format":"date-time"},"interval":{"type":"string","format":"duration"},"end":{"type":"string","format":"date-time"}}},"Schedule.jsonld":{"type":"object","required":["id","owner","workspace","organization"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"type":{"default":"once","example":"once","type":"string"},"startAt":{"type":"string","format":"date-time","nullable":true},"interval":{"type":"string","format":"duration","nullable":true},"endAt":{"type":"string","format":"date-time","nullable":true},"recurrences":{"type":"integer","nullable":true},"executions":{"type":"array","items":{"type":"string","format":"iri-reference"}},"pipeline":{"type":"string","format":"iri-reference","nullable":true},"workflow":{"type":"string","format":"iri-reference","nullable":true},"owner":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference"},"organization":{"type":"string","format":"iri-reference"}}},"ScheduleId":{"type":"object"},"ScheduleId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Secret":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"Secret.SecretInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"Secret.SecretInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"Secret.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"readOnly":true,"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"organization":{"type":"string","format":"iri-reference"},"workspace":{"type":"string","format":"iri-reference","nullable":true},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"SecretInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"SecretInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"contents":{"type":"object","additionalProperties":{"type":"string"}}}},"StepInput":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"},"config":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe"}}}},"StepInput.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"code":{"type":"string"},"label":{"type":"string"},"config":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"probes":{"type":"array","items":{"$ref":"#\/components\/schemas\/Probe.jsonld"}}}},"Subscription":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"type":"string","format":"iri-reference"},"offer":{"type":"string","format":"iri-reference","nullable":true},"options":{"type":"array","items":{"type":"string","format":"iri-reference"}},"cost":{"$ref":"#\/components\/schemas\/Price"},"periods":{"type":"object","additionalProperties":{"type":"string","format":"iri-reference"}}},"required":["organization","cost"]},"Subscription.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"organization":{"type":"string","format":"iri-reference"},"offer":{"type":"string","format":"iri-reference","nullable":true},"options":{"type":"array","items":{"type":"string","format":"iri-reference"}},"cost":{"$ref":"#\/components\/schemas\/Price.jsonld"},"periods":{"type":"object","additionalProperties":{"type":"string","format":"iri-reference"}}},"required":["organization","cost"]},"SubscriptionOption":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"subscription":{"type":"string","format":"iri-reference","nullable":true},"option":{"type":"string","format":"iri-reference","nullable":true},"price":{"$ref":"#\/components\/schemas\/Price"}},"required":["subscription","option","price"]},"SubscriptionOption.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"subscription":{"type":"string","format":"iri-reference","nullable":true},"option":{"type":"string","format":"iri-reference","nullable":true},"price":{"$ref":"#\/components\/schemas\/Price.jsonld"}},"required":["subscription","option","price"]},"Traversable":{"type":"object"},"Traversable.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"UpdateList":{"type":"object","properties":{"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable"}}},"UpdateList.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"iterator":{"readOnly":true,"$ref":"#\/components\/schemas\/Traversable.jsonld"}}},"User":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"enabled":{"type":"boolean"},"roles":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"organization":{"type":"string","format":"iri-reference"},"additionalOrganizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}},"currentWorkspace":{"type":"string","format":"iri-reference","nullable":true},"referralCodes":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"acceptedReferralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"User.UserChangePasswordInput":{"type":"object","properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"},"confirmPassword":{"type":"string"}}},"User.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"email":{"format":"email","externalDocs":{"url":"http:\/\/schema.org\/email"},"type":"string"},"password":{"type":"string"},"enabled":{"type":"boolean"},"roles":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"organization":{"type":"string","format":"iri-reference"},"additionalOrganizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"workspaces":{"type":"array","items":{"type":"string","format":"iri-reference"}},"currentWorkspace":{"type":"string","format":"iri-reference","nullable":true},"referralCodes":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"acceptedReferralRequests":{"readOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}},"userIdentifier":{"readOnly":true,"type":"string"},"salt":{"readOnly":true,"type":"string"},"workspace":{"writeOnly":true,"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["firstName","lastName","username"]},"UserAuthorization":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"resource":{"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["user","workspace","organization","resource","authorizations"]},"UserAuthorization.jsonld":{"type":"object","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"user":{"type":"string","format":"iri-reference","nullable":true},"workspace":{"type":"string","format":"iri-reference","nullable":true},"organization":{"type":"string","format":"iri-reference","nullable":true},"resource":{"type":"string"},"authorizations":{"type":"array","items":{"type":"string"}}},"required":["user","workspace","organization","resource","authorizations"]},"UserId":{"type":"object"},"UserId.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"}}},"Variable":{"type":"object","properties":{"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference"},"name":{"type":"string"}}},"Variable.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference"},"name":{"type":"string"}}},"VariableFromConfigMap":{"type":"object","properties":{"configMap":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromConfigMap.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"configMap":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret":{"type":"object","properties":{"secret":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"VariableFromSecret.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"secret":{"type":"string","format":"iri-reference","nullable":true},"item":{"type":"string"},"id":{"readOnly":true,"type":"string","format":"uuid"},"environment":{"type":"string","format":"iri-reference","nullable":true},"name":{"type":"string"}}},"Workflow-read":{"type":"object","required":["id","code","label"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob-read"}}}},"Workflow.jsonld-read":{"type":"object","required":["id","code","label"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"jobs":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowJob.jsonld-read"}}}},"WorkflowJob-read":{"type":"object","required":["workflow"],"properties":{"workflow":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Workflow-read"}]},"pipeline":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline-read"}]},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction-read"}]}}},"WorkflowJob.jsonld-read":{"type":"object","required":["workflow"],"properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"workflow":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/Workflow.jsonld-read"}]},"pipeline":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobPipeline.jsonld-read"}]},"action":{"nullable":true,"anyOf":[{"$ref":"#\/components\/schemas\/WorkflowJobAction.jsonld-read"}]}}},"WorkflowJobAction":{"type":"object","required":["job","id"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction-read":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction.jsonld":{"type":"object","required":["job","id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"}}},"WorkflowJobAction.jsonld-read":{"type":"object","required":["id"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"}}},"WorkflowJobPipeline":{"type":"object","required":["job","id","code","label","runtimeType","runtime","autoload"],"properties":{"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline-read":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld":{"type":"object","required":["job","id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"job":{"type":"string","format":"iri-reference","nullable":true},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"WorkflowJobPipeline.jsonld-read":{"type":"object","required":["id","code","label","runtimeType","runtime","autoload"],"properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"runtimeType":{"type":"string"},"runtime":{"type":"array","items":{"type":"string"}},"autoload":{"type":"array","items":{"type":"string"}},"steps":{"type":"array","items":{"type":"string","format":"iri-reference"}}}},"Workspace":{"type":"object","properties":{"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug","organization"]},"Workspace.jsonld":{"type":"object","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http:\/\/www.w3.org\/ns\/hydra\/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"id":{"format":"uuid","readOnly":true,"externalDocs":{"url":"http:\/\/schema.org\/identifier"},"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"organization":{"type":"string","format":"iri-reference","nullable":true},"authorizations":{"type":"array","items":{"type":"string","format":"iri-reference"}},"users":{"type":"array","items":{"type":"string","format":"iri-reference"}}},"required":["name","slug","organization"]},"ForgotPassword:reset":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}},"ForgotPassword:validate":{"type":"object"},"ForgotPassword:request":{"type":"object","required":["email"],"properties":{"email":{"type":"string"}}},"Token":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials":{"type":"object","properties":{"username":{"type":"string","example":"johndoe"},"password":{"type":"string","example":"password"},"workspace":{"type":"string","example":"password"}}},"Token:update":{"type":"object","properties":{"token":{"type":"string","readOnly":true}}},"Credentials:update":{"type":"object","properties":{"workspace":{"type":"string","example":"b56594c3-4d59-4a4a-93b4-3f44b0d785b7"}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"apiKey":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"}}},"security":[{"apiKey":[]}],"tags":[]} \ No newline at end of file diff --git a/src/Authentication/ApiKeyAuthentication.php b/src/Authentication/ApiKeyAuthentication.php index 2b43c52c..12c4c5fe 100644 --- a/src/Authentication/ApiKeyAuthentication.php +++ b/src/Authentication/ApiKeyAuthentication.php @@ -5,17 +5,21 @@ class ApiKeyAuthentication implements \Jane\Component\OpenApiRuntime\Client\AuthenticationPlugin { private $apiKey; + public function __construct(string $apiKey) { $this->{'apiKey'} = $apiKey; } - public function authentication(\Psr\Http\Message\RequestInterface $request) : \Psr\Http\Message\RequestInterface + + public function authentication(\Psr\Http\Message\RequestInterface $request): \Psr\Http\Message\RequestInterface { $request = $request->withHeader('Authorization', $this->{'apiKey'}); + return $request; } - public function getScope() : string + + public function getScope(): string { return 'apiKey'; } -} \ No newline at end of file +} diff --git a/src/Client.php b/src/Client.php index 78237b3a..7896b6d9 100644 --- a/src/Client.php +++ b/src/Client.php @@ -5,2169 +5,2997 @@ class Client extends \Gyroscops\Api\Runtime\Client\Client { /** - * - * - * @param null|\stdClass $requestBody * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostForgotPasswordBadRequestException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function postForgotPassword(?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostForgotPassword($requestBody), $fetch); } + /** - * - * - * @param string $token * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function getForgotPassword(string $token, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetForgotPassword($token), $fetch); } + /** - * - * - * @param string $token - * @param null|\stdClass $requestBody * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenBadRequestException * @throws \Gyroscops\Api\Exception\PostForgotPasswordTokenNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function postForgotPasswordToken(string $token, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostForgotPasswordToken($token, $requestBody), $fetch); } + /** * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null */ public function meUserCollection(string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MeUserCollection(), $fetch); } + + /** + * Removes the Offer resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\DeleteOfferItemNotFoundException + * + * @return \Psr\Http\Message\ResponseInterface|null + */ + public function deleteOfferItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteOfferItem($id), $fetch); + } + + /** + * Retrieves a Offer resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\GetOfferItemNotFoundException + * + * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null + */ + public function getOfferItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOfferItem($id), $fetch); + } + + /** + * Updates the Offer resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Offer $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PatchOfferItemBadRequestException + * @throws \Gyroscops\Api\Exception\PatchOfferItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PatchOfferItemNotFoundException + * + * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null + */ + public function patchOfferItem(string $id, Model\Offer $requestBody, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchOfferItem($id, $requestBody), $fetch); + } + + /** + * Replaces the Offer resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OfferJsonld|\Gyroscops\Api\Model\Offer $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PutOfferItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutOfferItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutOfferItemNotFoundException + * + * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null + */ + public function putOfferItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutOfferItem($id, $requestBody), $fetch); + } + + /** + * Retrieves a Offer resource. + * + * @param string $id Offer identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Option[]|\Psr\Http\Message\ResponseInterface|null + */ + public function apiOffersOptionsGetSubresourceOfferSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOffersOptionsGetSubresourceOfferSubresource($id, $queryParameters), $fetch); + } + + /** + * Retrieves the collection of Offer resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Offer[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getOfferCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOfferCollection($queryParameters), $fetch); + } + /** * Removes the Organization resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\DeleteOrganizationItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function deleteOrganizationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteOrganizationItem($id), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function getOrganizationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOrganizationItem($id), $fetch); } + /** * Updates the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Organization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Organization $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PatchOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchOrganizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchOrganizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ - public function patchOrganizationItem(string $id, \Gyroscops\Api\Model\Organization $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchOrganizationItem(string $id, Model\Organization $requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchOrganizationItem($id, $requestBody), $fetch); } + /** * Replaces the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PutOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutOrganizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutOrganizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function putOrganizationItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutOrganizationItem($id, $requestBody), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiOrganizationsUsersGetSubresourceOrganizationSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiOrganizationsUsersGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsUsersGetSubresourceOrganizationSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiOrganizationsWorkspacesGetSubresourceOrganizationSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiOrganizationsWorkspacesGetSubresourceOrganizationSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of Organization resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization[]|\Psr\Http\Message\ResponseInterface|null */ - public function getOrganizationCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getOrganizationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOrganizationCollection($queryParameters), $fetch); } + /** * Creates a Organization resource. * - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function postOrganizationCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostOrganizationCollection($requestBody), $fetch); } + /** - * + * Removes the Subscription resource. * - * @param null|\Gyroscops\Api\Model\Credentials $requestBody + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Token|\Psr\Http\Message\ResponseInterface + * @throws \Gyroscops\Api\Exception\DeleteSubscriptionItemNotFoundException + * + * @return \Psr\Http\Message\ResponseInterface|null */ - public function postCredentialsItem(?\Gyroscops\Api\Model\Credentials $requestBody = null, string $fetch = self::FETCH_OBJECT) + public function deleteSubscriptionItem(string $id, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostCredentialsItem($requestBody), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteSubscriptionItem($id), $fetch); + } + + /** + * Retrieves a Subscription resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\GetSubscriptionItemNotFoundException + * + * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null + */ + public function getSubscriptionItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSubscriptionItem($id), $fetch); + } + + /** + * Updates the Subscription resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Subscription $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemNotFoundException + * + * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null + */ + public function patchSubscriptionItem(string $id, Model\Subscription $requestBody, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchSubscriptionItem($id, $requestBody), $fetch); + } + + /** + * Creates a Subscription resource. + * + * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null + */ + public function postSubscriptionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostSubscriptionCollection($requestBody), $fetch); + } + + /** + * Replaces the Subscription resource. + * + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemNotFoundException + * + * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null + */ + public function putSubscriptionItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutSubscriptionItem($id, $requestBody), $fetch); + } + + /** + * Retrieves the collection of Subscription resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Subscription[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getSubscriptionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSubscriptionCollection($queryParameters), $fetch); + } + + /** + * Retrieves a Subscription resource. + * + * @param string $id Subscription identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null + */ + public function apiSubscriptionsOfferGetSubresourceSubscriptionSubresource(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource($id), $fetch); + } + + /** + * Retrieves a Subscription resource. + * + * @param string $id Subscription identifier + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\SubscriptionOption[]|\Psr\Http\Message\ResponseInterface|null + */ + public function apiSubscriptionsOptionsGetSubresourceSubscriptionSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource($id, $queryParameters), $fetch); + } + + /** + * Retrieves a Subscription resource. + * + * @param string $id Subscription identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null + */ + public function apiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource($id), $fetch); } + /** - * + * @param \Gyroscops\Api\Model\Credentials|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param null|\stdClass $requestBody + * @return \Gyroscops\Api\Model\Token|\Psr\Http\Message\ResponseInterface|null + */ + public function postCredentialsItem(?Model\Credentials $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostCredentialsItem($requestBody), $fetch); + } + + /** * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function putAuthenticationToken(?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutAuthenticationToken($requestBody), $fetch); } + /** * Removes the UserAuthorization resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\DeleteUserAuthorizationItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function deleteUserAuthorizationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteUserAuthorizationItem($id), $fetch); } + /** * Retrieves a UserAuthorization resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null */ public function getUserAuthorizationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserAuthorizationItem($id), $fetch); } + /** * Updates the UserAuthorization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserAuthorization $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null */ - public function patchUserAuthorizationItem(string $id, \Gyroscops\Api\Model\UserAuthorization $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchUserAuthorizationItem(string $id, Model\UserAuthorization $requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchUserAuthorizationItem($id, $requestBody), $fetch); } + /** * Replaces the UserAuthorization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null */ public function putUserAuthorizationItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutUserAuthorizationItem($id, $requestBody), $fetch); } + /** * Retrieves the collection of UserAuthorization resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface|null */ - public function getUserAuthorizationCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getUserAuthorizationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserAuthorizationCollection($queryParameters), $fetch); } + /** * Creates a UserAuthorization resource. * - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null */ public function postUserAuthorizationCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostUserAuthorizationCollection($requestBody), $fetch); } + /** * Removes the User resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\DeleteUserItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function deleteUserItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteUserItem($id), $fetch); } + /** * Retrieves a User resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetUserItemNotFoundException * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function getUserItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserItem($id), $fetch); } + /** * Updates the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\User $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\User $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PatchUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchUserItemNotFoundException * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ - public function patchUserItem(string $id, \Gyroscops\Api\Model\User $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchUserItem(string $id, Model\User $requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchUserItem($id, $requestBody), $fetch); } + /** * Replaces the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PutUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutUserItemNotFoundException * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function putUserItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutUserItem($id, $requestBody), $fetch); } + /** * Retrieves a User resource. * - * @param string $id User identifier - * @param array $queryParameters { + * @param string $id User identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiUsersAuthorizationsGetSubresourceUserSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiUsersAuthorizationsGetSubresourceUserSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiUsersAuthorizationsGetSubresourceUserSubresource($id, $queryParameters), $fetch); } + /** * Updates the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemBadRequestException * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemNotFoundException * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ - public function changePasswordUserItem(string $id, \Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody, string $fetch = self::FETCH_OBJECT) + public function changePasswordUserItem(string $id, Model\UserUserChangePasswordInput $requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ChangePasswordUserItem($id, $requestBody), $fetch); } + /** * Retrieves the collection of User resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null */ - public function getUserCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getUserCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetUserCollection($queryParameters), $fetch); } + /** * Creates a User resource. * - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostUserCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function postUserCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostUserCollection($requestBody), $fetch); } + /** * Removes the Workspace resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\DeleteWorkspaceItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function deleteWorkspaceItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteWorkspaceItem($id), $fetch); } + /** * Retrieves a Workspace resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function getWorkspaceItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkspaceItem($id), $fetch); } + /** * Updates the Workspace resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Workspace $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Workspace $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ - public function patchWorkspaceItem(string $id, \Gyroscops\Api\Model\Workspace $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchWorkspaceItem(string $id, Model\Workspace $requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchWorkspaceItem($id, $requestBody), $fetch); } + /** * Replaces the Workspace resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PutWorkspaceItemBadRequestException * @throws \Gyroscops\Api\Exception\PutWorkspaceItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutWorkspaceItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function putWorkspaceItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutWorkspaceItem($id, $requestBody), $fetch); } + /** * Retrieves a Workspace resource. * - * @param string $id Workspace identifier - * @param array $queryParameters { + * @param string $id Workspace identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\UserAuthorization[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Workspace resource. * - * @param string $id Workspace identifier - * @param array $queryParameters { + * @param string $id Workspace identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiWorkspacesUsersGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiWorkspacesUsersGetSubresourceWorkspaceSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkspacesUsersGetSubresourceWorkspaceSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of Workspace resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace[]|\Psr\Http\Message\ResponseInterface|null */ - public function getWorkspaceCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getWorkspaceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkspaceCollection($queryParameters), $fetch); } + /** * Creates a Workspace resource. * - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function postWorkspaceCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostWorkspaceCollection($requestBody), $fetch); } + /** - * Creates a Environment resource. + * Creates a ConfigMap resource. + * + * @param \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld|\Gyroscops\Api\Model\ConfigMapConfigMapInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\ConfigMap|\Psr\Http\Message\ResponseInterface|null + */ + public function postConfigMapCollection($requestBody, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostConfigMapCollection($requestBody), $fetch); + } + + /** + * Retrieves a ConfigMap resource. * - * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment $requestBody + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\GetConfigMapItemNotFoundException + * + * @return \Gyroscops\Api\Model\ConfigMap|\Psr\Http\Message\ResponseInterface|null + */ + public function getConfigMapItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigMapItem($id), $fetch); + } + + /** + * Adds a new Config Map value to the Config Map storage. + * + * @param string $id Config Map resource code + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\ConfigMap[]|\Psr\Http\Message\ResponseInterface|null + */ + public function addValueConfigMapCollection(string $id, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddValueConfigMapCollection($id, $requestBody), $fetch); + } + + /** + * Retrieves the collection of ConfigMap resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\ConfigMap[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getConfigMapCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetConfigMapCollection($queryParameters), $fetch); + } + + /** + * Creates a Environment resource. + * + * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface|null */ public function postEnvironmentCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostEnvironmentCollection($requestBody), $fetch); } + /** * Retrieves a Environment resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface|null */ public function getEnvironmentItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetEnvironmentItem($id), $fetch); } + /** * Retrieves the collection of Environment resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Environment[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Environment[]|\Psr\Http\Message\ResponseInterface|null */ - public function getEnvironmentCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getEnvironmentCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetEnvironmentCollection($queryParameters), $fetch); } + /** * Creates a Secret resource. * - * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null */ public function postSecretCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostSecretCollection($requestBody), $fetch); } + /** * Retrieves a Secret resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null */ public function getSecretItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretItem($id), $fetch); } + /** - * Adds a new Secret value to the Secret storage + * Adds a new Secret value to the Secret storage. * - * @param string $id Secret resource code - * @param null|\stdClass $requestBody + * @param string $id Secret resource code * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface|null */ public function addValueSecretCollection(string $id, ?\stdClass $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddValueSecretCollection($id, $requestBody), $fetch); } + /** * Retrieves the collection of Secret resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Secret[]|\Psr\Http\Message\ResponseInterface|null */ - public function getSecretCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getSecretCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetSecretCollection($queryParameters), $fetch); } + /** * Creates a VariableFromConfigMap resource. * - * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\VariableFromConfigMap|\Psr\Http\Message\ResponseInterface|null */ public function postVariableFromConfigMapCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromConfigMapCollection($requestBody), $fetch); } + /** * Retrieves a VariableFromConfigMap resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\VariableFromConfigMap|\Psr\Http\Message\ResponseInterface|null */ public function getVariableFromConfigMapItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigMapItem($id), $fetch); } + /** * Retrieves the collection of VariableFromConfigMap resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\VariableFromConfigMap[]|\Psr\Http\Message\ResponseInterface|null */ - public function getVariableFromConfigMapCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getVariableFromConfigMapCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromConfigMapCollection($queryParameters), $fetch); } + /** * Creates a VariableFromSecret resource. * - * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface|null */ public function postVariableFromSecretCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromSecretCollection($requestBody), $fetch); } + /** * Retrieves a VariableFromSecret resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException * - * @return null|\Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface|null */ public function getVariableFromSecretItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretItem($id), $fetch); } + /** * Retrieves the collection of VariableFromSecret resources. * * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\VariableFromSecret[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getVariableFromSecretCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretCollection($queryParameters), $fetch); + } + + /** + * Creates a AkeneoInstance resource. + * + * @param \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld|\Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\AkeneoInstance|\Psr\Http\Message\ResponseInterface|null + */ + public function postAkeneoInstanceCollection($requestBody, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoInstanceCollection($requestBody), $fetch); + } + + /** + * Check if an organization exists in the database. + * + * @param array $queryParameters { + * + * @var string $url + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getAkeneoInstanceByPimUrlAkeneoInstanceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceByPimUrlAkeneoInstanceCollection($queryParameters), $fetch); + } + + /** + * Check if an organization exists in the database. + * + * @param array $queryParameters { + * + * @var string $url + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getAkeneoInstanceOauthAkeneoInstanceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceOauthAkeneoInstanceCollection($queryParameters), $fetch); + } + + /** + * Retrieves a AkeneoInstance resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\GetAkeneoInstanceItemNotFoundException + * + * @return \Gyroscops\Api\Model\AkeneoInstance|\Psr\Http\Message\ResponseInterface|null + */ + public function getAkeneoInstanceItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceItem($id), $fetch); + } + + /** + * Retrieves the collection of AkeneoInstance resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\AkeneoInstance[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getAkeneoInstanceCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoInstanceCollection($queryParameters), $fetch); + } + + /** + * Creates a AkeneoLinkedAccount resource. + * + * @param \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount|\Psr\Http\Message\ResponseInterface|null + */ + public function postAkeneoLinkedAccountCollection($requestBody, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoLinkedAccountCollection($requestBody), $fetch); + } + + /** + * Check if an akeneo user exists in the database. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getAkeneoLinkedAccountAkeneoLinkedAccountCollection(string $akeneoUserId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoLinkedAccountAkeneoLinkedAccountCollection($akeneoUserId, $queryParameters), $fetch); + } + + /** + * Retrieves a AkeneoLinkedAccount resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\GetAkeneoLinkedAccountItemNotFoundException + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount|\Psr\Http\Message\ResponseInterface|null + */ + public function getAkeneoLinkedAccountItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoLinkedAccountItem($id), $fetch); + } + + /** + * Retrieves the collection of AkeneoLinkedAccount resources. + * + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\VariableFromSecret[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getAkeneoLinkedAccountCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoLinkedAccountCollection($queryParameters), $fetch); + } + + /** + * Generate an Akeneo OAuth state. + * + * @param \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld|\Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionUnprocessableEntityException + * + * @return \Psr\Http\Message\ResponseInterface|null + */ + public function postAkeneoOauthTokenCollection($requestBody, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoOauthTokenCollection($requestBody), $fetch); + } + + /** + * Retrieves a AkeneoOauthToken resource. + * + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\GetAkeneoOauthTokenItemNotFoundException + * + * @return \Gyroscops\Api\Model\AkeneoOauthTokenRead|\Psr\Http\Message\ResponseInterface|null + */ + public function getAkeneoOauthTokenItem(string $id, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoOauthTokenItem($id), $fetch); + } + + /** + * Retrieves the collection of AkeneoOauthToken resources. + * + * @param array $queryParameters { + * + * @var int $page The collection page number + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return \Gyroscops\Api\Model\AkeneoOauthTokenRead[]|\Psr\Http\Message\ResponseInterface|null + */ + public function getAkeneoOauthTokenCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetAkeneoOauthTokenCollection($queryParameters), $fetch); + } + + /** + * Generate an Akeneo OAuth token. + * + * @param \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody|\Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput[] $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException + * + * @return \Psr\Http\Message\ResponseInterface|null */ - public function getVariableFromSecretCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function putAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetVariableFromSecretCollection($queryParameters), $fetch); + return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody), $fetch); } + /** * Removes the ReferralCode resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\DeleteReferralCodeItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function deleteReferralCodeItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeleteReferralCodeItem($id), $fetch); } + /** * Retrieves a ReferralCode resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface|null */ public function getReferralCodeItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralCodeItem($id), $fetch); } + /** * Retrieves the collection of ReferralCode resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getReferralCodeCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getReferralCodeCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralCodeCollection($queryParameters), $fetch); } + /** * Creates a ReferralCode resource. * - * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface|null */ public function postReferralCodeCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostReferralCodeCollection($requestBody), $fetch); } + /** * Retrieves a OnPremiseRequest resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface|null */ public function getOnPremiseRequestItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOnPremiseRequestItem($id), $fetch); } + /** * Retrieves the collection of OnPremiseRequest resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getOnPremiseRequestCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getOnPremiseRequestCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetOnPremiseRequestCollection($queryParameters), $fetch); } + /** * Creates a OnPremiseRequest resource. * - * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface|null */ public function postOnPremiseRequestCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostOnPremiseRequestCollection($requestBody), $fetch); } + /** * Retrieves a ReferralRequest resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface|null */ public function getReferralRequestItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralRequestItem($id), $fetch); } + /** - * Accepts a referral request + * Accepts a referral request. + * + * @param string $id Resource identifier + * @param null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param string $id Resource identifier - * @param null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemBadRequestException * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface|null */ public function acceptReferralRequestReferralRequestItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AcceptReferralRequestReferralRequestItem($id, $requestBody), $fetch); } + /** - * Rejects a referral request + * Rejects a referral request. + * + * @param string $id Resource identifier + * @param null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param string $id Resource identifier - * @param null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemBadRequestException * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface|null */ public function rejectReferralRequestReferralRequestItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RejectReferralRequestReferralRequestItem($id, $requestBody), $fetch); } + /** * Creates a ReferralRequest resource. * - * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface|null */ public function postReferralRequestCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostReferralRequestCollection($requestBody), $fetch); } + /** * Retrieves the collection of ReferralRequest resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getReferralRequestCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getReferralRequestCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetReferralRequestCollection($queryParameters), $fetch); } + /** * Retrieves a Action resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ActionRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ActionRead|\Psr\Http\Message\ResponseInterface|null */ public function getActionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetActionItem($id), $fetch); } + /** * Retrieves a Action resource. * - * @param string $id Action identifier + * @param string $id Action identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiActionsOrganizationGetSubresourceActionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiActionsOrganizationGetSubresourceActionSubresource($id), $fetch); } + /** * Retrieves a Action resource. * - * @param string $id Action identifier + * @param string $id Action identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiActionsOwnerGetSubresourceActionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiActionsOwnerGetSubresourceActionSubresource($id), $fetch); } + /** * Retrieves a Action resource. * - * @param string $id Action identifier + * @param string $id Action identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiActionsWorkspaceGetSubresourceActionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiActionsWorkspaceGetSubresourceActionSubresource($id), $fetch); } + /** * Retrieves the collection of Action resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ActionRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ActionRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getActionCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getActionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetActionCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionPipelineJob resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface|null */ public function getExecutionPipelineJobItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineJobItem($id), $fetch); } + /** * Retrieves a ExecutionPipelineJob resource. * - * @param string $id ExecutionPipelineJob identifier - * @param array $queryParameters { + * @param string $id ExecutionPipelineJob identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of ExecutionPipelineJob resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineJob[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionPipelineJobCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionPipelineJobCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineJobCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionAction resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface|null */ public function getExecutionActionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionActionItem($id), $fetch); } + /** * Retrieves a ExecutionPipeline resource. * - * @param string $id ExecutionPipeline identifier - * @param array $queryParameters { + * @param string $id ExecutionPipeline identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of ExecutionPipeline resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipeline[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionPipelineCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id ExecutionWorkflow identifier - * @param string $jobs ExecutionWorkflowJob identifier + * @param string $id ExecutionWorkflow identifier + * @param string $jobs ExecutionWorkflowJob identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource(string $id, string $jobs, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource($id, $jobs), $fetch); } + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id ExecutionWorkflow identifier - * @param string $jobs ExecutionWorkflowJob identifier + * @param string $id ExecutionWorkflow identifier + * @param string $jobs ExecutionWorkflowJob identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource(string $id, string $jobs, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource($id, $jobs), $fetch); } + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id ExecutionWorkflow identifier - * @param array $queryParameters { + * @param string $id ExecutionWorkflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of ExecutionWorkflow resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflow[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionWorkflowCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionWorkflowCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionPipelineStep resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineStep|\Psr\Http\Message\ResponseInterface|null */ public function getExecutionPipelineStepItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineStepItem($id), $fetch); } + /** * Retrieves a ExecutionPipeline resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface|null */ public function getExecutionPipelineItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionPipelineItem($id), $fetch); } + /** * Retrieves a ExecutionWorkflowJobAction resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface|null */ public function getExecutionWorkflowJobActionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowJobActionItem($id), $fetch); } + /** * Retrieves a ExecutionWorkflowJob resource. * - * @param string $id ExecutionWorkflowJob identifier + * @param string $id ExecutionWorkflowJob identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource($id), $fetch); } + /** * Retrieves a ExecutionWorkflowJob resource. * - * @param string $id ExecutionWorkflowJob identifier + * @param string $id ExecutionWorkflowJob identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource($id), $fetch); } + /** * Retrieves a ExecutionWorkflowJob resource. * - * @param string $id ExecutionWorkflowJob identifier - * @param string $pipeline ExecutionPipelineJob identifier - * @param array $queryParameters { + * @param string $id ExecutionWorkflowJob identifier + * @param string $pipeline ExecutionPipelineJob identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource(string $id, string $pipeline, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource(string $id, string $pipeline, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource($id, $pipeline, $queryParameters), $fetch); } + /** * Retrieves the collection of ExecutionWorkflowJob resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionWorkflowJobCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionWorkflowJobCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowJobCollection($queryParameters), $fetch); } + /** * Retrieves a ExecutionWorkflowJob resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob|\Psr\Http\Message\ResponseInterface|null */ public function getExecutionWorkflowJobItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowJobItem($id), $fetch); } + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface|null */ public function getExecutionWorkflowItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionWorkflowItem($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetExecutionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionRead|\Psr\Http\Message\ResponseInterface|null */ public function getExecutionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionItem($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionAction|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsActionGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsActionGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsOrganizationGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsOrganizationGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsOwnerGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsOwnerGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionPipeline|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsPipelineGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsPipelineGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflow|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsWorkflowGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier - * @param string $workflow ExecutionWorkflow identifier - * @param array $queryParameters { + * @param string $id Execution identifier + * @param string $workflow ExecutionWorkflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiExecutionsWorkflowJobsGetSubresourceExecutionSubresource(string $id, string $workflow, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiExecutionsWorkflowJobsGetSubresourceExecutionSubresource(string $id, string $workflow, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource($id, $workflow, $queryParameters), $fetch); } + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier + * @param string $id Execution identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiExecutionsWorkspaceGetSubresourceExecutionSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiExecutionsWorkspaceGetSubresourceExecutionSubresource($id), $fetch); } + /** * Retrieves the collection of Execution resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getExecutionCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getExecutionCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetExecutionCollection($queryParameters), $fetch); } + /** - * Declares a pipeline execution + * Declares a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function declareExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclareExecutionExecutionCollection($requestBody), $fetch); } + /** - * Finishes a pipeline execution + * Finishes a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function finishExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\FinishExecutionExecutionCollection($requestBody), $fetch); } + /** - * Interrupts a pipeline execution + * Interrupts a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function interruptExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\InterruptExecutionExecutionCollection($requestBody), $fetch); } + /** - * Resumes a pipeline execution + * Resumes a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function resumeExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ResumeExecutionExecutionCollection($requestBody), $fetch); } + /** - * Starts a pipeline execution + * Starts a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function startExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\StartExecutionExecutionCollection($requestBody), $fetch); } + /** - * Terminates a pipeline execution + * Terminates a pipeline execution. + * + * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function terminateExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\TerminateExecutionExecutionCollection($requestBody), $fetch); } + /** - * Updates a pipeline execution state + * Updates a pipeline execution state. + * + * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function updateExecutionStateExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\UpdateExecutionStateExecutionCollection($requestBody), $fetch); } + /** * Retrieves a PipelineCompilation resource. * - * @param string $id PipelineCompilation identifier + * @param string $id PipelineCompilation identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource($id), $fetch); } + /** * Retrieves a PipelineCompilation resource. * - * @param string $id PipelineCompilation identifier + * @param string $id PipelineCompilation identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource($id), $fetch); } + /** * Retrieves a PipelineCompilation resource. * - * @param string $id PipelineCompilation identifier + * @param string $id PipelineCompilation identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource($id), $fetch); } + /** * Retrieves the collection of PipelineStepProbe resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface|null */ - public function getPipelineStepProbeCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getPipelineStepProbeCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepProbeCollection($queryParameters), $fetch); } + /** * Retrieves a PipelineStepProbe resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStepProbe|\Psr\Http\Message\ResponseInterface|null */ public function getPipelineStepProbeItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepProbeItem($id), $fetch); } + /** * Retrieves a PipelineStep resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineStep|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStep|\Psr\Http\Message\ResponseInterface|null */ public function getPipelineStepItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepItem($id), $fetch); } + /** * Retrieves a PipelineStep resource. * - * @param string $id PipelineStep identifier - * @param array $queryParameters { + * @param string $id PipelineStep identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStepProbe[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiPipelineStepsProbesGetSubresourcePipelineStepSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiPipelineStepsProbesGetSubresourcePipelineStepSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource($id, $queryParameters), $fetch); } + /** * Retrieves the collection of PipelineStep resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineStep[]|\Psr\Http\Message\ResponseInterface|null */ - public function getPipelineStepCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getPipelineStepCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineStepCollection($queryParameters), $fetch); } + /** - * Deletes a pipeline + * Deletes a pipeline. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\DeletePipelinePipelineItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function deletePipelinePipelineItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeletePipelinePipelineItem($id), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetPipelineItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineRead|\Psr\Http\Message\ResponseInterface|null */ public function getPipelineItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineItem($id), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Pipeline identifier - * @param array $queryParameters { + * @param string $id Pipeline identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiPipelinesCompilationsGetSubresourcePipelineSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiPipelinesCompilationsGetSubresourcePipelineSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesCompilationsGetSubresourcePipelineSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Pipeline identifier + * @param string $id Pipeline identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelinesOrganizationGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesOrganizationGetSubresourcePipelineSubresource($id), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Pipeline identifier + * @param string $id Pipeline identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelinesOwnerGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesOwnerGetSubresourcePipelineSubresource($id), $fetch); } + /** - * Removes a step from a pipeline + * Removes a step from a pipeline. * - * @param string $code Step resource code - * @param string $id Resource identifier + * @param string $code Step resource code + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function deletePipelineStepPipelineItem(string $code, string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeletePipelineStepPipelineItem($code, $id), $fetch); } + /** - * Removes a probe from a step + * Removes a probe from a step. * - * @param string $code Step resource code - * @param string $probeCode Probe resource code + * @param string $code Step resource code + * @param string $probeCode Probe resource code * @param string $probeLabel Probe resource code - * @param string $id Resource identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function removePipelineStepProbePipelineItem(string $code, string $probeCode, string $probeLabel, string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\RemovePipelineStepProbePipelineItem($code, $probeCode, $probeLabel, $id), $fetch); } + /** * Retrieves a Pipeline resource. * - * @param string $id Pipeline identifier + * @param string $id Pipeline identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiPipelinesWorkspaceGetSubresourcePipelineSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiPipelinesWorkspaceGetSubresourcePipelineSubresource($id), $fetch); } + /** * Retrieves the collection of Pipeline resources. * * @param array $queryParameters { + * * @var int $page The collection page number - * @var string $code - * @var array $code[] + * @var string $code + * @var array $code[] * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getPipelineCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getPipelineCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCollection($queryParameters), $fetch); } + /** - * Declares a docker pipeline + * Declares a docker pipeline. + * + * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function declarePipelinePipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclarePipelinePipelineCollection($requestBody), $fetch); } + /** - * Adds PSR4 autoload composer to a pipeline + * Adds PSR4 autoload composer to a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function addComposerPipelinePipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerPipelinePipelineCollection($requestBody), $fetch); } + /** * Retrieves the collection of PipelineCompilation resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineCompilation[]|\Psr\Http\Message\ResponseInterface|null */ - public function getPipelineCompilationCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getPipelineCompilationCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCompilationCollection($queryParameters), $fetch); } + /** - * Creates a pipeline compilation + * Creates a pipeline compilation. + * + * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function pipelineCompilationPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PipelineCompilationPipelineCollection($requestBody), $fetch); } + /** - * Adds a step after another one in a pipeline + * Adds a step after another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function addAfterPipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddAfterPipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Adds a step before another one in a pipeline + * Adds a step before another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function addBeforePipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddBeforePipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Appends a step to a pipeline + * Appends a step to a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function appendPipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AppendPipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Moves a step after another one in a pipeline + * Moves a step after another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function moveAfterPipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveAfterPipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Moves a step before another one in a pipeline + * Moves a step before another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function moveBeforePipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveBeforePipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Adds a probe to a step + * Adds a probe to a step. + * + * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function addPipelineStepProbePipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddPipelineStepProbePipelineCollection($requestBody), $fetch); } + /** - * Reorganizes the steps of a pipeline according to a given order + * Reorganizes the steps of a pipeline according to a given order. + * + * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function reorderPipelineStepsPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReorderPipelineStepsPipelineCollection($requestBody), $fetch); } + /** - * Replaces a step by another one in a pipeline + * Replaces a step by another one in a pipeline. + * + * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionUnprocessableEntityException * - * @return null|\Psr\Http\Message\ResponseInterface + * @return \Psr\Http\Message\ResponseInterface|null */ public function replacePipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReplacePipelineStepPipelineCollection($requestBody), $fetch); } + /** - * Schedule a pipeline execution immediately + * Schedule a pipeline execution immediately. + * + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand|\Psr\Http\Message\ResponseInterface|null */ public function scheduleImmediateScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleImmediateScheduleCollection($requestBody), $fetch); } + /** - * Schedule an immediate pipeline execution + * Schedule an immediate pipeline execution. + * + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand|\Psr\Http\Message\ResponseInterface|null */ public function scheduleOnceScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleOnceScheduleCollection($requestBody), $fetch); } + /** - * Schedule a recurring pipeline execution + * Schedule a recurring pipeline execution. + * + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand|\Psr\Http\Message\ResponseInterface|null */ public function scheduleTimesScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleTimesScheduleCollection($requestBody), $fetch); } + /** - * Schedule a delayed pipeline execution + * Schedule a delayed pipeline execution. + * + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand|\Psr\Http\Message\ResponseInterface|null */ public function scheduleUntilScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleUntilScheduleCollection($requestBody), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetScheduleItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Schedule|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Schedule|\Psr\Http\Message\ResponseInterface|null */ public function getScheduleItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetScheduleItem($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier - * @param array $queryParameters { + * @param string $id Schedule identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\ExecutionRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiSchedulesExecutionsGetSubresourceScheduleSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiSchedulesExecutionsGetSubresourceScheduleSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesExecutionsGetSubresourceScheduleSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesOrganizationGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesOrganizationGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesOwnerGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesOwnerGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\PipelineRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineRead|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesPipelineGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesPipelineGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\WorkflowRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowRead|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkflowGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier - * @param string $workflow Workflow identifier - * @param array $queryParameters { + * @param string $id Schedule identifier + * @param string $workflow Workflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiSchedulesWorkflowJobsGetSubresourceScheduleSubresource(string $id, string $workflow, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiSchedulesWorkflowJobsGetSubresourceScheduleSubresource(string $id, string $workflow, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource($id, $workflow, $queryParameters), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $workflow Workflow identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource(string $id, string $workflow, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource($id, $workflow), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $workflow Workflow identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource(string $id, string $workflow, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource($id, $workflow), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $workflow Workflow identifier - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource(string $id, string $workflow, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource($id, $workflow), $fetch); } + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiSchedulesWorkspaceGetSubresourceScheduleSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiSchedulesWorkspaceGetSubresourceScheduleSubresource($id), $fetch); } + /** * Retrieves the collection of Schedule resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Schedule[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Schedule[]|\Psr\Http\Message\ResponseInterface|null */ - public function getScheduleCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getScheduleCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetScheduleCollection($queryParameters), $fetch); } + /** * Retrieves a WorkflowJobAction resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowJobAction|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobAction|\Psr\Http\Message\ResponseInterface|null */ public function getWorkflowJobActionItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobActionItem($id), $fetch); } + /** * Retrieves a WorkflowJob resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobRead|\Psr\Http\Message\ResponseInterface|null */ public function getWorkflowJobItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobItem($id), $fetch); } + /** * Retrieves a WorkflowJobPipeline resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowJobPipeline|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobPipeline|\Psr\Http\Message\ResponseInterface|null */ public function getWorkflowJobPipelineItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowJobPipelineItem($id), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowRead|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowRead|\Psr\Http\Message\ResponseInterface|null */ public function getWorkflowItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowItem($id), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Workflow identifier - * @param array $queryParameters { + * @param string $id Workflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowJobRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function apiWorkflowsJobsGetSubresourceWorkflowSubresource(string $id, array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function apiWorkflowsJobsGetSubresourceWorkflowSubresource(string $id, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsJobsGetSubresourceWorkflowSubresource($id, $queryParameters), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Workflow identifier + * @param string $id Workflow identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ public function apiWorkflowsOrganizationGetSubresourceWorkflowSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource($id), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Workflow identifier + * @param string $id Workflow identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ public function apiWorkflowsOwnerGetSubresourceWorkflowSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsOwnerGetSubresourceWorkflowSubresource($id), $fetch); } + /** * Retrieves a Workflow resource. * - * @param string $id Workflow identifier + * @param string $id Workflow identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ public function apiWorkflowsWorkspaceGetSubresourceWorkflowSubresource(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource($id), $fetch); } + /** * Retrieves the collection of Workflow resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } + * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return null|\Gyroscops\Api\Model\WorkflowRead[]|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\WorkflowRead[]|\Psr\Http\Message\ResponseInterface|null */ - public function getWorkflowCollection(array $queryParameters = array(), string $fetch = self::FETCH_OBJECT) + public function getWorkflowCollection(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetWorkflowCollection($queryParameters), $fetch); } + /** * Retrieves a PipelineCompilation resource. * - * @param string $id Resource identifier + * @param string $id Resource identifier * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * * @throws \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineCompilation|\Psr\Http\Message\ResponseInterface + * @return \Gyroscops\Api\Model\PipelineCompilation|\Psr\Http\Message\ResponseInterface|null */ public function getPipelineCompilationItem(string $id, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\GetPipelineCompilationItem($id), $fetch); } - public static function create($httpClient = null, array $additionalPlugins = array(), array $additionalNormalizers = array()) + + public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) { if (null === $httpClient) { $httpClient = \Http\Discovery\Psr18ClientDiscovery::find(); - $plugins = array(); + $plugins = []; if (count($additionalPlugins) > 0) { $plugins = array_merge($plugins, $additionalPlugins); } @@ -2175,11 +3003,12 @@ public static function create($httpClient = null, array $additionalPlugins = arr } $requestFactory = \Http\Discovery\Psr17FactoryDiscovery::findRequestFactory(); $streamFactory = \Http\Discovery\Psr17FactoryDiscovery::findStreamFactory(); - $normalizers = array(new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), new \Gyroscops\Api\Normalizer\JaneObjectNormalizer()); + $normalizers = [new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), new \Gyroscops\Api\Normalizer\JaneObjectNormalizer()]; if (count($additionalNormalizers) > 0) { $normalizers = array_merge($normalizers, $additionalNormalizers); } - $serializer = new \Symfony\Component\Serializer\Serializer($normalizers, array(new \Symfony\Component\Serializer\Encoder\JsonEncoder(new \Symfony\Component\Serializer\Encoder\JsonEncode(), new \Symfony\Component\Serializer\Encoder\JsonDecode(array('json_decode_associative' => true))))); + $serializer = new \Symfony\Component\Serializer\Serializer($normalizers, [new \Symfony\Component\Serializer\Encoder\JsonEncoder(new \Symfony\Component\Serializer\Encoder\JsonEncode(), new \Symfony\Component\Serializer\Encoder\JsonDecode(['json_decode_associative' => true]))]); + return new static($httpClient, $requestFactory, $serializer, $streamFactory); } -} \ No newline at end of file +} diff --git a/src/Endpoint/AcceptReferralRequestReferralRequestItem.php b/src/Endpoint/AcceptReferralRequestReferralRequestItem.php index 20cae6a3..711dbacb 100644 --- a/src/Endpoint/AcceptReferralRequestReferralRequestItem.php +++ b/src/Endpoint/AcceptReferralRequestReferralRequestItem.php @@ -4,35 +4,41 @@ class AcceptReferralRequestReferralRequestItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** - * Accepts a referral request + * Accepts a referral request. * - * @param string $id Resource identifier - * @param null $requestBody + * @param string $id Resource identifier + * @param null $requestBody */ public function __construct(string $id, $requestBody = null) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/referral-request/{id}/accept'); + return str_replace(['{id}'], [$this->id], '/referral/referral-request/{id}/accept'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -40,11 +46,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (400 === $status) { @@ -57,8 +63,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AcceptReferralRequestReferralRequestItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php b/src/Endpoint/AddAfterPipelineStepPipelineCollection.php index 3f69cbf1..02882e5a 100644 --- a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/AddAfterPipelineStepPipelineCollection.php @@ -4,41 +4,48 @@ class AddAfterPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Adds a step after another one in a pipeline + * Adds a step after another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/add-after'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddBeforePipelineStepPipelineCollection.php b/src/Endpoint/AddBeforePipelineStepPipelineCollection.php index 8b2d73dd..d2630ecd 100644 --- a/src/Endpoint/AddBeforePipelineStepPipelineCollection.php +++ b/src/Endpoint/AddBeforePipelineStepPipelineCollection.php @@ -4,41 +4,48 @@ class AddBeforePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Adds a step before another one in a pipeline + * Adds a step before another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/add-before'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddComposerPipelinePipelineCollection.php b/src/Endpoint/AddComposerPipelinePipelineCollection.php index ee726837..6d4fea01 100644 --- a/src/Endpoint/AddComposerPipelinePipelineCollection.php +++ b/src/Endpoint/AddComposerPipelinePipelineCollection.php @@ -4,41 +4,48 @@ class AddComposerPipelinePipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Adds PSR4 autoload composer to a pipeline + * Adds PSR4 autoload composer to a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/add-composer'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddPipelineStepProbePipelineCollection.php b/src/Endpoint/AddPipelineStepProbePipelineCollection.php index 32b7c39a..16b7469c 100644 --- a/src/Endpoint/AddPipelineStepProbePipelineCollection.php +++ b/src/Endpoint/AddPipelineStepProbePipelineCollection.php @@ -4,41 +4,48 @@ class AddPipelineStepProbePipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Adds a probe to a step + * Adds a probe to a step. * - * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/probes'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AddValueConfigMapCollection.php b/src/Endpoint/AddValueConfigMapCollection.php new file mode 100644 index 00000000..7de6f6da --- /dev/null +++ b/src/Endpoint/AddValueConfigMapCollection.php @@ -0,0 +1,70 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/config-map/{id}/put/'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \stdClass) { + return [['Content-Type' => ['application/json']], json_encode($this->body)]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\AddValueConfigMapCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\ConfigMap[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap[]', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\AddValueConfigMapCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\AddValueConfigMapCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/AddValueSecretCollection.php b/src/Endpoint/AddValueSecretCollection.php index f2e316e0..c1bd1f3c 100644 --- a/src/Endpoint/AddValueSecretCollection.php +++ b/src/Endpoint/AddValueSecretCollection.php @@ -4,49 +4,55 @@ class AddValueSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** - * Adds a new Secret value to the Secret storage + * Adds a new Secret value to the Secret storage. * * @param string $id Secret resource code - * @param null|\stdClass $requestBody */ public function __construct(string $id, ?\stdClass $requestBody = null) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/secret/{id}/put/'); + return str_replace(['{id}'], [$this->id], '/environment/secret/{id}/put/'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \stdClass) { - return array(array('Content-Type' => array('application/json')), json_encode($this->body)); + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Secret[] + * @return \Gyroscops\Api\Model\Secret[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json'); } if (400 === $status) { @@ -56,8 +62,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AddValueSecretCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php index 9e4d9d8c..c358291d 100644 --- a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php @@ -4,7 +4,9 @@ class ApiActionsOrganizationGetSubresourceActionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Action resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/action/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/action/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php index c9ae0b6f..4aa6943b 100644 --- a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php @@ -4,7 +4,9 @@ class ApiActionsOwnerGetSubresourceActionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Action resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/action/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/action/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php index 29c07d9c..85678b40 100644 --- a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php @@ -4,7 +4,9 @@ class ApiActionsWorkspaceGetSubresourceActionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Action resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/action/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/action/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php index 10e90004..7f4e47d3 100644 --- a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php +++ b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php @@ -4,60 +4,69 @@ class ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionPipelineJob resource. * - * @param string $id ExecutionPipelineJob identifier - * @param array $queryParameters { + * @param string $id ExecutionPipelineJob identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution-pipeline-job/{id}/steps'); + return str_replace(['{id}'], [$this->id], '/runtime/execution-pipeline-job/{id}/steps'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[] + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php index f4ab474b..265c81b1 100644 --- a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php +++ b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php @@ -4,60 +4,69 @@ class ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionPipeline resource. * - * @param string $id ExecutionPipeline identifier - * @param array $queryParameters { + * @param string $id ExecutionPipeline identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/execution-pipeline/{id}/steps'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/execution-pipeline/{id}/steps'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[] + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php index ba214bbb..238b5a82 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php @@ -4,7 +4,9 @@ class ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionWorkflowJob resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/execution-workflow-job/{id}/action'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/execution-workflow-job/{id}/action'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php index dbb05f8d..aa756df8 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php @@ -4,7 +4,9 @@ class ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionWorkflowJob resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/execution-workflow-job/{id}/pipeline'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/execution-workflow-job/{id}/pipeline'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php index fdd34775..d4a70694 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php @@ -4,63 +4,72 @@ class ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $pipeline; + /** * Retrieves a ExecutionWorkflowJob resource. * - * @param string $id ExecutionWorkflowJob identifier - * @param string $pipeline ExecutionPipelineJob identifier - * @param array $queryParameters { + * @param string $id ExecutionWorkflowJob identifier + * @param string $pipeline ExecutionPipelineJob identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, string $pipeline, array $queryParameters = array()) + public function __construct(string $id, string $pipeline, array $queryParameters = []) { $this->id = $id; $this->pipeline = $pipeline; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{pipeline}'), array($this->id, $this->pipeline), '/runtime/execution/workflow/execution-workflow-job/{id}/pipeline/steps'); + return str_replace(['{id}', '{pipeline}'], [$this->id, $this->pipeline], '/runtime/execution/workflow/execution-workflow-job/{id}/pipeline/steps'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep[] + * @return \Gyroscops\Api\Model\ExecutionPipelineStep[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php index e6404c6a..a18bdd37 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php @@ -4,12 +4,14 @@ class ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $jobs; + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id ExecutionWorkflow identifier + * @param string $id ExecutionWorkflow identifier * @param string $jobs ExecutionWorkflowJob identifier */ public function __construct(string $id, string $jobs) @@ -17,37 +19,41 @@ public function __construct(string $id, string $jobs) $this->id = $id; $this->jobs = $jobs; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{jobs}'), array($this->id, $this->jobs), '/runtime/execution/execution-workflow/{id}/job/{job}/action'); + return str_replace(['{id}', '{jobs}'], [$this->id, $this->jobs], '/runtime/execution/execution-workflow/{id}/job/{job}/action'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php index 58ee03fe..5e7537a9 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php @@ -4,60 +4,69 @@ class ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id ExecutionWorkflow identifier - * @param array $queryParameters { + * @param string $id ExecutionWorkflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/execution-workflow/{id}/jobs'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/execution-workflow/{id}/jobs'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[] + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php index d556ca18..ac1847ad 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php @@ -4,12 +4,14 @@ class ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $jobs; + /** * Retrieves a ExecutionWorkflow resource. * - * @param string $id ExecutionWorkflow identifier + * @param string $id ExecutionWorkflow identifier * @param string $jobs ExecutionWorkflowJob identifier */ public function __construct(string $id, string $jobs) @@ -17,37 +19,41 @@ public function __construct(string $id, string $jobs) $this->id = $id; $this->jobs = $jobs; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{jobs}'), array($this->id, $this->jobs), '/runtime/execution/execution-workflow/{id}/job/{job}/pipeline'); + return str_replace(['{id}', '{jobs}'], [$this->id, $this->jobs], '/runtime/execution/execution-workflow/{id}/job/{job}/pipeline'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php index 3f5ad3a2..32f59d0f 100644 --- a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php @@ -4,7 +4,9 @@ class ApiExecutionsActionGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Execution resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/action'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/action'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionAction + * @return \Gyroscops\Api\Model\ExecutionAction|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php index 578a1bcf..1e64e52a 100644 --- a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php @@ -4,7 +4,9 @@ class ApiExecutionsOrganizationGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Execution resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php index 8d87d5a3..81c0da1f 100644 --- a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php @@ -4,7 +4,9 @@ class ApiExecutionsOwnerGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Execution resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php index c1d0dceb..7c5386a8 100644 --- a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php @@ -4,7 +4,9 @@ class ApiExecutionsPipelineGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Execution resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/pipeline'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/pipeline'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline + * @return \Gyroscops\Api\Model\ExecutionPipeline|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php index 3d4a0e88..47fde683 100644 --- a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php @@ -4,7 +4,9 @@ class ApiExecutionsWorkflowGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Execution resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/workflow'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/workflow'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow + * @return \Gyroscops\Api\Model\ExecutionWorkflow|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php index d8717089..156b49ee 100644 --- a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php @@ -4,63 +4,72 @@ class ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $workflow; + /** * Retrieves a Execution resource. * - * @param string $id Execution identifier - * @param string $workflow ExecutionWorkflow identifier - * @param array $queryParameters { + * @param string $id Execution identifier + * @param string $workflow ExecutionWorkflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, string $workflow, array $queryParameters = array()) + public function __construct(string $id, string $workflow, array $queryParameters = []) { $this->id = $id; $this->workflow = $workflow; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/execution/{id}/workflow/jobs'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/execution/{id}/workflow/jobs'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[] + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php index 3faa3976..7131200d 100644 --- a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php @@ -4,7 +4,9 @@ class ApiExecutionsWorkspaceGetSubresourceExecutionSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Execution resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php b/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php new file mode 100644 index 00000000..10682741 --- /dev/null +++ b/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php @@ -0,0 +1,72 @@ +id = $id; + $this->queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}/options'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Option[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Option[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php index 1db61818..5f1d58f0 100644 --- a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php @@ -4,60 +4,69 @@ class ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}/authorizations'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}/authorizations'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\UserAuthorization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php index 0d3264ab..a6888c4c 100644 --- a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php @@ -4,60 +4,69 @@ class ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}/external-collaborators'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}/external-collaborators'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php index 4f233bd9..6e31c194 100644 --- a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php @@ -4,60 +4,69 @@ class ApiOrganizationsUsersGetSubresourceOrganizationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}/users'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}/users'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php index 4a7f0395..b70f1ef3 100644 --- a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php @@ -4,60 +4,69 @@ class ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Organization resource. * - * @param string $id Organization identifier - * @param array $queryParameters { + * @param string $id Organization identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}/workspaces'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}/workspaces'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace[] + * @return \Gyroscops\Api\Model\Workspace[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php index 66374b03..f89572fc 100644 --- a/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php @@ -4,7 +4,9 @@ class ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a PipelineCompilation resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline-compilation/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline-compilation/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php index 6ae475ab..a87d961a 100644 --- a/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php @@ -4,7 +4,9 @@ class ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a PipelineCompilation resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline-compilation/{id}/user'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline-compilation/{id}/user'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php index 5319cb33..14d15e1c 100644 --- a/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php @@ -4,7 +4,9 @@ class ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a PipelineCompilation resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline-compilation/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline-compilation/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php index c3ee0014..917bf195 100644 --- a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php +++ b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php @@ -4,60 +4,69 @@ class ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a PipelineStep resource. * - * @param string $id PipelineStep identifier - * @param array $queryParameters { + * @param string $id PipelineStep identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/step/{id}/probes'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/step/{id}/probes'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe[] + * @return \Gyroscops\Api\Model\PipelineStepProbe[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php index 2813a6f6..31638d17 100644 --- a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php @@ -4,60 +4,69 @@ class ApiPipelinesCompilationsGetSubresourcePipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Pipeline resource. * - * @param string $id Pipeline identifier - * @param array $queryParameters { + * @param string $id Pipeline identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}/compilations'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/compilations'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineCompilation[] + * @return \Gyroscops\Api\Model\PipelineCompilation[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php index e1be9f63..9e21d1f3 100644 --- a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php @@ -4,7 +4,9 @@ class ApiPipelinesOrganizationGetSubresourcePipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Pipeline resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php index 64a69b30..4a4cf4a8 100644 --- a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php @@ -4,7 +4,9 @@ class ApiPipelinesOwnerGetSubresourcePipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Pipeline resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php index 4577d4ed..27202847 100644 --- a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php @@ -4,7 +4,9 @@ class ApiPipelinesWorkspaceGetSubresourcePipelineSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Pipeline resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php index 12a4bf4a..b8241ec1 100644 --- a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php @@ -4,60 +4,69 @@ class ApiSchedulesExecutionsGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier - * @param array $queryParameters { + * @param string $id Schedule identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/executions'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/executions'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionRead[] + * @return \Gyroscops\Api\Model\ExecutionRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php index 2dc7c412..e58be9eb 100644 --- a/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php @@ -4,7 +4,9 @@ class ApiSchedulesOrganizationGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Schedule resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php index 99c893fe..55ce222b 100644 --- a/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php @@ -4,7 +4,9 @@ class ApiSchedulesOwnerGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Schedule resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php index 4904adde..82998fec 100644 --- a/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php @@ -4,7 +4,9 @@ class ApiSchedulesPipelineGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Schedule resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/pipeline'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/pipeline'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineRead + * @return \Gyroscops\Api\Model\PipelineRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php index 74870c62..74faa7e9 100644 --- a/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php @@ -4,7 +4,9 @@ class ApiSchedulesWorkflowGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Schedule resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/workflow'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/workflow'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\WorkflowRead + * @return \Gyroscops\Api\Model\WorkflowRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php index 22ba0906..54640aea 100644 --- a/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php @@ -4,63 +4,72 @@ class ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $workflow; + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier - * @param string $workflow Workflow identifier - * @param array $queryParameters { + * @param string $id Schedule identifier + * @param string $workflow Workflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, string $workflow, array $queryParameters = array()) + public function __construct(string $id, string $workflow, array $queryParameters = []) { $this->id = $id; $this->workflow = $workflow; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/schedule/{id}/workflow/jobs'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/schedule/{id}/workflow/jobs'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead[] + * @return \Gyroscops\Api\Model\WorkflowJobRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php index 8e25f8ac..eba72438 100644 --- a/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php @@ -4,12 +4,14 @@ class ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $workflow; + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $workflow Workflow identifier */ public function __construct(string $id, string $workflow) @@ -17,37 +19,41 @@ public function __construct(string $id, string $workflow) $this->id = $id; $this->workflow = $workflow; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/schedule/{id}/workflow/organization'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/schedule/{id}/workflow/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php index 79963973..437f4ed8 100644 --- a/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php @@ -4,12 +4,14 @@ class ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $workflow; + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $workflow Workflow identifier */ public function __construct(string $id, string $workflow) @@ -17,37 +19,41 @@ public function __construct(string $id, string $workflow) $this->id = $id; $this->workflow = $workflow; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/schedule/{id}/workflow/owner'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/schedule/{id}/workflow/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php index 29b42aca..3cc27e0c 100644 --- a/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php @@ -4,12 +4,14 @@ class ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; protected $workflow; + /** * Retrieves a Schedule resource. * - * @param string $id Schedule identifier + * @param string $id Schedule identifier * @param string $workflow Workflow identifier */ public function __construct(string $id, string $workflow) @@ -17,37 +19,41 @@ public function __construct(string $id, string $workflow) $this->id = $id; $this->workflow = $workflow; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}', '{workflow}'), array($this->id, $this->workflow), '/runtime/schedule/{id}/workflow/workspace'); + return str_replace(['{id}', '{workflow}'], [$this->id, $this->workflow], '/runtime/schedule/{id}/workflow/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php index 79c05b40..f6443bfa 100644 --- a/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php @@ -4,7 +4,9 @@ class ApiSchedulesWorkspaceGetSubresourceScheduleSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Schedule resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php new file mode 100644 index 00000000..092c7bc9 --- /dev/null +++ b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php @@ -0,0 +1,56 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscriptions/{id}/offer'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Offer|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php new file mode 100644 index 00000000..a1484939 --- /dev/null +++ b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php @@ -0,0 +1,72 @@ +id = $id; + $this->queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscriptions/{id}/options'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\SubscriptionOption[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOption[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php new file mode 100644 index 00000000..bc3c8132 --- /dev/null +++ b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php @@ -0,0 +1,56 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscriptions/{id}/organization'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Organization|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php index a4d14311..fdb37367 100644 --- a/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php +++ b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php @@ -4,60 +4,69 @@ class ApiUsersAuthorizationsGetSubresourceUserSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a User resource. * - * @param string $id User identifier - * @param array $queryParameters { + * @param string $id User identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}/authorizations'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}/authorizations'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\UserAuthorization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php index 19a13342..d11b4e64 100644 --- a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php @@ -4,60 +4,69 @@ class ApiWorkflowsJobsGetSubresourceWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Workflow resource. * - * @param string $id Workflow identifier - * @param array $queryParameters { + * @param string $id Workflow identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}/jobs'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}/jobs'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead[] + * @return \Gyroscops\Api\Model\WorkflowJobRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php index 8d5ea234..5daee479 100644 --- a/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php @@ -4,7 +4,9 @@ class ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Workflow resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}/organization'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}/organization'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php index c132aff8..b1bc68e8 100644 --- a/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php @@ -4,7 +4,9 @@ class ApiWorkflowsOwnerGetSubresourceWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Workflow resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}/owner'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}/owner'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php index 85329365..9c0fb90e 100644 --- a/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php @@ -4,7 +4,9 @@ class ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Workflow resource. * @@ -14,37 +16,41 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}/workspace'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}/workspace'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php index 0e54089c..81fbf012 100644 --- a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php @@ -4,60 +4,69 @@ class ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Workspace resource. * - * @param string $id Workspace identifier - * @param array $queryParameters { + * @param string $id Workspace identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}/authorizations'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}/authorizations'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\UserAuthorization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php index f8149652..4dc603ab 100644 --- a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php @@ -4,60 +4,69 @@ class ApiWorkspacesUsersGetSubresourceWorkspaceSubresource extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Workspace resource. * - * @param string $id Workspace identifier - * @param array $queryParameters { + * @param string $id Workspace identifier + * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(string $id, array $queryParameters = array()) + public function __construct(string $id, array $queryParameters = []) { $this->id = $id; $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}/users'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}/users'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/AppendPipelineStepPipelineCollection.php b/src/Endpoint/AppendPipelineStepPipelineCollection.php index f59d3ec0..19fcd9eb 100644 --- a/src/Endpoint/AppendPipelineStepPipelineCollection.php +++ b/src/Endpoint/AppendPipelineStepPipelineCollection.php @@ -4,41 +4,48 @@ class AppendPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Appends a step to a pipeline + * Appends a step to a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/append'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ChangePasswordUserItem.php b/src/Endpoint/ChangePasswordUserItem.php index deabbfcf..518387da 100644 --- a/src/Endpoint/ChangePasswordUserItem.php +++ b/src/Endpoint/ChangePasswordUserItem.php @@ -4,38 +4,44 @@ class ChangePasswordUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Updates the User resource. * * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody */ public function __construct(string $id, \Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}/change-password'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}/change-password'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserUserChangePasswordInput) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -43,11 +49,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemNotFoundException * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { @@ -60,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ChangePasswordUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeclareExecutionExecutionCollection.php b/src/Endpoint/DeclareExecutionExecutionCollection.php index 2d448f07..800bd110 100644 --- a/src/Endpoint/DeclareExecutionExecutionCollection.php +++ b/src/Endpoint/DeclareExecutionExecutionCollection.php @@ -4,41 +4,48 @@ class DeclareExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Declares a pipeline execution + * Declares a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/declare'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeclarePipelinePipelineCollection.php b/src/Endpoint/DeclarePipelinePipelineCollection.php index c7caae97..367c5c49 100644 --- a/src/Endpoint/DeclarePipelinePipelineCollection.php +++ b/src/Endpoint/DeclarePipelinePipelineCollection.php @@ -4,41 +4,48 @@ class DeclarePipelinePipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Declares a docker pipeline + * Declares a docker pipeline. * - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteOfferItem.php b/src/Endpoint/DeleteOfferItem.php new file mode 100644 index 00000000..2a686299 --- /dev/null +++ b/src/Endpoint/DeleteOfferItem.php @@ -0,0 +1,56 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\DeleteOfferItemNotFoundException + * + * @return null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (204 === $status) { + return null; + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\DeleteOfferItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteOrganizationItem.php b/src/Endpoint/DeleteOrganizationItem.php index f2e20075..d66b19b3 100644 --- a/src/Endpoint/DeleteOrganizationItem.php +++ b/src/Endpoint/DeleteOrganizationItem.php @@ -4,7 +4,9 @@ class DeleteOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Removes the Organization resource. * @@ -14,19 +16,22 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteOrganizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeletePipelinePipelineItem.php b/src/Endpoint/DeletePipelinePipelineItem.php index eac420ae..58fedab3 100644 --- a/src/Endpoint/DeletePipelinePipelineItem.php +++ b/src/Endpoint/DeletePipelinePipelineItem.php @@ -4,9 +4,11 @@ class DeletePipelinePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** - * Deletes a pipeline + * Deletes a pipeline. * * @param string $id Resource identifier */ @@ -14,19 +16,22 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeletePipelinePipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeletePipelineStepPipelineItem.php b/src/Endpoint/DeletePipelineStepPipelineItem.php index 43ec2aec..0aedd365 100644 --- a/src/Endpoint/DeletePipelineStepPipelineItem.php +++ b/src/Endpoint/DeletePipelineStepPipelineItem.php @@ -4,32 +4,37 @@ class DeletePipelineStepPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $code; protected $id; + /** - * Removes a step from a pipeline + * Removes a step from a pipeline. * * @param string $code Step resource code - * @param string $id Resource identifier + * @param string $id Resource identifier */ public function __construct(string $code, string $id) { $this->code = $code; $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{code}', '{id}'), array($this->code, $this->id), '/runtime/pipeline/{id}/step/{code}'); + return str_replace(['{code}', '{id}'], [$this->code, $this->id], '/runtime/pipeline/{id}/step/{code}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * @@ -46,8 +51,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeletePipelineStepPipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteReferralCodeItem.php b/src/Endpoint/DeleteReferralCodeItem.php index ee720cc1..0889ff4f 100644 --- a/src/Endpoint/DeleteReferralCodeItem.php +++ b/src/Endpoint/DeleteReferralCodeItem.php @@ -4,7 +4,9 @@ class DeleteReferralCodeItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Removes the ReferralCode resource. * @@ -14,19 +16,22 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/code/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/code/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteReferralCodeItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteSubscriptionItem.php b/src/Endpoint/DeleteSubscriptionItem.php new file mode 100644 index 00000000..54d3540d --- /dev/null +++ b/src/Endpoint/DeleteSubscriptionItem.php @@ -0,0 +1,56 @@ +id = $id; + } + + public function getMethod(): string + { + return 'DELETE'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscription/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\DeleteSubscriptionItemNotFoundException + * + * @return null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (204 === $status) { + return null; + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\DeleteSubscriptionItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/DeleteUserAuthorizationItem.php b/src/Endpoint/DeleteUserAuthorizationItem.php index 024e191c..d0f1f8d6 100644 --- a/src/Endpoint/DeleteUserAuthorizationItem.php +++ b/src/Endpoint/DeleteUserAuthorizationItem.php @@ -4,7 +4,9 @@ class DeleteUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Removes the UserAuthorization resource. * @@ -14,19 +16,22 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteUserAuthorizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteUserItem.php b/src/Endpoint/DeleteUserItem.php index bdcece12..c42be39f 100644 --- a/src/Endpoint/DeleteUserItem.php +++ b/src/Endpoint/DeleteUserItem.php @@ -4,7 +4,9 @@ class DeleteUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Removes the User resource. * @@ -14,19 +16,22 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/DeleteWorkspaceItem.php b/src/Endpoint/DeleteWorkspaceItem.php index 4a92ec2c..81dd81d2 100644 --- a/src/Endpoint/DeleteWorkspaceItem.php +++ b/src/Endpoint/DeleteWorkspaceItem.php @@ -4,7 +4,9 @@ class DeleteWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Removes the Workspace resource. * @@ -14,19 +16,22 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * @@ -43,8 +48,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\DeleteWorkspaceItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/FinishExecutionExecutionCollection.php b/src/Endpoint/FinishExecutionExecutionCollection.php index 60e3d9d7..10f68815 100644 --- a/src/Endpoint/FinishExecutionExecutionCollection.php +++ b/src/Endpoint/FinishExecutionExecutionCollection.php @@ -4,41 +4,48 @@ class FinishExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Finishes a pipeline execution + * Finishes a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/finish'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetActionCollection.php b/src/Endpoint/GetActionCollection.php index b7b3354e..23d0189d 100644 --- a/src/Endpoint/GetActionCollection.php +++ b/src/Endpoint/GetActionCollection.php @@ -4,57 +4,66 @@ class GetActionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of Action resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/actions'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ActionRead[] + * @return \Gyroscops\Api\Model\ActionRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetActionItem.php b/src/Endpoint/GetActionItem.php index 23c891d8..a50c0635 100644 --- a/src/Endpoint/GetActionItem.php +++ b/src/Endpoint/GetActionItem.php @@ -4,7 +4,9 @@ class GetActionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Action resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/action/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/action/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ActionRead + * @return \Gyroscops\Api\Model\ActionRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetActionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php new file mode 100644 index 00000000..d50022ad --- /dev/null +++ b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php @@ -0,0 +1,71 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/instance/from-url'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['url', 'page']); + $optionsResolver->setRequired(['url']); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('url', ['string']); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoInstance[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceCollection.php new file mode 100644 index 00000000..5b4653b2 --- /dev/null +++ b/src/Endpoint/GetAkeneoInstanceCollection.php @@ -0,0 +1,69 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/instances'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoInstance[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoInstanceItem.php b/src/Endpoint/GetAkeneoInstanceItem.php new file mode 100644 index 00000000..0cb2d8c4 --- /dev/null +++ b/src/Endpoint/GetAkeneoInstanceItem.php @@ -0,0 +1,61 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/gateway/akeneo/instance/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\GetAkeneoInstanceItemNotFoundException + * + * @return \Gyroscops\Api\Model\AkeneoInstance|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetAkeneoInstanceItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php new file mode 100644 index 00000000..b8920e20 --- /dev/null +++ b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php @@ -0,0 +1,71 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/instance/oauth-state'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['url', 'page']); + $optionsResolver->setRequired(['url']); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('url', ['string']); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoInstance[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php new file mode 100644 index 00000000..48544622 --- /dev/null +++ b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php @@ -0,0 +1,71 @@ +akeneoUserId = $akeneoUserId; + $this->queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{akeneoUserId}'], [$this->akeneoUserId], '/gateway/akeneo/linked-account/{akeneoUserId}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountCollection.php new file mode 100644 index 00000000..d6d0571c --- /dev/null +++ b/src/Endpoint/GetAkeneoLinkedAccountCollection.php @@ -0,0 +1,69 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/linked-accounts'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoLinkedAccountItem.php b/src/Endpoint/GetAkeneoLinkedAccountItem.php new file mode 100644 index 00000000..146e859e --- /dev/null +++ b/src/Endpoint/GetAkeneoLinkedAccountItem.php @@ -0,0 +1,61 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/gateway/akeneo/linked-account/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\GetAkeneoLinkedAccountItemNotFoundException + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetAkeneoLinkedAccountItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoOauthTokenCollection.php b/src/Endpoint/GetAkeneoOauthTokenCollection.php new file mode 100644 index 00000000..d4970463 --- /dev/null +++ b/src/Endpoint/GetAkeneoOauthTokenCollection.php @@ -0,0 +1,69 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/gateway/akeneo/oauth/states'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\AkeneoOauthTokenRead[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetAkeneoOauthTokenItem.php b/src/Endpoint/GetAkeneoOauthTokenItem.php new file mode 100644 index 00000000..7fd6cda8 --- /dev/null +++ b/src/Endpoint/GetAkeneoOauthTokenItem.php @@ -0,0 +1,61 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/gateway/akeneo/oauth/state/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\GetAkeneoOauthTokenItemNotFoundException + * + * @return \Gyroscops\Api\Model\AkeneoOauthTokenRead|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetAkeneoOauthTokenItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetConfigMapCollection.php b/src/Endpoint/GetConfigMapCollection.php new file mode 100644 index 00000000..a64badd1 --- /dev/null +++ b/src/Endpoint/GetConfigMapCollection.php @@ -0,0 +1,69 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/environment/config-maps'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\ConfigMap[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetConfigMapItem.php b/src/Endpoint/GetConfigMapItem.php new file mode 100644 index 00000000..b21321e0 --- /dev/null +++ b/src/Endpoint/GetConfigMapItem.php @@ -0,0 +1,61 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/environment/config-map/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\GetConfigMapItemNotFoundException + * + * @return \Gyroscops\Api\Model\ConfigMap|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetConfigMapItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetEnvironmentCollection.php b/src/Endpoint/GetEnvironmentCollection.php index 89542ac0..03149d9d 100644 --- a/src/Endpoint/GetEnvironmentCollection.php +++ b/src/Endpoint/GetEnvironmentCollection.php @@ -4,57 +4,66 @@ class GetEnvironmentCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of Environment resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/environment/environments'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Environment[] + * @return \Gyroscops\Api\Model\Environment[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Environment[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetEnvironmentItem.php b/src/Endpoint/GetEnvironmentItem.php index 0fb034eb..e90baa7e 100644 --- a/src/Endpoint/GetEnvironmentItem.php +++ b/src/Endpoint/GetEnvironmentItem.php @@ -4,7 +4,9 @@ class GetEnvironmentItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Environment resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/environment/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/environment/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Environment + * @return \Gyroscops\Api\Model\Environment|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Environment', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetEnvironmentItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionActionItem.php b/src/Endpoint/GetExecutionActionItem.php index fe575ded..daf5a4c6 100644 --- a/src/Endpoint/GetExecutionActionItem.php +++ b/src/Endpoint/GetExecutionActionItem.php @@ -4,7 +4,9 @@ class GetExecutionActionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionAction resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/action/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/action/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionAction + * @return \Gyroscops\Api\Model\ExecutionAction|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionActionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionCollection.php b/src/Endpoint/GetExecutionCollection.php index d3af923a..7a3f2d05 100644 --- a/src/Endpoint/GetExecutionCollection.php +++ b/src/Endpoint/GetExecutionCollection.php @@ -4,57 +4,66 @@ class GetExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of Execution resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionRead[] + * @return \Gyroscops\Api\Model\ExecutionRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionItem.php b/src/Endpoint/GetExecutionItem.php index 5d2a8e79..144b4977 100644 --- a/src/Endpoint/GetExecutionItem.php +++ b/src/Endpoint/GetExecutionItem.php @@ -4,7 +4,9 @@ class GetExecutionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Execution resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetExecutionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionRead + * @return \Gyroscops\Api\Model\ExecutionRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineCollection.php b/src/Endpoint/GetExecutionPipelineCollection.php index c7caecfc..d705e245 100644 --- a/src/Endpoint/GetExecutionPipelineCollection.php +++ b/src/Endpoint/GetExecutionPipelineCollection.php @@ -4,57 +4,66 @@ class GetExecutionPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of ExecutionPipeline resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/execution/execution-pipelines'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline[] + * @return \Gyroscops\Api\Model\ExecutionPipeline[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineItem.php b/src/Endpoint/GetExecutionPipelineItem.php index 13896af3..7c9cee86 100644 --- a/src/Endpoint/GetExecutionPipelineItem.php +++ b/src/Endpoint/GetExecutionPipelineItem.php @@ -4,7 +4,9 @@ class GetExecutionPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionPipeline resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/pipeline/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/pipeline/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionPipeline + * @return \Gyroscops\Api\Model\ExecutionPipeline|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionPipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineJobCollection.php b/src/Endpoint/GetExecutionPipelineJobCollection.php index 4685ce60..189bea83 100644 --- a/src/Endpoint/GetExecutionPipelineJobCollection.php +++ b/src/Endpoint/GetExecutionPipelineJobCollection.php @@ -4,57 +4,66 @@ class GetExecutionPipelineJobCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of ExecutionPipelineJob resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/execution-pipeline-jobs'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob[] + * @return \Gyroscops\Api\Model\ExecutionPipelineJob[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineJobItem.php b/src/Endpoint/GetExecutionPipelineJobItem.php index 7a2584ba..4d36ef0e 100644 --- a/src/Endpoint/GetExecutionPipelineJobItem.php +++ b/src/Endpoint/GetExecutionPipelineJobItem.php @@ -4,7 +4,9 @@ class GetExecutionPipelineJobItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionPipelineJob resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution-pipeline-job/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution-pipeline-job/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineJob + * @return \Gyroscops\Api\Model\ExecutionPipelineJob|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionPipelineJobItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionPipelineStepItem.php b/src/Endpoint/GetExecutionPipelineStepItem.php index f82ea4e1..7ca156a1 100644 --- a/src/Endpoint/GetExecutionPipelineStepItem.php +++ b/src/Endpoint/GetExecutionPipelineStepItem.php @@ -4,7 +4,9 @@ class GetExecutionPipelineStepItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionPipelineStep resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/pipeline/step/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/pipeline/step/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionPipelineStep + * @return \Gyroscops\Api\Model\ExecutionPipelineStep|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionPipelineStepItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowCollection.php b/src/Endpoint/GetExecutionWorkflowCollection.php index 6f760a4f..dcd63edb 100644 --- a/src/Endpoint/GetExecutionWorkflowCollection.php +++ b/src/Endpoint/GetExecutionWorkflowCollection.php @@ -4,57 +4,66 @@ class GetExecutionWorkflowCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of ExecutionWorkflow resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/execution/execution-workflows'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow[] + * @return \Gyroscops\Api\Model\ExecutionWorkflow[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowItem.php b/src/Endpoint/GetExecutionWorkflowItem.php index 4945f47b..ff8cca49 100644 --- a/src/Endpoint/GetExecutionWorkflowItem.php +++ b/src/Endpoint/GetExecutionWorkflowItem.php @@ -4,7 +4,9 @@ class GetExecutionWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionWorkflow resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflow + * @return \Gyroscops\Api\Model\ExecutionWorkflow|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionWorkflowItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowJobActionItem.php b/src/Endpoint/GetExecutionWorkflowJobActionItem.php index 173770f8..68a46b40 100644 --- a/src/Endpoint/GetExecutionWorkflowJobActionItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobActionItem.php @@ -4,7 +4,9 @@ class GetExecutionWorkflowJobActionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionWorkflowJobAction resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/action/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/action/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJobAction + * @return \Gyroscops\Api\Model\ExecutionWorkflowJobAction|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionWorkflowJobActionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowJobCollection.php b/src/Endpoint/GetExecutionWorkflowJobCollection.php index 6c4967d3..dbebf633 100644 --- a/src/Endpoint/GetExecutionWorkflowJobCollection.php +++ b/src/Endpoint/GetExecutionWorkflowJobCollection.php @@ -4,57 +4,66 @@ class GetExecutionWorkflowJobCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of ExecutionWorkflowJob resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/execution/workflow/execution-workflow-jobs'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob[] + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetExecutionWorkflowJobItem.php b/src/Endpoint/GetExecutionWorkflowJobItem.php index fa676dd6..b08866f2 100644 --- a/src/Endpoint/GetExecutionWorkflowJobItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobItem.php @@ -4,7 +4,9 @@ class GetExecutionWorkflowJobItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ExecutionWorkflowJob resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/execution/workflow/job/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/execution/workflow/job/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ExecutionWorkflowJob + * @return \Gyroscops\Api\Model\ExecutionWorkflowJob|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetExecutionWorkflowJobItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetForgotPassword.php b/src/Endpoint/GetForgotPassword.php index 477dc77c..0b7007e6 100644 --- a/src/Endpoint/GetForgotPassword.php +++ b/src/Endpoint/GetForgotPassword.php @@ -4,33 +4,34 @@ class GetForgotPassword extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $token; - /** - * - * - * @param string $token - */ + public function __construct(string $token) { $this->token = $token; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{token}'), array($this->token), '/authentication/forgot-password/{token}'); + return str_replace(['{token}'], [$this->token], '/authentication/forgot-password/{token}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -40,15 +41,16 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetForgotPasswordNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetOfferCollection.php b/src/Endpoint/GetOfferCollection.php new file mode 100644 index 00000000..abba55ca --- /dev/null +++ b/src/Endpoint/GetOfferCollection.php @@ -0,0 +1,69 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/authentication/offers'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Offer[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetOfferItem.php b/src/Endpoint/GetOfferItem.php new file mode 100644 index 00000000..c777903b --- /dev/null +++ b/src/Endpoint/GetOfferItem.php @@ -0,0 +1,61 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\GetOfferItemNotFoundException + * + * @return \Gyroscops\Api\Model\Offer|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetOfferItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetOnPremiseRequestCollection.php b/src/Endpoint/GetOnPremiseRequestCollection.php index 4cb41b48..f75e41a4 100644 --- a/src/Endpoint/GetOnPremiseRequestCollection.php +++ b/src/Endpoint/GetOnPremiseRequestCollection.php @@ -4,57 +4,66 @@ class GetOnPremiseRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of OnPremiseRequest resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/referral/on-premise-requests'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[] + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetOnPremiseRequestItem.php b/src/Endpoint/GetOnPremiseRequestItem.php index 45bbcf2b..3d7ece03 100644 --- a/src/Endpoint/GetOnPremiseRequestItem.php +++ b/src/Endpoint/GetOnPremiseRequestItem.php @@ -4,7 +4,9 @@ class GetOnPremiseRequestItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a OnPremiseRequest resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/on-premise-request/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/on-premise-request/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetOnPremiseRequestItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetOrganizationCollection.php b/src/Endpoint/GetOrganizationCollection.php index aa5776e1..70e5cf77 100644 --- a/src/Endpoint/GetOrganizationCollection.php +++ b/src/Endpoint/GetOrganizationCollection.php @@ -4,57 +4,66 @@ class GetOrganizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of Organization resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/organizations'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Organization[] + * @return \Gyroscops\Api\Model\Organization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetOrganizationItem.php b/src/Endpoint/GetOrganizationItem.php index b66bdac5..fe6cc469 100644 --- a/src/Endpoint/GetOrganizationItem.php +++ b/src/Endpoint/GetOrganizationItem.php @@ -4,7 +4,9 @@ class GetOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Organization resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetOrganizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineCollection.php b/src/Endpoint/GetPipelineCollection.php index 007ecfe5..c8ade6f3 100644 --- a/src/Endpoint/GetPipelineCollection.php +++ b/src/Endpoint/GetPipelineCollection.php @@ -4,61 +4,70 @@ class GetPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of Pipeline resources. * * @param array $queryParameters { + * * @var int $page The collection page number - * @var string $code - * @var array $code[] + * @var string $code + * @var array $code[] * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page', 'code', 'code[]')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); - $optionsResolver->setAllowedTypes('code', array('string')); - $optionsResolver->setAllowedTypes('code[]', array('array')); + $optionsResolver->setDefined(['page', 'code', 'code[]']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + $optionsResolver->setAllowedTypes('code', ['string']); + $optionsResolver->setAllowedTypes('code[]', ['array']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineRead[] + * @return \Gyroscops\Api\Model\PipelineRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineCompilationCollection.php b/src/Endpoint/GetPipelineCompilationCollection.php index 2137f52c..2e582ccf 100644 --- a/src/Endpoint/GetPipelineCompilationCollection.php +++ b/src/Endpoint/GetPipelineCompilationCollection.php @@ -4,57 +4,66 @@ class GetPipelineCompilationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of PipelineCompilation resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/compilation'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineCompilation[] + * @return \Gyroscops\Api\Model\PipelineCompilation[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineCompilationItem.php b/src/Endpoint/GetPipelineCompilationItem.php index 5c0597dd..d0c3e7eb 100644 --- a/src/Endpoint/GetPipelineCompilationItem.php +++ b/src/Endpoint/GetPipelineCompilationItem.php @@ -4,7 +4,9 @@ class GetPipelineCompilationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a PipelineCompilation resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtimepipeline/compilation/{id}'); + return str_replace(['{id}'], [$this->id], '/runtimepipeline/compilation/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineCompilation + * @return \Gyroscops\Api\Model\PipelineCompilation|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineCompilationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineItem.php b/src/Endpoint/GetPipelineItem.php index cdb03855..04addc8f 100644 --- a/src/Endpoint/GetPipelineItem.php +++ b/src/Endpoint/GetPipelineItem.php @@ -4,7 +4,9 @@ class GetPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Pipeline resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetPipelineItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineRead + * @return \Gyroscops\Api\Model\PipelineRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineStepCollection.php b/src/Endpoint/GetPipelineStepCollection.php index 936e954c..260442b6 100644 --- a/src/Endpoint/GetPipelineStepCollection.php +++ b/src/Endpoint/GetPipelineStepCollection.php @@ -4,57 +4,66 @@ class GetPipelineStepCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of PipelineStep resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipeline/steps'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineStep[] + * @return \Gyroscops\Api\Model\PipelineStep[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineStepItem.php b/src/Endpoint/GetPipelineStepItem.php index 49718c0a..161bcedf 100644 --- a/src/Endpoint/GetPipelineStepItem.php +++ b/src/Endpoint/GetPipelineStepItem.php @@ -4,7 +4,9 @@ class GetPipelineStepItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a PipelineStep resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/step/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/step/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineStep + * @return \Gyroscops\Api\Model\PipelineStep|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineStepItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineStepProbeCollection.php b/src/Endpoint/GetPipelineStepProbeCollection.php index 4e9159bb..769f10e2 100644 --- a/src/Endpoint/GetPipelineStepProbeCollection.php +++ b/src/Endpoint/GetPipelineStepProbeCollection.php @@ -4,57 +4,66 @@ class GetPipelineStepProbeCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of PipelineStepProbe resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipeline-step-probes'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe[] + * @return \Gyroscops\Api\Model\PipelineStepProbe[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetPipelineStepProbeItem.php b/src/Endpoint/GetPipelineStepProbeItem.php index 69ae2a26..1018211d 100644 --- a/src/Endpoint/GetPipelineStepProbeItem.php +++ b/src/Endpoint/GetPipelineStepProbeItem.php @@ -4,7 +4,9 @@ class GetPipelineStepProbeItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a PipelineStepProbe resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/pipeline/step/probe/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/pipeline/step/probe/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException * - * @return null|\Gyroscops\Api\Model\PipelineStepProbe + * @return \Gyroscops\Api\Model\PipelineStepProbe|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetPipelineStepProbeItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetReferralCodeCollection.php b/src/Endpoint/GetReferralCodeCollection.php index e0bdeb5c..3e3ef414 100644 --- a/src/Endpoint/GetReferralCodeCollection.php +++ b/src/Endpoint/GetReferralCodeCollection.php @@ -4,57 +4,66 @@ class GetReferralCodeCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of ReferralCode resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/referral/codes'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead[] + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetReferralCodeItem.php b/src/Endpoint/GetReferralCodeItem.php index 669d0faf..8ca32979 100644 --- a/src/Endpoint/GetReferralCodeItem.php +++ b/src/Endpoint/GetReferralCodeItem.php @@ -4,7 +4,9 @@ class GetReferralCodeItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ReferralCode resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/code/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/code/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetReferralCodeItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetReferralRequestCollection.php b/src/Endpoint/GetReferralRequestCollection.php index c5fcbea0..13ca2c75 100644 --- a/src/Endpoint/GetReferralRequestCollection.php +++ b/src/Endpoint/GetReferralRequestCollection.php @@ -4,57 +4,66 @@ class GetReferralRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of ReferralRequest resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/referral/requests'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead[] + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetReferralRequestItem.php b/src/Endpoint/GetReferralRequestItem.php index 40d48486..fc0fcaf4 100644 --- a/src/Endpoint/GetReferralRequestItem.php +++ b/src/Endpoint/GetReferralRequestItem.php @@ -4,7 +4,9 @@ class GetReferralRequestItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a ReferralRequest resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/referral-request/{id}'); + return str_replace(['{id}'], [$this->id], '/referral/referral-request/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetReferralRequestItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetScheduleCollection.php b/src/Endpoint/GetScheduleCollection.php index 557465e1..787acdc2 100644 --- a/src/Endpoint/GetScheduleCollection.php +++ b/src/Endpoint/GetScheduleCollection.php @@ -4,57 +4,66 @@ class GetScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of Schedule resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedules'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Schedule[] + * @return \Gyroscops\Api\Model\Schedule[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Schedule[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetScheduleItem.php b/src/Endpoint/GetScheduleItem.php index 0c89df60..ef5e1f34 100644 --- a/src/Endpoint/GetScheduleItem.php +++ b/src/Endpoint/GetScheduleItem.php @@ -4,7 +4,9 @@ class GetScheduleItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Schedule resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/schedule/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/schedule/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetScheduleItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Schedule + * @return \Gyroscops\Api\Model\Schedule|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Schedule', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetScheduleItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetSecretCollection.php b/src/Endpoint/GetSecretCollection.php index 5eb23a51..0925254e 100644 --- a/src/Endpoint/GetSecretCollection.php +++ b/src/Endpoint/GetSecretCollection.php @@ -4,57 +4,66 @@ class GetSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of Secret resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/environment/secrets'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Secret[] + * @return \Gyroscops\Api\Model\Secret[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetSecretItem.php b/src/Endpoint/GetSecretItem.php index 19f40481..de28a33d 100644 --- a/src/Endpoint/GetSecretItem.php +++ b/src/Endpoint/GetSecretItem.php @@ -4,7 +4,9 @@ class GetSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Secret resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/secret/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/secret/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetSecretItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Secret + * @return \Gyroscops\Api\Model\Secret|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetSecretItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetSubscriptionCollection.php b/src/Endpoint/GetSubscriptionCollection.php new file mode 100644 index 00000000..37382919 --- /dev/null +++ b/src/Endpoint/GetSubscriptionCollection.php @@ -0,0 +1,69 @@ +queryParameters = $queryParameters; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return '/authentication/subscriptions'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver + { + $optionsResolver = parent::getQueryOptionsResolver(); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + + return $optionsResolver; + } + + /** + * {@inheritdoc} + * + * @return \Gyroscops\Api\Model\Subscription[]|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription[]', 'json'); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetSubscriptionItem.php b/src/Endpoint/GetSubscriptionItem.php new file mode 100644 index 00000000..ebd3e8ad --- /dev/null +++ b/src/Endpoint/GetSubscriptionItem.php @@ -0,0 +1,61 @@ +id = $id; + } + + public function getMethod(): string + { + return 'GET'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscription/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\GetSubscriptionItemNotFoundException + * + * @return \Gyroscops\Api\Model\Subscription|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\GetSubscriptionItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/GetUserAuthorizationCollection.php b/src/Endpoint/GetUserAuthorizationCollection.php index 1d482b1e..1e820dc8 100644 --- a/src/Endpoint/GetUserAuthorizationCollection.php +++ b/src/Endpoint/GetUserAuthorizationCollection.php @@ -4,57 +4,66 @@ class GetUserAuthorizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of UserAuthorization resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/user-authorizations'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\UserAuthorization[] + * @return \Gyroscops\Api\Model\UserAuthorization[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetUserAuthorizationItem.php b/src/Endpoint/GetUserAuthorizationItem.php index 7e778483..67a101e8 100644 --- a/src/Endpoint/GetUserAuthorizationItem.php +++ b/src/Endpoint/GetUserAuthorizationItem.php @@ -4,7 +4,9 @@ class GetUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a UserAuthorization resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\UserAuthorization + * @return \Gyroscops\Api\Model\UserAuthorization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetUserAuthorizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetUserCollection.php b/src/Endpoint/GetUserCollection.php index d95b16e3..c75f34ff 100644 --- a/src/Endpoint/GetUserCollection.php +++ b/src/Endpoint/GetUserCollection.php @@ -4,57 +4,66 @@ class GetUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of User resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/users'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetUserItem.php b/src/Endpoint/GetUserItem.php index 13539435..c29a59e4 100644 --- a/src/Endpoint/GetUserItem.php +++ b/src/Endpoint/GetUserItem.php @@ -4,7 +4,9 @@ class GetUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a User resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetUserItemNotFoundException * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetVariableFromConfigMapCollection.php b/src/Endpoint/GetVariableFromConfigMapCollection.php index 3c5e20ed..7cac3230 100644 --- a/src/Endpoint/GetVariableFromConfigMapCollection.php +++ b/src/Endpoint/GetVariableFromConfigMapCollection.php @@ -4,57 +4,66 @@ class GetVariableFromConfigMapCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of VariableFromConfigMap resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/environment/variable-from-config-maps'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap[] + * @return \Gyroscops\Api\Model\VariableFromConfigMap[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetVariableFromConfigMapItem.php b/src/Endpoint/GetVariableFromConfigMapItem.php index c2bf894f..3709991e 100644 --- a/src/Endpoint/GetVariableFromConfigMapItem.php +++ b/src/Endpoint/GetVariableFromConfigMapItem.php @@ -4,7 +4,9 @@ class GetVariableFromConfigMapItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a VariableFromConfigMap resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/variable-from-config-map/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variable-from-config-map/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap + * @return \Gyroscops\Api\Model\VariableFromConfigMap|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetVariableFromConfigMapItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetVariableFromSecretCollection.php b/src/Endpoint/GetVariableFromSecretCollection.php index fd22d36e..24b080e8 100644 --- a/src/Endpoint/GetVariableFromSecretCollection.php +++ b/src/Endpoint/GetVariableFromSecretCollection.php @@ -4,57 +4,66 @@ class GetVariableFromSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of VariableFromSecret resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/environment/variable-from-secrets'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\VariableFromSecret[] + * @return \Gyroscops\Api\Model\VariableFromSecret[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetVariableFromSecretItem.php b/src/Endpoint/GetVariableFromSecretItem.php index 460c8f33..cb296aa0 100644 --- a/src/Endpoint/GetVariableFromSecretItem.php +++ b/src/Endpoint/GetVariableFromSecretItem.php @@ -4,7 +4,9 @@ class GetVariableFromSecretItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a VariableFromSecret resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/environment/variable-from-secret/{id}'); + return str_replace(['{id}'], [$this->id], '/environment/variable-from-secret/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException * - * @return null|\Gyroscops\Api\Model\VariableFromSecret + * @return \Gyroscops\Api\Model\VariableFromSecret|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetVariableFromSecretItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowCollection.php b/src/Endpoint/GetWorkflowCollection.php index 5e9a096d..1bf723b8 100644 --- a/src/Endpoint/GetWorkflowCollection.php +++ b/src/Endpoint/GetWorkflowCollection.php @@ -4,57 +4,66 @@ class GetWorkflowCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of Workflow resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/workflows'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\WorkflowRead[] + * @return \Gyroscops\Api\Model\WorkflowRead[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowItem.php b/src/Endpoint/GetWorkflowItem.php index 72330556..dc4977b1 100644 --- a/src/Endpoint/GetWorkflowItem.php +++ b/src/Endpoint/GetWorkflowItem.php @@ -4,7 +4,9 @@ class GetWorkflowItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Workflow resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowRead + * @return \Gyroscops\Api\Model\WorkflowRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowJobActionItem.php b/src/Endpoint/GetWorkflowJobActionItem.php index 54ff7824..4c7e0ab4 100644 --- a/src/Endpoint/GetWorkflowJobActionItem.php +++ b/src/Endpoint/GetWorkflowJobActionItem.php @@ -4,7 +4,9 @@ class GetWorkflowJobActionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a WorkflowJobAction resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/action/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/action/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowJobAction + * @return \Gyroscops\Api\Model\WorkflowJobAction|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobAction', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowJobActionItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowJobItem.php b/src/Endpoint/GetWorkflowJobItem.php index bcf7529d..d1ae6e81 100644 --- a/src/Endpoint/GetWorkflowJobItem.php +++ b/src/Endpoint/GetWorkflowJobItem.php @@ -4,7 +4,9 @@ class GetWorkflowJobItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a WorkflowJob resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/job/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/job/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowJobRead + * @return \Gyroscops\Api\Model\WorkflowJobRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowJobItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkflowJobPipelineItem.php b/src/Endpoint/GetWorkflowJobPipelineItem.php index 5ab1c2ee..ea88e16e 100644 --- a/src/Endpoint/GetWorkflowJobPipelineItem.php +++ b/src/Endpoint/GetWorkflowJobPipelineItem.php @@ -4,7 +4,9 @@ class GetWorkflowJobPipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a WorkflowJobPipeline resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/runtime/workflow/pipeline/{id}'); + return str_replace(['{id}'], [$this->id], '/runtime/workflow/pipeline/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException * - * @return null|\Gyroscops\Api\Model\WorkflowJobPipeline + * @return \Gyroscops\Api\Model\WorkflowJobPipeline|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipeline', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkflowJobPipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkspaceCollection.php b/src/Endpoint/GetWorkspaceCollection.php index bdbebac9..640727a5 100644 --- a/src/Endpoint/GetWorkspaceCollection.php +++ b/src/Endpoint/GetWorkspaceCollection.php @@ -4,57 +4,66 @@ class GetWorkspaceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Retrieves the collection of Workspace resources. * * @param array $queryParameters { + * * @var int $page The collection page number * } */ - public function __construct(array $queryParameters = array()) + public function __construct(array $queryParameters = []) { $this->queryParameters = $queryParameters; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/workspaces'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } - protected function getQueryOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver + + protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver { $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(array('page')); - $optionsResolver->setRequired(array()); - $optionsResolver->setDefaults(array('page' => 1)); - $optionsResolver->setAllowedTypes('page', array('int')); + $optionsResolver->setDefined(['page']); + $optionsResolver->setRequired([]); + $optionsResolver->setDefaults(['page' => 1]); + $optionsResolver->setAllowedTypes('page', ['int']); + return $optionsResolver; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Workspace[] + * @return \Gyroscops\Api\Model\Workspace[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/GetWorkspaceItem.php b/src/Endpoint/GetWorkspaceItem.php index 51b47858..19d1cd5c 100644 --- a/src/Endpoint/GetWorkspaceItem.php +++ b/src/Endpoint/GetWorkspaceItem.php @@ -4,7 +4,9 @@ class GetWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Retrieves a Workspace resource. * @@ -14,41 +16,46 @@ public function __construct(string $id) { $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (404 === $status) { throw new \Gyroscops\Api\Exception\GetWorkspaceItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/InterruptExecutionExecutionCollection.php b/src/Endpoint/InterruptExecutionExecutionCollection.php index 09c44090..a2367893 100644 --- a/src/Endpoint/InterruptExecutionExecutionCollection.php +++ b/src/Endpoint/InterruptExecutionExecutionCollection.php @@ -4,41 +4,48 @@ class InterruptExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Interrupts a pipeline execution + * Interrupts a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/interrupt'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/MeUserCollection.php b/src/Endpoint/MeUserCollection.php index da1ae400..30bf35a9 100644 --- a/src/Endpoint/MeUserCollection.php +++ b/src/Endpoint/MeUserCollection.php @@ -5,36 +5,41 @@ class MeUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'GET'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/me'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\User[] + * @return \Gyroscops\Api\Model\User[]|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php b/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php index 3e44d77a..a5d6a96b 100644 --- a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php @@ -4,41 +4,48 @@ class MoveAfterPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Moves a step after another one in a pipeline + * Moves a step after another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/move-after'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php b/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php index fa4bbaef..133620f8 100644 --- a/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php +++ b/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php @@ -4,41 +4,48 @@ class MoveBeforePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Moves a step before another one in a pipeline + * Moves a step before another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/move-before'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PatchOfferItem.php b/src/Endpoint/PatchOfferItem.php new file mode 100644 index 00000000..06671f0d --- /dev/null +++ b/src/Endpoint/PatchOfferItem.php @@ -0,0 +1,74 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PATCH'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\Offer) { + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PatchOfferItemBadRequestException + * @throws \Gyroscops\Api\Exception\PatchOfferItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PatchOfferItemNotFoundException + * + * @return \Gyroscops\Api\Model\Offer|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PatchOfferItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PatchOfferItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PatchOfferItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PatchOrganizationItem.php b/src/Endpoint/PatchOrganizationItem.php index f89fb449..a0711bf1 100644 --- a/src/Endpoint/PatchOrganizationItem.php +++ b/src/Endpoint/PatchOrganizationItem.php @@ -4,38 +4,44 @@ class PatchOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Updates the Organization resource. * * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Organization $requestBody */ public function __construct(string $id, \Gyroscops\Api\Model\Organization $requestBody) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -43,11 +49,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\PatchOrganizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchOrganizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (400 === $status) { @@ -60,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PatchOrganizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PatchSubscriptionItem.php b/src/Endpoint/PatchSubscriptionItem.php new file mode 100644 index 00000000..09b245b7 --- /dev/null +++ b/src/Endpoint/PatchSubscriptionItem.php @@ -0,0 +1,74 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PATCH'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscription/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemNotFoundException + * + * @return \Gyroscops\Api\Model\Subscription|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PatchSubscriptionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PatchSubscriptionItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PatchUserAuthorizationItem.php b/src/Endpoint/PatchUserAuthorizationItem.php index 7438be0d..e1f9d4b8 100644 --- a/src/Endpoint/PatchUserAuthorizationItem.php +++ b/src/Endpoint/PatchUserAuthorizationItem.php @@ -4,38 +4,44 @@ class PatchUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Updates the UserAuthorization resource. * * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorization $requestBody */ public function __construct(string $id, \Gyroscops\Api\Model\UserAuthorization $requestBody) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -43,11 +49,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\UserAuthorization + * @return \Gyroscops\Api\Model\UserAuthorization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (400 === $status) { @@ -60,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PatchUserAuthorizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PatchUserItem.php b/src/Endpoint/PatchUserItem.php index 543fcbbc..61f142bc 100644 --- a/src/Endpoint/PatchUserItem.php +++ b/src/Endpoint/PatchUserItem.php @@ -4,38 +4,44 @@ class PatchUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Updates the User resource. * * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\User $requestBody */ public function __construct(string $id, \Gyroscops\Api\Model\User $requestBody) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -43,11 +49,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\PatchUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchUserItemNotFoundException * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { @@ -60,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PatchUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PatchWorkspaceItem.php b/src/Endpoint/PatchWorkspaceItem.php index bb18425f..862278f9 100644 --- a/src/Endpoint/PatchWorkspaceItem.php +++ b/src/Endpoint/PatchWorkspaceItem.php @@ -4,38 +4,44 @@ class PatchWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Updates the Workspace resource. * * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Workspace $requestBody */ public function __construct(string $id, \Gyroscops\Api\Model\Workspace $requestBody) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('application/merge-patch+json')), $this->body); + return [['Content-Type' => ['application/merge-patch+json']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -43,11 +49,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (400 === $status) { @@ -60,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PatchWorkspaceItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PipelineCompilationPipelineCollection.php b/src/Endpoint/PipelineCompilationPipelineCollection.php index 9731b1a7..8e05cdb4 100644 --- a/src/Endpoint/PipelineCompilationPipelineCollection.php +++ b/src/Endpoint/PipelineCompilationPipelineCollection.php @@ -4,41 +4,48 @@ class PipelineCompilationPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Creates a pipeline compilation + * Creates a pipeline compilation. * - * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/compile'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineCompilePipelineCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineCompilePipelineCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostAkeneoInstanceCollection.php b/src/Endpoint/PostAkeneoInstanceCollection.php new file mode 100644 index 00000000..be97e7c2 --- /dev/null +++ b/src/Endpoint/PostAkeneoInstanceCollection.php @@ -0,0 +1,74 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/gateway/akeneo/instance'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\AkeneoInstance|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostAkeneoLinkedAccountCollection.php b/src/Endpoint/PostAkeneoLinkedAccountCollection.php new file mode 100644 index 00000000..25dc86d5 --- /dev/null +++ b/src/Endpoint/PostAkeneoLinkedAccountCollection.php @@ -0,0 +1,74 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/gateway/akeneo/linked-account'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\AkeneoLinkedAccount|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostAkeneoOauthTokenCollection.php b/src/Endpoint/PostAkeneoOauthTokenCollection.php new file mode 100644 index 00000000..b32ca5e8 --- /dev/null +++ b/src/Endpoint/PostAkeneoOauthTokenCollection.php @@ -0,0 +1,74 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/gateway/akeneo/oauth/state'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionUnprocessableEntityException + * + * @return null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return json_decode($body); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostConfigMapCollection.php b/src/Endpoint/PostConfigMapCollection.php new file mode 100644 index 00000000..c88afe29 --- /dev/null +++ b/src/Endpoint/PostConfigMapCollection.php @@ -0,0 +1,74 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/environment/config-map'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigMapConfigMapInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\ConfigMapConfigMapInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\ConfigMap|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostCredentialsItem.php b/src/Endpoint/PostCredentialsItem.php index d63a9891..30b18997 100644 --- a/src/Endpoint/PostCredentialsItem.php +++ b/src/Endpoint/PostCredentialsItem.php @@ -4,49 +4,51 @@ class PostCredentialsItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { - /** - * - * - * @param null|\Gyroscops\Api\Model\Credentials $requestBody - */ + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + public function __construct(?\Gyroscops\Api\Model\Credentials $requestBody = null) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/token'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\Credentials) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * - * @return null|\Gyroscops\Api\Model\Token + * @return \Gyroscops\Api\Model\Token|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Token', 'json'); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostEnvironmentCollection.php b/src/Endpoint/PostEnvironmentCollection.php index 86b43954..ff46b5e9 100644 --- a/src/Endpoint/PostEnvironmentCollection.php +++ b/src/Endpoint/PostEnvironmentCollection.php @@ -4,52 +4,59 @@ class PostEnvironmentCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a Environment resource. * - * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment $requestBody + * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/environment/environment'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\EnvironmentJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Environment) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Environment) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Environment + * @return \Gyroscops\Api\Model\Environment|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Environment', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostForgotPassword.php b/src/Endpoint/PostForgotPassword.php index d90153b0..110d029d 100644 --- a/src/Endpoint/PostForgotPassword.php +++ b/src/Endpoint/PostForgotPassword.php @@ -4,31 +4,32 @@ class PostForgotPassword extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { - /** - * - * - * @param null|\stdClass $requestBody - */ + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + public function __construct(?\stdClass $requestBody = null) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/forgot-password/'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \stdClass) { - return array(array('Content-Type' => array('application/json')), json_encode($this->body)); + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - return array(array(), null); + + return [[], null]; } + /** * {@inheritdoc} * @@ -45,8 +46,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostForgotPasswordBadRequestException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostForgotPasswordToken.php b/src/Endpoint/PostForgotPasswordToken.php index 091cc29e..405d4d5f 100644 --- a/src/Endpoint/PostForgotPasswordToken.php +++ b/src/Endpoint/PostForgotPasswordToken.php @@ -4,34 +4,34 @@ class PostForgotPasswordToken extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $token; - /** - * - * - * @param string $token - * @param null|\stdClass $requestBody - */ + public function __construct(string $token, ?\stdClass $requestBody = null) { $this->token = $token; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{token}'), array($this->token), '/authentication/forgot-password/{token}'); + return str_replace(['{token}'], [$this->token], '/authentication/forgot-password/{token}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \stdClass) { - return array(array('Content-Type' => array('application/json')), json_encode($this->body)); + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - return array(array(), null); + + return [[], null]; } + /** * {@inheritdoc} * @@ -52,8 +52,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostForgotPasswordTokenNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostOnPremiseRequestCollection.php b/src/Endpoint/PostOnPremiseRequestCollection.php index c7612191..e8aab3e3 100644 --- a/src/Endpoint/PostOnPremiseRequestCollection.php +++ b/src/Endpoint/PostOnPremiseRequestCollection.php @@ -4,52 +4,59 @@ class PostOnPremiseRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a OnPremiseRequest resource. * - * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite $requestBody + * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/referral/on-premise-requests'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead + * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostOrganizationCollection.php b/src/Endpoint/PostOrganizationCollection.php index 693b1ce7..75e3cc69 100644 --- a/src/Endpoint/PostOrganizationCollection.php +++ b/src/Endpoint/PostOrganizationCollection.php @@ -4,52 +4,59 @@ class PostOrganizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a Organization resource. * - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/organizations'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\OrganizationJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostOrganizationCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostReferralCodeCollection.php b/src/Endpoint/PostReferralCodeCollection.php index ebcdaf65..29ee658d 100644 --- a/src/Endpoint/PostReferralCodeCollection.php +++ b/src/Endpoint/PostReferralCodeCollection.php @@ -4,52 +4,59 @@ class PostReferralCodeCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a ReferralCode resource. * - * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite $requestBody + * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/referral/codes'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ReferralCodeReferralCodeWrite) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ReferralCodeReferralCodeWrite) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ReferralCodeReferralCodeRead + * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostReferralCodeCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostReferralRequestCollection.php b/src/Endpoint/PostReferralRequestCollection.php index fba9807b..8e49bfcc 100644 --- a/src/Endpoint/PostReferralRequestCollection.php +++ b/src/Endpoint/PostReferralRequestCollection.php @@ -4,52 +4,59 @@ class PostReferralRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a ReferralRequest resource. * - * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput $requestBody + * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/referral/referral-requests'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ReferralRequestReferralRequestInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ReferralRequestReferralRequestInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostReferralRequestCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostSecretCollection.php b/src/Endpoint/PostSecretCollection.php index 87dddffd..38efca49 100644 --- a/src/Endpoint/PostSecretCollection.php +++ b/src/Endpoint/PostSecretCollection.php @@ -4,52 +4,59 @@ class PostSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a Secret resource. * - * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput $requestBody + * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/environment/secret'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\SecretSecretInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\SecretSecretInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\SecretSecretInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Secret + * @return \Gyroscops\Api\Model\Secret|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostSubscriptionCollection.php b/src/Endpoint/PostSubscriptionCollection.php new file mode 100644 index 00000000..d64ceace --- /dev/null +++ b/src/Endpoint/PostSubscriptionCollection.php @@ -0,0 +1,74 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'POST'; + } + + public function getUri(): string + { + return '/authentication/subscription/{id}'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\SubscriptionJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionUnprocessableEntityException + * + * @return \Gyroscops\Api\Model\Subscription|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PostSubscriptionCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PostUserAuthorizationCollection.php b/src/Endpoint/PostUserAuthorizationCollection.php index bac79458..9b39a2e9 100644 --- a/src/Endpoint/PostUserAuthorizationCollection.php +++ b/src/Endpoint/PostUserAuthorizationCollection.php @@ -4,52 +4,59 @@ class PostUserAuthorizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a UserAuthorization resource. * - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/user-authorizations'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\UserAuthorization + * @return \Gyroscops\Api\Model\UserAuthorization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostUserAuthorizationCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostUserCollection.php b/src/Endpoint/PostUserCollection.php index e691f424..2a22eb73 100644 --- a/src/Endpoint/PostUserCollection.php +++ b/src/Endpoint/PostUserCollection.php @@ -4,52 +4,59 @@ class PostUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a User resource. * - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/users'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostUserCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostUserCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostVariableFromConfigMapCollection.php b/src/Endpoint/PostVariableFromConfigMapCollection.php index e739d97f..e552c18e 100644 --- a/src/Endpoint/PostVariableFromConfigMapCollection.php +++ b/src/Endpoint/PostVariableFromConfigMapCollection.php @@ -4,52 +4,59 @@ class PostVariableFromConfigMapCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a VariableFromConfigMap resource. * - * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap $requestBody + * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/environment/variable-from-config-map'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigMapJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigMap) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\VariableFromConfigMap) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\VariableFromConfigMap + * @return \Gyroscops\Api\Model\VariableFromConfigMap|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostVariableFromSecretCollection.php b/src/Endpoint/PostVariableFromSecretCollection.php index e8a92e75..c507f336 100644 --- a/src/Endpoint/PostVariableFromSecretCollection.php +++ b/src/Endpoint/PostVariableFromSecretCollection.php @@ -4,52 +4,59 @@ class PostVariableFromSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a VariableFromSecret resource. * - * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret $requestBody + * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/environment/variable-from-secret'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecretJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecret) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\VariableFromSecret) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\VariableFromSecret + * @return \Gyroscops\Api\Model\VariableFromSecret|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PostWorkspaceCollection.php b/src/Endpoint/PostWorkspaceCollection.php index d7f8e19e..8cb234e6 100644 --- a/src/Endpoint/PostWorkspaceCollection.php +++ b/src/Endpoint/PostWorkspaceCollection.php @@ -4,52 +4,59 @@ class PostWorkspaceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** * Creates a Workspace resource. * - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/workspaces'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (201 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php new file mode 100644 index 00000000..8e9b8cdf --- /dev/null +++ b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php @@ -0,0 +1,74 @@ +body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return '/gateway/akeneo/oauth/token'; + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if (is_array($this->body) and isset($this->body[0]) and $this->body[0] instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if (is_array($this->body) and isset($this->body[0]) and $this->body[0] instanceof \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException + * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException + * + * @return null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return json_decode($body); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PutAuthenticationToken.php b/src/Endpoint/PutAuthenticationToken.php index 7c0f30b8..6393b9c0 100644 --- a/src/Endpoint/PutAuthenticationToken.php +++ b/src/Endpoint/PutAuthenticationToken.php @@ -4,49 +4,51 @@ class PutAuthenticationToken extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { - /** - * - * - * @param null|\stdClass $requestBody - */ + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + public function __construct(?\stdClass $requestBody = null) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { return '/authentication/token'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \stdClass) { - return array(array('Content-Type' => array('application/json')), json_encode($this->body)); + return [['Content-Type' => ['application/json']], json_encode($this->body)]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * - * * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutOfferItem.php b/src/Endpoint/PutOfferItem.php new file mode 100644 index 00000000..8ddbd5dd --- /dev/null +++ b/src/Endpoint/PutOfferItem.php @@ -0,0 +1,81 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/offer/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\OfferJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Offer) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Offer) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PutOfferItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutOfferItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutOfferItemNotFoundException + * + * @return \Gyroscops\Api\Model\Offer|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PutOfferItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PutOfferItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PutOfferItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PutOrganizationItem.php b/src/Endpoint/PutOrganizationItem.php index 68e34bea..38b1af11 100644 --- a/src/Endpoint/PutOrganizationItem.php +++ b/src/Endpoint/PutOrganizationItem.php @@ -4,44 +4,51 @@ class PutOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Replaces the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody */ public function __construct(string $id, $requestBody) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/organization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/organization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\OrganizationJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Organization) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,11 +56,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\PutOrganizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutOrganizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Organization + * @return \Gyroscops\Api\Model\Organization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (400 === $status) { @@ -66,8 +73,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PutOrganizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutSubscriptionItem.php b/src/Endpoint/PutSubscriptionItem.php new file mode 100644 index 00000000..3b2b4b52 --- /dev/null +++ b/src/Endpoint/PutSubscriptionItem.php @@ -0,0 +1,81 @@ +id = $id; + $this->body = $requestBody; + } + + public function getMethod(): string + { + return 'PUT'; + } + + public function getUri(): string + { + return str_replace(['{id}'], [$this->id], '/authentication/subscription/{id}'); + } + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array + { + if ($this->body instanceof \Gyroscops\Api\Model\SubscriptionJsonld) { + return [['Content-Type' => ['application/ld+json']], $this->body]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; + } + if ($this->body instanceof \Gyroscops\Api\Model\Subscription) { + return [['Content-Type' => ['text/html']], $this->body]; + } + + return [[], null]; + } + + public function getExtraHeaders(): array + { + return ['Accept' => ['application/json']]; + } + + /** + * {@inheritdoc} + * + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemUnprocessableEntityException + * @throws \Gyroscops\Api\Exception\PutSubscriptionItemNotFoundException + * + * @return \Gyroscops\Api\Model\Subscription|null + */ + protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) + { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); + } + if (400 === $status) { + throw new \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException(); + } + if (422 === $status) { + throw new \Gyroscops\Api\Exception\PutSubscriptionItemUnprocessableEntityException(); + } + if (404 === $status) { + throw new \Gyroscops\Api\Exception\PutSubscriptionItemNotFoundException(); + } + } + + public function getAuthenticationScopes(): array + { + return ['apiKey']; + } +} diff --git a/src/Endpoint/PutUserAuthorizationItem.php b/src/Endpoint/PutUserAuthorizationItem.php index 977f98b7..9c0acee4 100644 --- a/src/Endpoint/PutUserAuthorizationItem.php +++ b/src/Endpoint/PutUserAuthorizationItem.php @@ -4,44 +4,51 @@ class PutUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Replaces the UserAuthorization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody */ public function __construct(string $id, $requestBody) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user-authorization/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user-authorization/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorizationJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\UserAuthorization) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,11 +56,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemNotFoundException * - * @return null|\Gyroscops\Api\Model\UserAuthorization + * @return \Gyroscops\Api\Model\UserAuthorization|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (400 === $status) { @@ -66,8 +73,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PutUserAuthorizationItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutUserItem.php b/src/Endpoint/PutUserItem.php index 5d6688a8..c2f58850 100644 --- a/src/Endpoint/PutUserItem.php +++ b/src/Endpoint/PutUserItem.php @@ -4,44 +4,51 @@ class PutUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Replaces the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody */ public function __construct(string $id, $requestBody) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/user/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/user/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\UserJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\User) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,11 +56,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\PutUserItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutUserItemNotFoundException * - * @return null|\Gyroscops\Api\Model\User + * @return \Gyroscops\Api\Model\User|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { @@ -66,8 +73,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PutUserItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/PutWorkspaceItem.php b/src/Endpoint/PutWorkspaceItem.php index 5692224c..b462b821 100644 --- a/src/Endpoint/PutWorkspaceItem.php +++ b/src/Endpoint/PutWorkspaceItem.php @@ -4,44 +4,51 @@ class PutWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** * Replaces the Workspace resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody */ public function __construct(string $id, $requestBody) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PUT'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/authentication/workspace/{id}'); + return str_replace(['{id}'], [$this->id], '/authentication/workspace/{id}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\WorkspaceJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\Workspace) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,11 +56,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\PutWorkspaceItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\PutWorkspaceItemNotFoundException * - * @return null|\Gyroscops\Api\Model\Workspace + * @return \Gyroscops\Api\Model\Workspace|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (400 === $status) { @@ -66,8 +73,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\PutWorkspaceItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/RejectReferralRequestReferralRequestItem.php b/src/Endpoint/RejectReferralRequestReferralRequestItem.php index be8610b9..2b0650b3 100644 --- a/src/Endpoint/RejectReferralRequestReferralRequestItem.php +++ b/src/Endpoint/RejectReferralRequestReferralRequestItem.php @@ -4,35 +4,41 @@ class RejectReferralRequestReferralRequestItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $id; + /** - * Rejects a referral request + * Rejects a referral request. * - * @param string $id Resource identifier - * @param null $requestBody + * @param string $id Resource identifier + * @param null $requestBody */ public function __construct(string $id, $requestBody = null) { $this->id = $id; $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'PATCH'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{id}'), array($this->id), '/referral/referral-request/{id}/reject'); + return str_replace(['{id}'], [$this->id], '/referral/referral-request/{id}/reject'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -40,11 +46,11 @@ public function getExtraHeaders() : array * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemUnprocessableEntityException * @throws \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemNotFoundException * - * @return null|\Gyroscops\Api\Model\ReferralRequestReferralRequestRead + * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (400 === $status) { @@ -57,8 +63,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\RejectReferralRequestReferralRequestItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/RemovePipelineStepProbePipelineItem.php b/src/Endpoint/RemovePipelineStepProbePipelineItem.php index 354b37b3..32718ee3 100644 --- a/src/Endpoint/RemovePipelineStepProbePipelineItem.php +++ b/src/Endpoint/RemovePipelineStepProbePipelineItem.php @@ -4,17 +4,19 @@ class RemovePipelineStepProbePipelineItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; protected $code; protected $probe_code; protected $probe_label; protected $id; + /** - * Removes a probe from a step + * Removes a probe from a step. * - * @param string $code Step resource code - * @param string $probeCode Probe resource code + * @param string $code Step resource code + * @param string $probeCode Probe resource code * @param string $probeLabel Probe resource code - * @param string $id Resource identifier + * @param string $id Resource identifier */ public function __construct(string $code, string $probeCode, string $probeLabel, string $id) { @@ -23,19 +25,22 @@ public function __construct(string $code, string $probeCode, string $probeLabel, $this->probe_label = $probeLabel; $this->id = $id; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'DELETE'; } - public function getUri() : string + + public function getUri(): string { - return str_replace(array('{code}', '{probe_code}', '{probe_label}', '{id}'), array($this->code, $this->probe_code, $this->probe_label, $this->id), '/runtime/pipeline/{id}/step/{code}/probes/{probeCode}/{probeLabel}'); + return str_replace(['{code}', '{probe_code}', '{probe_label}', '{id}'], [$this->code, $this->probe_code, $this->probe_label, $this->id], '/runtime/pipeline/{id}/step/{code}/probes/{probeCode}/{probeLabel}'); } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { - return array(array(), null); + return [[], null]; } + /** * {@inheritdoc} * @@ -52,8 +57,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\RemovePipelineStepProbePipelineItemNotFoundException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ReorderPipelineStepsPipelineCollection.php b/src/Endpoint/ReorderPipelineStepsPipelineCollection.php index 385a9887..89401d20 100644 --- a/src/Endpoint/ReorderPipelineStepsPipelineCollection.php +++ b/src/Endpoint/ReorderPipelineStepsPipelineCollection.php @@ -4,41 +4,48 @@ class ReorderPipelineStepsPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Reorganizes the steps of a pipeline according to a given order + * Reorganizes the steps of a pipeline according to a given order. * - * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/reorder'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ReplacePipelineStepPipelineCollection.php b/src/Endpoint/ReplacePipelineStepPipelineCollection.php index 3f9f8bf3..25e5108d 100644 --- a/src/Endpoint/ReplacePipelineStepPipelineCollection.php +++ b/src/Endpoint/ReplacePipelineStepPipelineCollection.php @@ -4,41 +4,48 @@ class ReplacePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Replaces a step by another one in a pipeline + * Replaces a step by another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/pipelines/steps/replace'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ResumeExecutionExecutionCollection.php b/src/Endpoint/ResumeExecutionExecutionCollection.php index 5078fd5a..4e8d2bb2 100644 --- a/src/Endpoint/ResumeExecutionExecutionCollection.php +++ b/src/Endpoint/ResumeExecutionExecutionCollection.php @@ -4,41 +4,48 @@ class ResumeExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Resumes a pipeline execution + * Resumes a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/resume'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ScheduleImmediateScheduleCollection.php b/src/Endpoint/ScheduleImmediateScheduleCollection.php index cd942bdd..ebb4587f 100644 --- a/src/Endpoint/ScheduleImmediateScheduleCollection.php +++ b/src/Endpoint/ScheduleImmediateScheduleCollection.php @@ -4,52 +4,59 @@ class ScheduleImmediateScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Schedule a pipeline execution immediately + * Schedule a pipeline execution immediately. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput $requestBody + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedule-immediate'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ScheduleOnceScheduleCollection.php b/src/Endpoint/ScheduleOnceScheduleCollection.php index e0c769e9..a5ec3946 100644 --- a/src/Endpoint/ScheduleOnceScheduleCollection.php +++ b/src/Endpoint/ScheduleOnceScheduleCollection.php @@ -4,52 +4,59 @@ class ScheduleOnceScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Schedule an immediate pipeline execution + * Schedule an immediate pipeline execution. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput $requestBody + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedule-once'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ScheduleTimesScheduleCollection.php b/src/Endpoint/ScheduleTimesScheduleCollection.php index d0c16e2b..39a0048a 100644 --- a/src/Endpoint/ScheduleTimesScheduleCollection.php +++ b/src/Endpoint/ScheduleTimesScheduleCollection.php @@ -4,52 +4,59 @@ class ScheduleTimesScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Schedule a recurring pipeline execution + * Schedule a recurring pipeline execution. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput $requestBody + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedule-times'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/ScheduleUntilScheduleCollection.php b/src/Endpoint/ScheduleUntilScheduleCollection.php index 9e8444c7..88a60b9f 100644 --- a/src/Endpoint/ScheduleUntilScheduleCollection.php +++ b/src/Endpoint/ScheduleUntilScheduleCollection.php @@ -4,52 +4,59 @@ class ScheduleUntilScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Schedule a delayed pipeline execution + * Schedule a delayed pipeline execution. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput $requestBody + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/schedule-until'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException * - * @return null|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand + * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand|null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return $serializer->deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand', 'json'); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/StartExecutionExecutionCollection.php b/src/Endpoint/StartExecutionExecutionCollection.php index 77c84442..e4567fbb 100644 --- a/src/Endpoint/StartExecutionExecutionCollection.php +++ b/src/Endpoint/StartExecutionExecutionCollection.php @@ -4,41 +4,48 @@ class StartExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Starts a pipeline execution + * Starts a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/start'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\StartExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/TerminateExecutionExecutionCollection.php b/src/Endpoint/TerminateExecutionExecutionCollection.php index 4b60f2c2..1534ef28 100644 --- a/src/Endpoint/TerminateExecutionExecutionCollection.php +++ b/src/Endpoint/TerminateExecutionExecutionCollection.php @@ -4,41 +4,48 @@ class TerminateExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Terminates a pipeline execution + * Terminates a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/terminate'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Endpoint/UpdateExecutionStateExecutionCollection.php b/src/Endpoint/UpdateExecutionStateExecutionCollection.php index 532adb3b..4e95930c 100644 --- a/src/Endpoint/UpdateExecutionStateExecutionCollection.php +++ b/src/Endpoint/UpdateExecutionStateExecutionCollection.php @@ -4,41 +4,48 @@ class UpdateExecutionStateExecutionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements \Gyroscops\Api\Runtime\Client\Endpoint { + use \Gyroscops\Api\Runtime\Client\EndpointTrait; + /** - * Updates a pipeline execution state + * Updates a pipeline execution state. * - * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput $requestBody */ public function __construct($requestBody) { $this->body = $requestBody; } - use \Gyroscops\Api\Runtime\Client\EndpointTrait; - public function getMethod() : string + + public function getMethod(): string { return 'POST'; } - public function getUri() : string + + public function getUri(): string { return '/runtime/executions/update-state'; } - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null) : array + + public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array { if ($this->body instanceof \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld) { - return array(array('Content-Type' => array('application/ld+json')), $this->body); + return [['Content-Type' => ['application/ld+json']], $this->body]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput) { - return array(array('Content-Type' => array('application/json')), $serializer->serialize($this->body, 'json')); + return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } if ($this->body instanceof \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput) { - return array(array('Content-Type' => array('text/html')), $this->body); + return [['Content-Type' => ['text/html']], $this->body]; } - return array(array(), null); + + return [[], null]; } - public function getExtraHeaders() : array + + public function getExtraHeaders(): array { - return array('Accept' => array('application/json')); + return ['Accept' => ['application/json']]; } + /** * {@inheritdoc} * @@ -49,7 +56,7 @@ public function getExtraHeaders() : array */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { + if (false === is_null($contentType) && (202 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { @@ -59,8 +66,9 @@ protected function transformResponseBody(string $body, int $status, \Symfony\Com throw new \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionUnprocessableEntityException(); } } - public function getAuthenticationScopes() : array + + public function getAuthenticationScopes(): array { - return array('apiKey'); + return ['apiKey']; } -} \ No newline at end of file +} diff --git a/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php b/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php index 192b9d6a..c7e9ad25 100644 --- a/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php +++ b/src/Exception/AcceptReferralRequestReferralRequestItemBadRequestException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Invalid input'); } -} \ No newline at end of file +} diff --git a/src/Exception/AcceptReferralRequestReferralRequestItemNotFoundException.php b/src/Exception/AcceptReferralRequestReferralRequestItemNotFoundException.php index 59fc7ad4..9ee47049 100644 --- a/src/Exception/AcceptReferralRequestReferralRequestItemNotFoundException.php +++ b/src/Exception/AcceptReferralRequestReferralRequestItemNotFoundException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Resource not found'); } -} \ No newline at end of file +} diff --git a/src/Exception/AcceptReferralRequestReferralRequestItemUnprocessableEntityException.php b/src/Exception/AcceptReferralRequestReferralRequestItemUnprocessableEntityException.php index b8f1a019..5bdc0c9d 100644 --- a/src/Exception/AcceptReferralRequestReferralRequestItemUnprocessableEntityException.php +++ b/src/Exception/AcceptReferralRequestReferralRequestItemUnprocessableEntityException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Unprocessable entity'); } -} \ No newline at end of file +} diff --git a/src/Exception/AddAfterPipelineStepPipelineCollectionBadRequestException.php b/src/Exception/AddAfterPipelineStepPipelineCollectionBadRequestException.php index 7b721128..d9f96649 100644 --- a/src/Exception/AddAfterPipelineStepPipelineCollectionBadRequestException.php +++ b/src/Exception/AddAfterPipelineStepPipelineCollectionBadRequestException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Invalid input'); } -} \ No newline at end of file +} diff --git a/src/Exception/AddAfterPipelineStepPipelineCollectionUnprocessableEntityException.php b/src/Exception/AddAfterPipelineStepPipelineCollectionUnprocessableEntityException.php index 87242079..2c5c85ce 100644 --- a/src/Exception/AddAfterPipelineStepPipelineCollectionUnprocessableEntityException.php +++ b/src/Exception/AddAfterPipelineStepPipelineCollectionUnprocessableEntityException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Unprocessable entity'); } -} \ No newline at end of file +} diff --git a/src/Exception/AddBeforePipelineStepPipelineCollectionBadRequestException.php b/src/Exception/AddBeforePipelineStepPipelineCollectionBadRequestException.php index cc76004b..0bf797f0 100644 --- a/src/Exception/AddBeforePipelineStepPipelineCollectionBadRequestException.php +++ b/src/Exception/AddBeforePipelineStepPipelineCollectionBadRequestException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Invalid input'); } -} \ No newline at end of file +} diff --git a/src/Exception/AddBeforePipelineStepPipelineCollectionUnprocessableEntityException.php b/src/Exception/AddBeforePipelineStepPipelineCollectionUnprocessableEntityException.php index 0289e160..2ea2ca6d 100644 --- a/src/Exception/AddBeforePipelineStepPipelineCollectionUnprocessableEntityException.php +++ b/src/Exception/AddBeforePipelineStepPipelineCollectionUnprocessableEntityException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Unprocessable entity'); } -} \ No newline at end of file +} diff --git a/src/Exception/AddComposerPipelinePipelineCollectionBadRequestException.php b/src/Exception/AddComposerPipelinePipelineCollectionBadRequestException.php index e1e66c40..2c7a7070 100644 --- a/src/Exception/AddComposerPipelinePipelineCollectionBadRequestException.php +++ b/src/Exception/AddComposerPipelinePipelineCollectionBadRequestException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Invalid input'); } -} \ No newline at end of file +} diff --git a/src/Exception/AddComposerPipelinePipelineCollectionUnprocessableEntityException.php b/src/Exception/AddComposerPipelinePipelineCollectionUnprocessableEntityException.php index c9d12393..7de714e7 100644 --- a/src/Exception/AddComposerPipelinePipelineCollectionUnprocessableEntityException.php +++ b/src/Exception/AddComposerPipelinePipelineCollectionUnprocessableEntityException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Unprocessable entity'); } -} \ No newline at end of file +} diff --git a/src/Exception/AddPipelineStepProbePipelineCollectionBadRequestException.php b/src/Exception/AddPipelineStepProbePipelineCollectionBadRequestException.php index a0bdd721..9bdf7b84 100644 --- a/src/Exception/AddPipelineStepProbePipelineCollectionBadRequestException.php +++ b/src/Exception/AddPipelineStepProbePipelineCollectionBadRequestException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Invalid input'); } -} \ No newline at end of file +} diff --git a/src/Exception/AddPipelineStepProbePipelineCollectionUnprocessableEntityException.php b/src/Exception/AddPipelineStepProbePipelineCollectionUnprocessableEntityException.php index 55cfdb68..023e6d2e 100644 --- a/src/Exception/AddPipelineStepProbePipelineCollectionUnprocessableEntityException.php +++ b/src/Exception/AddPipelineStepProbePipelineCollectionUnprocessableEntityException.php @@ -8,4 +8,4 @@ public function __construct() { parent::__construct('Unprocessable entity'); } -} \ No newline at end of file +} diff --git a/src/Exception/AddValueConfigMapCollectionBadRequestException.php b/src/Exception/AddValueConfigMapCollectionBadRequestException.php new file mode 100644 index 00000000..61c33a52 --- /dev/null +++ b/src/Exception/AddValueConfigMapCollectionBadRequestException.php @@ -0,0 +1,11 @@ +id; } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): self + { + $this->code = $code; + + return $this; + } + + public function getLabel(): string + { + return $this->label; + } + + public function setLabel(string $label): self + { + $this->label = $label; + + return $this; + } + + public function getRuntimeType(): string + { + return $this->runtimeType; + } + + public function setRuntimeType(string $runtimeType): self + { + $this->runtimeType = $runtimeType; + + return $this; + } + /** - * - * - * @param string $id - * - * @return self + * @return string[] */ - public function setId(string $id) : self + public function getRuntime(): array { - $this->id = $id; + return $this->runtime; + } + + /** + * @param string[] $runtime + */ + public function setRuntime(array $runtime): self + { + $this->runtime = $runtime; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getAutoload(): array + { + return $this->autoload; + } + + /** + * @param string[] $autoload + */ + public function setAutoload(array $autoload): self + { + $this->autoload = $autoload; + + return $this; + } + + /** + * @return string[] + */ + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AbstractPipelineJsonld.php b/src/Model/AbstractPipelineJsonld.php index 213173cb..6731fc35 100644 --- a/src/Model/AbstractPipelineJsonld.php +++ b/src/Model/AbstractPipelineJsonld.php @@ -5,138 +5,187 @@ class AbstractPipelineJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * + * @var string + */ + protected $code; + /** + * @var string + */ + protected $label; + /** + * @var string + */ + protected $runtimeType; + /** + * @var string[] + */ + protected $runtime; + /** + * @var string[] + */ + protected $autoload; + /** * @var string[] */ protected $steps; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getId2(): string + { + return $this->id2; + } + + public function setId2(string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): self + { + $this->code = $code; + + return $this; + } + + public function getLabel(): string + { + return $this->label; + } + + public function setLabel(string $label): self + { + $this->label = $label; + + return $this; + } + + public function getRuntimeType(): string + { + return $this->runtimeType; + } + + public function setRuntimeType(string $runtimeType): self + { + $this->runtimeType = $runtimeType; + return $this; } + /** - * - * - * @return string + * @return string[] */ - public function getType() : string + public function getRuntime(): array { - return $this->type; + return $this->runtime; } + /** - * - * - * @param string $type - * - * @return self + * @param string[] $runtime */ - public function setType(string $type) : self + public function setRuntime(array $runtime): self { - $this->type = $type; + $this->runtime = $runtime; + return $this; } + /** - * - * - * @return string + * @return string[] */ - public function getId2() : string + public function getAutoload(): array { - return $this->id2; + return $this->autoload; } + /** - * - * - * @param string $id2 - * - * @return self + * @param string[] $autoload */ - public function setId2(string $id2) : self + public function setAutoload(array $autoload): self { - $this->id2 = $id2; + $this->autoload = $autoload; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ActionJsonldRead.php b/src/Model/ActionJsonldRead.php index f1a993a0..6ee289b3 100644 --- a/src/Model/ActionJsonldRead.php +++ b/src/Model/ActionJsonldRead.php @@ -5,111 +5,73 @@ class ActionJsonldRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ActionRead.php b/src/Model/ActionRead.php index 4b6f2610..0a8a99f7 100644 --- a/src/Model/ActionRead.php +++ b/src/Model/ActionRead.php @@ -5,30 +5,19 @@ class ActionRead { /** - * - * * @var string */ protected $id; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AkeneoInstance.php b/src/Model/AkeneoInstance.php new file mode 100644 index 00000000..4cac039c --- /dev/null +++ b/src/Model/AkeneoInstance.php @@ -0,0 +1,131 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->url = $url; + + return $this; + } + + public function getOrganization(): string + { + return $this->organization; + } + + public function setOrganization(string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + public function getSecret(): string + { + return $this->secret; + } + + public function setSecret(string $secret): self + { + $this->secret = $secret; + + return $this; + } + + /** + * @return string[] + */ + public function getLinkedAccounts(): array + { + return $this->linkedAccounts; + } + + /** + * @param string[] $linkedAccounts + */ + public function setLinkedAccounts(array $linkedAccounts): self + { + $this->linkedAccounts = $linkedAccounts; + + return $this; + } + + /** + * @return string[] + */ + public function getOauthTokens(): array + { + return $this->oauthTokens; + } + + /** + * @param string[] $oauthTokens + */ + public function setOauthTokens(array $oauthTokens): self + { + $this->oauthTokens = $oauthTokens; + + return $this; + } +} diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInput.php b/src/Model/AkeneoInstanceAkeneoInstanceInput.php new file mode 100644 index 00000000..a6cc438f --- /dev/null +++ b/src/Model/AkeneoInstanceAkeneoInstanceInput.php @@ -0,0 +1,55 @@ +pimUrl; + } + + public function setPimUrl(string $pimUrl): self + { + $this->pimUrl = $pimUrl; + + return $this; + } + + public function getOrganization(): string + { + return $this->organization; + } + + public function setOrganization(string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getSecret(): SecretInput + { + return $this->secret; + } + + public function setSecret(SecretInput $secret): self + { + $this->secret = $secret; + + return $this; + } +} diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php new file mode 100644 index 00000000..a59358ad --- /dev/null +++ b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php @@ -0,0 +1,109 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getPimUrl(): string + { + return $this->pimUrl; + } + + public function setPimUrl(string $pimUrl): self + { + $this->pimUrl = $pimUrl; + + return $this; + } + + public function getOrganization(): string + { + return $this->organization; + } + + public function setOrganization(string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getSecret(): SecretInputJsonld + { + return $this->secret; + } + + public function setSecret(SecretInputJsonld $secret): self + { + $this->secret = $secret; + + return $this; + } +} diff --git a/src/Model/AkeneoInstanceJsonld.php b/src/Model/AkeneoInstanceJsonld.php new file mode 100644 index 00000000..eec8a2af --- /dev/null +++ b/src/Model/AkeneoInstanceJsonld.php @@ -0,0 +1,185 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId2(): string + { + return $this->id2; + } + + public function setId2(string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->url = $url; + + return $this; + } + + public function getOrganization(): string + { + return $this->organization; + } + + public function setOrganization(string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): ?string + { + return $this->workspace; + } + + public function setWorkspace(?string $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + public function getSecret(): string + { + return $this->secret; + } + + public function setSecret(string $secret): self + { + $this->secret = $secret; + + return $this; + } + + /** + * @return string[] + */ + public function getLinkedAccounts(): array + { + return $this->linkedAccounts; + } + + /** + * @param string[] $linkedAccounts + */ + public function setLinkedAccounts(array $linkedAccounts): self + { + $this->linkedAccounts = $linkedAccounts; + + return $this; + } + + /** + * @return string[] + */ + public function getOauthTokens(): array + { + return $this->oauthTokens; + } + + /** + * @param string[] $oauthTokens + */ + public function setOauthTokens(array $oauthTokens): self + { + $this->oauthTokens = $oauthTokens; + + return $this; + } +} diff --git a/src/Model/AkeneoLinkedAccount.php b/src/Model/AkeneoLinkedAccount.php new file mode 100644 index 00000000..5c868c79 --- /dev/null +++ b/src/Model/AkeneoLinkedAccount.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getUser(): ?string + { + return $this->user; + } + + public function setUser(?string $user): self + { + $this->user = $user; + + return $this; + } + + public function getTokenId(): string + { + return $this->tokenId; + } + + public function setTokenId(string $tokenId): self + { + $this->tokenId = $tokenId; + + return $this; + } + + public function getAkeneoUserId(): string + { + return $this->akeneoUserId; + } + + public function setAkeneoUserId(string $akeneoUserId): self + { + $this->akeneoUserId = $akeneoUserId; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->token = $token; + + return $this; + } + + public function getAkeneoInstance(): ?string + { + return $this->akeneoInstance; + } + + public function setAkeneoInstance(?string $akeneoInstance): self + { + $this->akeneoInstance = $akeneoInstance; + + return $this; + } +} diff --git a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php new file mode 100644 index 00000000..2bf360de --- /dev/null +++ b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php @@ -0,0 +1,71 @@ +akeneoInstance; + } + + public function setAkeneoInstance(string $akeneoInstance): self + { + $this->akeneoInstance = $akeneoInstance; + + return $this; + } + + public function getTokenId(): string + { + return $this->tokenId; + } + + public function setTokenId(string $tokenId): self + { + $this->tokenId = $tokenId; + + return $this; + } + + public function getAkeneoUserId(): string + { + return $this->akeneoUserId; + } + + public function setAkeneoUserId(string $akeneoUserId): self + { + $this->akeneoUserId = $akeneoUserId; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php new file mode 100644 index 00000000..ac4fd564 --- /dev/null +++ b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php @@ -0,0 +1,125 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getAkeneoInstance(): string + { + return $this->akeneoInstance; + } + + public function setAkeneoInstance(string $akeneoInstance): self + { + $this->akeneoInstance = $akeneoInstance; + + return $this; + } + + public function getTokenId(): string + { + return $this->tokenId; + } + + public function setTokenId(string $tokenId): self + { + $this->tokenId = $tokenId; + + return $this; + } + + public function getAkeneoUserId(): string + { + return $this->akeneoUserId; + } + + public function setAkeneoUserId(string $akeneoUserId): self + { + $this->akeneoUserId = $akeneoUserId; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->token = $token; + + return $this; + } +} diff --git a/src/Model/AkeneoLinkedAccountJsonld.php b/src/Model/AkeneoLinkedAccountJsonld.php new file mode 100644 index 00000000..52d3613f --- /dev/null +++ b/src/Model/AkeneoLinkedAccountJsonld.php @@ -0,0 +1,157 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId2(): string + { + return $this->id2; + } + + public function setId2(string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getUser(): ?string + { + return $this->user; + } + + public function setUser(?string $user): self + { + $this->user = $user; + + return $this; + } + + public function getTokenId(): string + { + return $this->tokenId; + } + + public function setTokenId(string $tokenId): self + { + $this->tokenId = $tokenId; + + return $this; + } + + public function getAkeneoUserId(): string + { + return $this->akeneoUserId; + } + + public function setAkeneoUserId(string $akeneoUserId): self + { + $this->akeneoUserId = $akeneoUserId; + + return $this; + } + + public function getToken(): string + { + return $this->token; + } + + public function setToken(string $token): self + { + $this->token = $token; + + return $this; + } + + public function getAkeneoInstance(): ?string + { + return $this->akeneoInstance; + } + + public function setAkeneoInstance(?string $akeneoInstance): self + { + $this->akeneoInstance = $akeneoInstance; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenJsonldRead.php b/src/Model/AkeneoOauthTokenJsonldRead.php new file mode 100644 index 00000000..02813c4a --- /dev/null +++ b/src/Model/AkeneoOauthTokenJsonldRead.php @@ -0,0 +1,131 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId2(): string + { + return $this->id2; + } + + public function setId2(string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->url = $url; + + return $this; + } + + /** + * @return string[] + */ + public function getScopes(): array + { + return $this->scopes; + } + + /** + * @param string[] $scopes + */ + public function setScopes(array $scopes): self + { + $this->scopes = $scopes; + + return $this; + } + + public function getResponseType(): string + { + return $this->responseType; + } + + public function setResponseType(string $responseType): self + { + $this->responseType = $responseType; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthStateInput.php b/src/Model/AkeneoOauthTokenOauthStateInput.php new file mode 100644 index 00000000..9d0deee2 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthStateInput.php @@ -0,0 +1,45 @@ +url; + } + + public function setUrl(string $url): self + { + $this->url = $url; + + return $this; + } + + /** + * @return string[] + */ + public function getScope(): array + { + return $this->scope; + } + + /** + * @param string[] $scope + */ + public function setScope(array $scope): self + { + $this->scope = $scope; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php b/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php new file mode 100644 index 00000000..efd8ff65 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php @@ -0,0 +1,99 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->url = $url; + + return $this; + } + + /** + * @return string[] + */ + public function getScope(): array + { + return $this->scope; + } + + /** + * @param string[] $scope + */ + public function setScope(array $scope): self + { + $this->scope = $scope; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php b/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php new file mode 100644 index 00000000..84bf3971 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php @@ -0,0 +1,61 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthTokenInput.php b/src/Model/AkeneoOauthTokenOauthTokenInput.php new file mode 100644 index 00000000..02621fc8 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthTokenInput.php @@ -0,0 +1,55 @@ +url; + } + + public function setUrl(string $url): self + { + $this->url = $url; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->state = $state; + + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): self + { + $this->code = $code; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php b/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php new file mode 100644 index 00000000..21119775 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php @@ -0,0 +1,87 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->url = $url; + + return $this; + } + + public function getState(): string + { + return $this->state; + } + + public function setState(string $state): self + { + $this->state = $state; + + return $this; + } + + public function getCode(): string + { + return $this->code; + } + + public function setCode(string $code): self + { + $this->code = $code; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php b/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php new file mode 100644 index 00000000..78b0d5f4 --- /dev/null +++ b/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php @@ -0,0 +1,39 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } +} diff --git a/src/Model/AkeneoOauthTokenRead.php b/src/Model/AkeneoOauthTokenRead.php new file mode 100644 index 00000000..eb2517dc --- /dev/null +++ b/src/Model/AkeneoOauthTokenRead.php @@ -0,0 +1,77 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getUrl(): string + { + return $this->url; + } + + public function setUrl(string $url): self + { + $this->url = $url; + + return $this; + } + + /** + * @return string[] + */ + public function getScopes(): array + { + return $this->scopes; + } + + /** + * @param string[] $scopes + */ + public function setScopes(array $scopes): self + { + $this->scopes = $scopes; + + return $this; + } + + public function getResponseType(): string + { + return $this->responseType; + } + + public function setResponseType(string $responseType): self + { + $this->responseType = $responseType; + + return $this; + } +} diff --git a/src/Model/AuthenticationMeGetResponse200.php b/src/Model/AuthenticationMeGetResponse200.php index d49af46f..5b6d9cd8 100644 --- a/src/Model/AuthenticationMeGetResponse200.php +++ b/src/Model/AuthenticationMeGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationMeGetResponse200 { /** - * - * * @var UserJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationMeGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationMeGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return UserJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param UserJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationMeGetResponse200HydraView - */ - public function getHydraView() : AuthenticationMeGetResponse200HydraView + + public function getHydraView(): AuthenticationMeGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationMeGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationMeGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationMeGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationMeGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationMeGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationMeGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationMeGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationMeGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationMeGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationMeGetResponse200HydraSearch.php b/src/Model/AuthenticationMeGetResponse200HydraSearch.php index 9a3756cf..508bf9dc 100644 --- a/src/Model/AuthenticationMeGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationMeGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationMeGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationMeGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationMeGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationMeGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php index 13a61d34..728cbf31 100644 --- a/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationMeGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationMeGetResponse200HydraView.php b/src/Model/AuthenticationMeGetResponse200HydraView.php index 91ac7d16..2b06a0c5 100644 --- a/src/Model/AuthenticationMeGetResponse200HydraView.php +++ b/src/Model/AuthenticationMeGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationMeGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200.php new file mode 100644 index 00000000..df5aa117 --- /dev/null +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param OptionJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): AuthenticationOfferIdOptionsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(AuthenticationOfferIdOptionsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): AuthenticationOfferIdOptionsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(AuthenticationOfferIdOptionsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php new file mode 100644 index 00000000..2cd31d80 --- /dev/null +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..772c1023 --- /dev/null +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php new file mode 100644 index 00000000..5939ee4b --- /dev/null +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationOffersGetResponse200.php b/src/Model/AuthenticationOffersGetResponse200.php new file mode 100644 index 00000000..be801b26 --- /dev/null +++ b/src/Model/AuthenticationOffersGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param OfferJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): AuthenticationOffersGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(AuthenticationOffersGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): AuthenticationOffersGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(AuthenticationOffersGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationOffersGetResponse200HydraSearch.php b/src/Model/AuthenticationOffersGetResponse200HydraSearch.php new file mode 100644 index 00000000..331305b5 --- /dev/null +++ b/src/Model/AuthenticationOffersGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..70b366e6 --- /dev/null +++ b/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationOffersGetResponse200HydraView.php b/src/Model/AuthenticationOffersGetResponse200HydraView.php new file mode 100644 index 00000000..3d97ffc6 --- /dev/null +++ b/src/Model/AuthenticationOffersGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php index 8b02945a..db59ed03 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200 { /** - * - * * @var UserAuthorizationJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return UserAuthorizationJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param UserAuthorizationJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView + + public function getHydraView(): AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php index e629ec61..25819d07 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index 3e97d40c..f79a63cc 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php index 60c5ee10..f0caa6ef 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php index 3ac02a77..827dc5cc 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200 { /** - * - * * @var UserJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return UserJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param UserJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView + + public function getHydraView(): AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php index d0856884..5c97e509 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php index 364e3f31..8febf15b 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php index 7b273b7f..11e72542 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php index bb190ca2..90135c05 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationIdUsersGetResponse200 { /** - * - * * @var UserJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationOrganizationIdUsersGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationOrganizationIdUsersGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return UserJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param UserJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdUsersGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationIdUsersGetResponse200HydraView + + public function getHydraView(): AuthenticationOrganizationIdUsersGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationIdUsersGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationIdUsersGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationOrganizationIdUsersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdUsersGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationIdUsersGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationOrganizationIdUsersGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationIdUsersGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationIdUsersGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationOrganizationIdUsersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php index 8d265609..ac3a6861 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php index fa925bcc..567c0373 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php index 04febc4e..b433dc14 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php index 3f66a400..49587efb 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200 { /** - * - * * @var WorkspaceJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationOrganizationIdWorkspacesGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return WorkspaceJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param WorkspaceJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdWorkspacesGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationIdWorkspacesGetResponse200HydraView + + public function getHydraView(): AuthenticationOrganizationIdWorkspacesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationIdWorkspacesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationIdWorkspacesGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationOrganizationIdWorkspacesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php index ef16aeac..d77961f2 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php index 73d84448..c93fb777 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php index 600434ac..2b6d2e0a 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationsGetResponse200.php b/src/Model/AuthenticationOrganizationsGetResponse200.php index b4f8cc8e..62881c2c 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationsGetResponse200 { /** - * - * * @var OrganizationJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationOrganizationsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationOrganizationsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return OrganizationJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param OrganizationJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationOrganizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationOrganizationsGetResponse200HydraView + + public function getHydraView(): AuthenticationOrganizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationOrganizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationOrganizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationOrganizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationOrganizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationOrganizationsGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationOrganizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationOrganizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationOrganizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationOrganizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php index df8c2962..c3debc0e 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationOrganizationsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php index 1c961723..80c96051 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php index d5b7d238..7319ab1c 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationOrganizationsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200.php b/src/Model/AuthenticationSubscriptionsGetResponse200.php new file mode 100644 index 00000000..3bb0fe9d --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param SubscriptionJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): AuthenticationSubscriptionsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(AuthenticationSubscriptionsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): AuthenticationSubscriptionsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(AuthenticationSubscriptionsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php new file mode 100644 index 00000000..a51e7289 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..c36288f0 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php b/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php new file mode 100644 index 00000000..41b13ad6 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php new file mode 100644 index 00000000..a46609a9 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param SubscriptionOptionJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): AuthenticationSubscriptionsIdOptionsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(AuthenticationSubscriptionsIdOptionsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php new file mode 100644 index 00000000..1d653eca --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..a477e8e6 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php new file mode 100644 index 00000000..2fe95000 --- /dev/null +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200.php index b9220eda..c634d325 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationUserAuthorizationsGetResponse200 { /** - * - * * @var UserAuthorizationJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationUserAuthorizationsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationUserAuthorizationsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return UserAuthorizationJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param UserAuthorizationJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationUserAuthorizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationUserAuthorizationsGetResponse200HydraView + + public function getHydraView(): AuthenticationUserAuthorizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationUserAuthorizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationUserAuthorizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationUserAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationUserAuthorizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationUserAuthorizationsGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationUserAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationUserAuthorizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationUserAuthorizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationUserAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php index 671c6631..1f42af3b 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationUserAuthorizationsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index aa2a1318..1be837ee 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php index 1ab3684c..a9629a31 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationUserAuthorizationsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php index 55627197..62f2eae9 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationUserIdAuthorizationsGetResponse200 { /** - * - * * @var UserAuthorizationJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationUserIdAuthorizationsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationUserIdAuthorizationsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return UserAuthorizationJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param UserAuthorizationJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationUserIdAuthorizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationUserIdAuthorizationsGetResponse200HydraView + + public function getHydraView(): AuthenticationUserIdAuthorizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationUserIdAuthorizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationUserIdAuthorizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationUserIdAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationUserIdAuthorizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationUserIdAuthorizationsGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationUserIdAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationUserIdAuthorizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationUserIdAuthorizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationUserIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php index 38aa9b26..0cd959cb 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index c803e146..0e61dd5f 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php index 815dace3..0b9ffd97 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUsersGetResponse200.php b/src/Model/AuthenticationUsersGetResponse200.php index f807190d..70cf6aa7 100644 --- a/src/Model/AuthenticationUsersGetResponse200.php +++ b/src/Model/AuthenticationUsersGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationUsersGetResponse200 { /** - * - * * @var UserJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationUsersGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationUsersGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return UserJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param UserJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationUsersGetResponse200HydraView - */ - public function getHydraView() : AuthenticationUsersGetResponse200HydraView + + public function getHydraView(): AuthenticationUsersGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationUsersGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationUsersGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationUsersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationUsersGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationUsersGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationUsersGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationUsersGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationUsersGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationUsersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUsersGetResponse200HydraSearch.php b/src/Model/AuthenticationUsersGetResponse200HydraSearch.php index de1eeb69..0bee9320 100644 --- a/src/Model/AuthenticationUsersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationUsersGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationUsersGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php index 91cf056e..64485031 100644 --- a/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationUsersGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationUsersGetResponse200HydraView.php b/src/Model/AuthenticationUsersGetResponse200HydraView.php index 1dd2cb32..8f8bc03a 100644 --- a/src/Model/AuthenticationUsersGetResponse200HydraView.php +++ b/src/Model/AuthenticationUsersGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationUsersGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php index 696fa5eb..449cd7df 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200 { /** - * - * * @var UserAuthorizationJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return UserAuthorizationJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param UserAuthorizationJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView - */ - public function getHydraView() : AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView + + public function getHydraView(): AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php index c936ad8d..5d1231eb 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index 36c59a88..b2d9384f 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php index a8acbd11..b4fe0bed 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php index d89cf91b..20df7a9f 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationWorkspaceIdUsersGetResponse200 { /** - * - * * @var UserJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationWorkspaceIdUsersGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationWorkspaceIdUsersGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return UserJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param UserJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationWorkspaceIdUsersGetResponse200HydraView - */ - public function getHydraView() : AuthenticationWorkspaceIdUsersGetResponse200HydraView + + public function getHydraView(): AuthenticationWorkspaceIdUsersGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationWorkspaceIdUsersGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationWorkspaceIdUsersGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationWorkspaceIdUsersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationWorkspaceIdUsersGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationWorkspaceIdUsersGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationWorkspaceIdUsersGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationWorkspaceIdUsersGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationWorkspaceIdUsersGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationWorkspaceIdUsersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php index c7c37747..048ccdd2 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php index a0eba07f..c67c6d4b 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php index dfc6bf36..2137807f 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspacesGetResponse200.php b/src/Model/AuthenticationWorkspacesGetResponse200.php index bef85d73..9e6bae27 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200.php @@ -5,111 +5,73 @@ class AuthenticationWorkspacesGetResponse200 { /** - * - * * @var WorkspaceJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var AuthenticationWorkspacesGetResponse200HydraView */ protected $hydraView; /** - * - * * @var AuthenticationWorkspacesGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return WorkspaceJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param WorkspaceJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return AuthenticationWorkspacesGetResponse200HydraView - */ - public function getHydraView() : AuthenticationWorkspacesGetResponse200HydraView + + public function getHydraView(): AuthenticationWorkspacesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param AuthenticationWorkspacesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(AuthenticationWorkspacesGetResponse200HydraView $hydraView) : self + + public function setHydraView(AuthenticationWorkspacesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return AuthenticationWorkspacesGetResponse200HydraSearch - */ - public function getHydraSearch() : AuthenticationWorkspacesGetResponse200HydraSearch + + public function getHydraSearch(): AuthenticationWorkspacesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param AuthenticationWorkspacesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(AuthenticationWorkspacesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(AuthenticationWorkspacesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php index b5ca1941..a3446724 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class AuthenticationWorkspacesGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php index 525034ec..6da47f92 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php b/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php index abd03f58..cb3d1e53 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php @@ -5,165 +5,99 @@ class AuthenticationWorkspacesGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AutoloadInput.php b/src/Model/AutoloadInput.php index 12c20dff..5010f0f1 100644 --- a/src/Model/AutoloadInput.php +++ b/src/Model/AutoloadInput.php @@ -5,57 +5,41 @@ class AutoloadInput { /** - * - * * @var string */ protected $namespace; /** - * - * * @var string[] */ protected $paths; - /** - * - * - * @return string - */ - public function getNamespace() : string + + public function getNamespace(): string { return $this->namespace; } - /** - * - * - * @param string $namespace - * - * @return self - */ - public function setNamespace(string $namespace) : self + + public function setNamespace(string $namespace): self { $this->namespace = $namespace; + return $this; } + /** - * - * * @return string[] */ - public function getPaths() : array + public function getPaths(): array { return $this->paths; } + /** - * - * * @param string[] $paths - * - * @return self */ - public function setPaths(array $paths) : self + public function setPaths(array $paths): self { $this->paths = $paths; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/AutoloadInputJsonld.php b/src/Model/AutoloadInputJsonld.php index 38baeb5b..03987e09 100644 --- a/src/Model/AutoloadInputJsonld.php +++ b/src/Model/AutoloadInputJsonld.php @@ -5,138 +5,95 @@ class AutoloadInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $namespace; /** - * - * * @var string[] */ protected $paths; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getNamespace() : string + + public function getNamespace(): string { return $this->namespace; } - /** - * - * - * @param string $namespace - * - * @return self - */ - public function setNamespace(string $namespace) : self + + public function setNamespace(string $namespace): self { $this->namespace = $namespace; + return $this; } + /** - * - * * @return string[] */ - public function getPaths() : array + public function getPaths(): array { return $this->paths; } + /** - * - * * @param string[] $paths - * - * @return self */ - public function setPaths(array $paths) : self + public function setPaths(array $paths): self { $this->paths = $paths; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/BigDecimal.php b/src/Model/BigDecimal.php new file mode 100644 index 00000000..37ca890d --- /dev/null +++ b/src/Model/BigDecimal.php @@ -0,0 +1,255 @@ +scale; + } + + /** + * The scale (number of digits after the decimal point) of this decimal number. + */ + public function setScale(int $scale): self + { + $this->scale = $scale; + + return $this; + } + + public function getSign(): int + { + return $this->sign; + } + + public function setSign(int $sign): self + { + $this->sign = $sign; + + return $this; + } + + public function getUnscaledValue(): BigInteger + { + return $this->unscaledValue; + } + + public function setUnscaledValue(BigInteger $unscaledValue): self + { + $this->unscaledValue = $unscaledValue; + + return $this; + } + + /** + * Returns a string representing the integral part of this decimal number. + */ + public function getIntegralPart(): string + { + return $this->integralPart; + } + + /** + * Returns a string representing the integral part of this decimal number. + */ + public function setIntegralPart(string $integralPart): self + { + $this->integralPart = $integralPart; + + return $this; + } + + /** + * Returns a string representing the fractional part of this decimal number. + */ + public function getFractionalPart(): string + { + return $this->fractionalPart; + } + + /** + * Returns a string representing the fractional part of this decimal number. + */ + public function setFractionalPart(string $fractionalPart): self + { + $this->fractionalPart = $fractionalPart; + + return $this; + } + + /** + * Returns whether this decimal number has a non-zero fractional part. + */ + public function getNonZeroFractionalPart(): bool + { + return $this->nonZeroFractionalPart; + } + + /** + * Returns whether this decimal number has a non-zero fractional part. + */ + public function setNonZeroFractionalPart(bool $nonZeroFractionalPart): self + { + $this->nonZeroFractionalPart = $nonZeroFractionalPart; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/BigDecimalJsonld.php b/src/Model/BigDecimalJsonld.php new file mode 100644 index 00000000..2366fda2 --- /dev/null +++ b/src/Model/BigDecimalJsonld.php @@ -0,0 +1,309 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * The scale (number of digits after the decimal point) of this decimal number. + */ + public function getScale(): int + { + return $this->scale; + } + + /** + * The scale (number of digits after the decimal point) of this decimal number. + */ + public function setScale(int $scale): self + { + $this->scale = $scale; + + return $this; + } + + public function getSign(): int + { + return $this->sign; + } + + public function setSign(int $sign): self + { + $this->sign = $sign; + + return $this; + } + + public function getUnscaledValue(): BigIntegerJsonld + { + return $this->unscaledValue; + } + + public function setUnscaledValue(BigIntegerJsonld $unscaledValue): self + { + $this->unscaledValue = $unscaledValue; + + return $this; + } + + /** + * Returns a string representing the integral part of this decimal number. + */ + public function getIntegralPart(): string + { + return $this->integralPart; + } + + /** + * Returns a string representing the integral part of this decimal number. + */ + public function setIntegralPart(string $integralPart): self + { + $this->integralPart = $integralPart; + + return $this; + } + + /** + * Returns a string representing the fractional part of this decimal number. + */ + public function getFractionalPart(): string + { + return $this->fractionalPart; + } + + /** + * Returns a string representing the fractional part of this decimal number. + */ + public function setFractionalPart(string $fractionalPart): self + { + $this->fractionalPart = $fractionalPart; + + return $this; + } + + /** + * Returns whether this decimal number has a non-zero fractional part. + */ + public function getNonZeroFractionalPart(): bool + { + return $this->nonZeroFractionalPart; + } + + /** + * Returns whether this decimal number has a non-zero fractional part. + */ + public function setNonZeroFractionalPart(bool $nonZeroFractionalPart): self + { + $this->nonZeroFractionalPart = $nonZeroFractionalPart; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/BigInteger.php b/src/Model/BigInteger.php new file mode 100644 index 00000000..a17c4aa0 --- /dev/null +++ b/src/Model/BigInteger.php @@ -0,0 +1,239 @@ +bitLength; + } + + /** + * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. + */ + public function setBitLength(int $bitLength): self + { + $this->bitLength = $bitLength; + + return $this; + } + + /** + * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. + */ + public function getLowestSetBit(): int + { + return $this->lowestSetBit; + } + + /** + * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. + */ + public function setLowestSetBit(int $lowestSetBit): self + { + $this->lowestSetBit = $lowestSetBit; + + return $this; + } + + /** + * Returns whether this number is even. + */ + public function getEven(): bool + { + return $this->even; + } + + /** + * Returns whether this number is even. + */ + public function setEven(bool $even): self + { + $this->even = $even; + + return $this; + } + + /** + * Returns whether this number is odd. + */ + public function getOdd(): bool + { + return $this->odd; + } + + /** + * Returns whether this number is odd. + */ + public function setOdd(bool $odd): self + { + $this->odd = $odd; + + return $this; + } + + public function getSign(): int + { + return $this->sign; + } + + public function setSign(int $sign): self + { + $this->sign = $sign; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/BigIntegerJsonld.php b/src/Model/BigIntegerJsonld.php new file mode 100644 index 00000000..76786248 --- /dev/null +++ b/src/Model/BigIntegerJsonld.php @@ -0,0 +1,293 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. + */ + public function getBitLength(): int + { + return $this->bitLength; + } + + /** + * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. + */ + public function setBitLength(int $bitLength): self + { + $this->bitLength = $bitLength; + + return $this; + } + + /** + * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. + */ + public function getLowestSetBit(): int + { + return $this->lowestSetBit; + } + + /** + * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. + */ + public function setLowestSetBit(int $lowestSetBit): self + { + $this->lowestSetBit = $lowestSetBit; + + return $this; + } + + /** + * Returns whether this number is even. + */ + public function getEven(): bool + { + return $this->even; + } + + /** + * Returns whether this number is even. + */ + public function setEven(bool $even): self + { + $this->even = $even; + + return $this; + } + + /** + * Returns whether this number is odd. + */ + public function getOdd(): bool + { + return $this->odd; + } + + /** + * Returns whether this number is odd. + */ + public function setOdd(bool $odd): self + { + $this->odd = $odd; + + return $this; + } + + public function getSign(): int + { + return $this->sign; + } + + public function setSign(int $sign): self + { + $this->sign = $sign; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/BigNumber.php b/src/Model/BigNumber.php new file mode 100644 index 00000000..a4b7a32e --- /dev/null +++ b/src/Model/BigNumber.php @@ -0,0 +1,151 @@ +zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } + + /** + * Returns the sign of this number. + */ + public function getSign(): int + { + return $this->sign; + } + + /** + * Returns the sign of this number. + */ + public function setSign(int $sign): self + { + $this->sign = $sign; + + return $this; + } +} diff --git a/src/Model/BigNumberJsonld.php b/src/Model/BigNumberJsonld.php new file mode 100644 index 00000000..dd79915a --- /dev/null +++ b/src/Model/BigNumberJsonld.php @@ -0,0 +1,205 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * Checks if this number equals zero. + */ + public function getZero(): bool + { + return $this->zero; + } + + /** + * Checks if this number equals zero. + */ + public function setZero(bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Checks if this number is strictly negative. + */ + public function getNegative(): bool + { + return $this->negative; + } + + /** + * Checks if this number is strictly negative. + */ + public function setNegative(bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Checks if this number is negative or zero. + */ + public function getNegativeOrZero(): bool + { + return $this->negativeOrZero; + } + + /** + * Checks if this number is negative or zero. + */ + public function setNegativeOrZero(bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Checks if this number is strictly positive. + */ + public function getPositive(): bool + { + return $this->positive; + } + + /** + * Checks if this number is strictly positive. + */ + public function setPositive(bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Checks if this number is positive or zero. + */ + public function getPositiveOrZero(): bool + { + return $this->positiveOrZero; + } + + /** + * Checks if this number is positive or zero. + */ + public function setPositiveOrZero(bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } + + /** + * Returns the sign of this number. + */ + public function getSign(): int + { + return $this->sign; + } + + /** + * Returns the sign of this number. + */ + public function setSign(int $sign): self + { + $this->sign = $sign; + + return $this; + } +} diff --git a/src/Model/ConfigMap.php b/src/Model/ConfigMap.php new file mode 100644 index 00000000..0152a64f --- /dev/null +++ b/src/Model/ConfigMap.php @@ -0,0 +1,109 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + public function getOrganization(): string + { + return $this->organization; + } + + public function setOrganization(string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): string + { + return $this->workspace; + } + + public function setWorkspace(string $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + /** + * @return mixed + */ + public function getIterator() + { + return $this->iterator; + } + + /** + * @param mixed $iterator + */ + public function setIterator($iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/ConfigMapConfigMapInput.php b/src/Model/ConfigMapConfigMapInput.php new file mode 100644 index 00000000..b581a2e8 --- /dev/null +++ b/src/Model/ConfigMapConfigMapInput.php @@ -0,0 +1,55 @@ +name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + public function getConfigs(): ConfigMapValueInput + { + return $this->configs; + } + + public function setConfigs(ConfigMapValueInput $configs): self + { + $this->configs = $configs; + + return $this; + } +} diff --git a/src/Model/ConfigMapConfigMapInputJsonld.php b/src/Model/ConfigMapConfigMapInputJsonld.php new file mode 100644 index 00000000..9a480f68 --- /dev/null +++ b/src/Model/ConfigMapConfigMapInputJsonld.php @@ -0,0 +1,109 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + public function getConfigs(): ConfigMapValueInputJsonld + { + return $this->configs; + } + + public function setConfigs(ConfigMapValueInputJsonld $configs): self + { + $this->configs = $configs; + + return $this; + } +} diff --git a/src/Model/ConfigMapJsonld.php b/src/Model/ConfigMapJsonld.php new file mode 100644 index 00000000..4588b5e7 --- /dev/null +++ b/src/Model/ConfigMapJsonld.php @@ -0,0 +1,157 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId2(): string + { + return $this->id2; + } + + public function setId2(string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + public function getOrganization(): string + { + return $this->organization; + } + + public function setOrganization(string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getWorkspace(): string + { + return $this->workspace; + } + + public function setWorkspace(string $workspace): self + { + $this->workspace = $workspace; + + return $this; + } + + public function getIterator(): TraversableJsonld + { + return $this->iterator; + } + + public function setIterator(TraversableJsonld $iterator): self + { + $this->iterator = $iterator; + + return $this; + } +} diff --git a/src/Model/ConfigMapValueInput.php b/src/Model/ConfigMapValueInput.php index bffb2aae..31953ca0 100644 --- a/src/Model/ConfigMapValueInput.php +++ b/src/Model/ConfigMapValueInput.php @@ -5,111 +5,79 @@ class ConfigMapValueInput { /** - * - * * @var mixed */ protected $arrayCopy; /** - * - * * @var int */ protected $flags; /** - * - * * @var mixed */ protected $iterator; /** - * - * * @var string */ protected $iteratorClass; + /** - * - * * @return mixed */ public function getArrayCopy() { return $this->arrayCopy; } + /** - * - * * @param mixed $arrayCopy - * - * @return self */ - public function setArrayCopy($arrayCopy) : self + public function setArrayCopy($arrayCopy): self { $this->arrayCopy = $arrayCopy; + return $this; } - /** - * - * - * @return int - */ - public function getFlags() : int + + public function getFlags(): int { return $this->flags; } - /** - * - * - * @param int $flags - * - * @return self - */ - public function setFlags(int $flags) : self + + public function setFlags(int $flags): self { $this->flags = $flags; + return $this; } + /** - * - * * @return mixed */ public function getIterator() { return $this->iterator; } + /** - * - * * @param mixed $iterator - * - * @return self */ - public function setIterator($iterator) : self + public function setIterator($iterator): self { $this->iterator = $iterator; + return $this; } - /** - * - * - * @return string - */ - public function getIteratorClass() : string + + public function getIteratorClass(): string { return $this->iteratorClass; } - /** - * - * - * @param string $iteratorClass - * - * @return self - */ - public function setIteratorClass(string $iteratorClass) : self + + public function setIteratorClass(string $iteratorClass): self { $this->iteratorClass = $iteratorClass; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ConfigMapValueInputJsonld.php b/src/Model/ConfigMapValueInputJsonld.php index 506272e6..2106d437 100644 --- a/src/Model/ConfigMapValueInputJsonld.php +++ b/src/Model/ConfigMapValueInputJsonld.php @@ -5,192 +5,133 @@ class ConfigMapValueInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $arrayCopy; /** - * - * * @var int */ protected $flags; /** - * - * * @var mixed */ protected $iterator; /** - * - * * @var string */ protected $iteratorClass; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getArrayCopy() { return $this->arrayCopy; } + /** - * - * * @param mixed $arrayCopy - * - * @return self */ - public function setArrayCopy($arrayCopy) : self + public function setArrayCopy($arrayCopy): self { $this->arrayCopy = $arrayCopy; + return $this; } - /** - * - * - * @return int - */ - public function getFlags() : int + + public function getFlags(): int { return $this->flags; } - /** - * - * - * @param int $flags - * - * @return self - */ - public function setFlags(int $flags) : self + + public function setFlags(int $flags): self { $this->flags = $flags; + return $this; } + /** - * - * * @return mixed */ public function getIterator() { return $this->iterator; } + /** - * - * * @param mixed $iterator - * - * @return self */ - public function setIterator($iterator) : self + public function setIterator($iterator): self { $this->iterator = $iterator; + return $this; } - /** - * - * - * @return string - */ - public function getIteratorClass() : string + + public function getIteratorClass(): string { return $this->iteratorClass; } - /** - * - * - * @param string $iteratorClass - * - * @return self - */ - public function setIteratorClass(string $iteratorClass) : self + + public function setIteratorClass(string $iteratorClass): self { $this->iteratorClass = $iteratorClass; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Context.php b/src/Model/Context.php new file mode 100644 index 00000000..9393ad0c --- /dev/null +++ b/src/Model/Context.php @@ -0,0 +1,55 @@ +step; + } + + /** + * Returns the step used by this context. + */ + public function setStep(int $step): self + { + $this->step = $step; + + return $this; + } + + /** + * Returns whether this context uses a fixed scale and step. + */ + public function getFixedScale(): bool + { + return $this->fixedScale; + } + + /** + * Returns whether this context uses a fixed scale and step. + */ + public function setFixedScale(bool $fixedScale): self + { + $this->fixedScale = $fixedScale; + + return $this; + } +} diff --git a/src/Model/ContextJsonld.php b/src/Model/ContextJsonld.php new file mode 100644 index 00000000..1ff05d5a --- /dev/null +++ b/src/Model/ContextJsonld.php @@ -0,0 +1,109 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * Returns the step used by this context. + */ + public function getStep(): int + { + return $this->step; + } + + /** + * Returns the step used by this context. + */ + public function setStep(int $step): self + { + $this->step = $step; + + return $this; + } + + /** + * Returns whether this context uses a fixed scale and step. + */ + public function getFixedScale(): bool + { + return $this->fixedScale; + } + + /** + * Returns whether this context uses a fixed scale and step. + */ + public function setFixedScale(bool $fixedScale): self + { + $this->fixedScale = $fixedScale; + + return $this; + } +} diff --git a/src/Model/Credentials.php b/src/Model/Credentials.php index 79e93f77..3b5a2918 100644 --- a/src/Model/Credentials.php +++ b/src/Model/Credentials.php @@ -5,84 +5,51 @@ class Credentials { /** - * - * * @var string */ protected $username; /** - * - * * @var string */ protected $password; /** - * - * * @var string */ protected $workspace; - /** - * - * - * @return string - */ - public function getUsername() : string + + public function getUsername(): string { return $this->username; } - /** - * - * - * @param string $username - * - * @return self - */ - public function setUsername(string $username) : self + + public function setUsername(string $username): self { $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getPassword() : string + + public function getPassword(): string { return $this->password; } - /** - * - * - * @param string $password - * - * @return self - */ - public function setPassword(string $password) : self + + public function setPassword(string $password): self { $this->password = $password; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(string $workspace): self { $this->workspace = $workspace; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Currency.php b/src/Model/Currency.php new file mode 100644 index 00000000..d70909bc --- /dev/null +++ b/src/Model/Currency.php @@ -0,0 +1,103 @@ +currencyCode; + } + + /** + * The currency code. + */ + public function setCurrencyCode(string $currencyCode): self + { + $this->currencyCode = $currencyCode; + + return $this; + } + + /** + * The numeric currency code. + */ + public function getNumericCode(): int + { + return $this->numericCode; + } + + /** + * The numeric currency code. + */ + public function setNumericCode(int $numericCode): self + { + $this->numericCode = $numericCode; + + return $this; + } + + /** + * The name of the currency. + */ + public function getName(): string + { + return $this->name; + } + + /** + * The name of the currency. + */ + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + /** + * The default number of fraction digits (typical scale) used with this currency. + */ + public function getDefaultFractionDigits(): int + { + return $this->defaultFractionDigits; + } + + /** + * The default number of fraction digits (typical scale) used with this currency. + */ + public function setDefaultFractionDigits(int $defaultFractionDigits): self + { + $this->defaultFractionDigits = $defaultFractionDigits; + + return $this; + } +} diff --git a/src/Model/CurrencyJsonld.php b/src/Model/CurrencyJsonld.php new file mode 100644 index 00000000..5c104ef1 --- /dev/null +++ b/src/Model/CurrencyJsonld.php @@ -0,0 +1,157 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * The currency code. + */ + public function getCurrencyCode(): string + { + return $this->currencyCode; + } + + /** + * The currency code. + */ + public function setCurrencyCode(string $currencyCode): self + { + $this->currencyCode = $currencyCode; + + return $this; + } + + /** + * The numeric currency code. + */ + public function getNumericCode(): int + { + return $this->numericCode; + } + + /** + * The numeric currency code. + */ + public function setNumericCode(int $numericCode): self + { + $this->numericCode = $numericCode; + + return $this; + } + + /** + * The name of the currency. + */ + public function getName(): string + { + return $this->name; + } + + /** + * The name of the currency. + */ + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + /** + * The default number of fraction digits (typical scale) used with this currency. + */ + public function getDefaultFractionDigits(): int + { + return $this->defaultFractionDigits; + } + + /** + * The default number of fraction digits (typical scale) used with this currency. + */ + public function setDefaultFractionDigits(int $defaultFractionDigits): self + { + $this->defaultFractionDigits = $defaultFractionDigits; + + return $this; + } +} diff --git a/src/Model/Environment.php b/src/Model/Environment.php index 263ea945..7e038577 100644 --- a/src/Model/Environment.php +++ b/src/Model/Environment.php @@ -5,165 +5,105 @@ class Environment { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $name; /** - * - * * @var string */ protected $description; /** - * - * * @var string */ protected $organization; /** - * - * * @var string */ protected $workspace; /** - * - * * @var Variable[] */ protected $variables; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(string $description): self { $this->description = $description; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(string $workspace): self { $this->workspace = $workspace; + return $this; } + /** - * - * * @return Variable[] */ - public function getVariables() : array + public function getVariables(): array { return $this->variables; } + /** - * - * * @param Variable[] $variables - * - * @return self */ - public function setVariables(array $variables) : self + public function setVariables(array $variables): self { $this->variables = $variables; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200.php new file mode 100644 index 00000000..22d9dffa --- /dev/null +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param ConfigMapJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): EnvironmentConfigMapIdPutPutResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(EnvironmentConfigMapIdPutPutResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): EnvironmentConfigMapIdPutPutResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(EnvironmentConfigMapIdPutPutResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php new file mode 100644 index 00000000..8204cbed --- /dev/null +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..9305e03a --- /dev/null +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php new file mode 100644 index 00000000..33a47197 --- /dev/null +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapsGetResponse200.php b/src/Model/EnvironmentConfigMapsGetResponse200.php new file mode 100644 index 00000000..1ce58348 --- /dev/null +++ b/src/Model/EnvironmentConfigMapsGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param ConfigMapJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): EnvironmentConfigMapsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(EnvironmentConfigMapsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): EnvironmentConfigMapsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(EnvironmentConfigMapsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php new file mode 100644 index 00000000..d2cf59bb --- /dev/null +++ b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..79f89780 --- /dev/null +++ b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php b/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php new file mode 100644 index 00000000..1bae4751 --- /dev/null +++ b/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200.php b/src/Model/EnvironmentEnvironmentsGetResponse200.php index 92e71945..fca8a3c6 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200.php @@ -5,111 +5,73 @@ class EnvironmentEnvironmentsGetResponse200 { /** - * - * * @var EnvironmentJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var EnvironmentEnvironmentsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var EnvironmentEnvironmentsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return EnvironmentJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param EnvironmentJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentEnvironmentsGetResponse200HydraView - */ - public function getHydraView() : EnvironmentEnvironmentsGetResponse200HydraView + + public function getHydraView(): EnvironmentEnvironmentsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentEnvironmentsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentEnvironmentsGetResponse200HydraView $hydraView) : self + + public function setHydraView(EnvironmentEnvironmentsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentEnvironmentsGetResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentEnvironmentsGetResponse200HydraSearch + + public function getHydraSearch(): EnvironmentEnvironmentsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentEnvironmentsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentEnvironmentsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(EnvironmentEnvironmentsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php index f96d9f05..e9d93190 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class EnvironmentEnvironmentsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php index 22d28c10..85b082c6 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php b/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php index f908f40a..b9929da0 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class EnvironmentEnvironmentsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentJsonld.php b/src/Model/EnvironmentJsonld.php index 7ee54264..7d13e20e 100644 --- a/src/Model/EnvironmentJsonld.php +++ b/src/Model/EnvironmentJsonld.php @@ -5,246 +5,159 @@ class EnvironmentJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $name; /** - * - * * @var string */ protected $description; /** - * - * * @var string */ protected $organization; /** - * - * * @var string */ protected $workspace; /** - * - * * @var VariableJsonld[] */ protected $variables; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(string $description): self { $this->description = $description; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(string $workspace): self { $this->workspace = $workspace; + return $this; } + /** - * - * * @return VariableJsonld[] */ - public function getVariables() : array + public function getVariables(): array { return $this->variables; } + /** - * - * * @param VariableJsonld[] $variables - * - * @return self */ - public function setVariables(array $variables) : self + public function setVariables(array $variables): self { $this->variables = $variables; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200.php b/src/Model/EnvironmentSecretIdPutPutResponse200.php index 016384dc..97b2ddb8 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200.php @@ -5,111 +5,73 @@ class EnvironmentSecretIdPutPutResponse200 { /** - * - * * @var SecretJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var EnvironmentSecretIdPutPutResponse200HydraView */ protected $hydraView; /** - * - * * @var EnvironmentSecretIdPutPutResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return SecretJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param SecretJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentSecretIdPutPutResponse200HydraView - */ - public function getHydraView() : EnvironmentSecretIdPutPutResponse200HydraView + + public function getHydraView(): EnvironmentSecretIdPutPutResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentSecretIdPutPutResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentSecretIdPutPutResponse200HydraView $hydraView) : self + + public function setHydraView(EnvironmentSecretIdPutPutResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentSecretIdPutPutResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentSecretIdPutPutResponse200HydraSearch + + public function getHydraSearch(): EnvironmentSecretIdPutPutResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentSecretIdPutPutResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentSecretIdPutPutResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(EnvironmentSecretIdPutPutResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php index ef016172..71cc7dcc 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php @@ -5,111 +5,73 @@ class EnvironmentSecretIdPutPutResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php index ad427485..95857f73 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php b/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php index dae1f18a..28f17c3d 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php @@ -5,165 +5,99 @@ class EnvironmentSecretIdPutPutResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretsGetResponse200.php b/src/Model/EnvironmentSecretsGetResponse200.php index 4bf784a3..b1ac05f7 100644 --- a/src/Model/EnvironmentSecretsGetResponse200.php +++ b/src/Model/EnvironmentSecretsGetResponse200.php @@ -5,111 +5,73 @@ class EnvironmentSecretsGetResponse200 { /** - * - * * @var SecretJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var EnvironmentSecretsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var EnvironmentSecretsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return SecretJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param SecretJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentSecretsGetResponse200HydraView - */ - public function getHydraView() : EnvironmentSecretsGetResponse200HydraView + + public function getHydraView(): EnvironmentSecretsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentSecretsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentSecretsGetResponse200HydraView $hydraView) : self + + public function setHydraView(EnvironmentSecretsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentSecretsGetResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentSecretsGetResponse200HydraSearch + + public function getHydraSearch(): EnvironmentSecretsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentSecretsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentSecretsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(EnvironmentSecretsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php b/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php index 1b26ab63..05b44aab 100644 --- a/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class EnvironmentSecretsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php index 89f867b0..1527b1da 100644 --- a/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentSecretsGetResponse200HydraView.php b/src/Model/EnvironmentSecretsGetResponse200HydraView.php index 88f28d10..c6c335a0 100644 --- a/src/Model/EnvironmentSecretsGetResponse200HydraView.php +++ b/src/Model/EnvironmentSecretsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class EnvironmentSecretsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php index 8b007518..77e6e95a 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php @@ -5,111 +5,73 @@ class EnvironmentVariableFromConfigMapsGetResponse200 { /** - * - * * @var VariableFromConfigMapJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var EnvironmentVariableFromConfigMapsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var EnvironmentVariableFromConfigMapsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return VariableFromConfigMapJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param VariableFromConfigMapJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentVariableFromConfigMapsGetResponse200HydraView - */ - public function getHydraView() : EnvironmentVariableFromConfigMapsGetResponse200HydraView + + public function getHydraView(): EnvironmentVariableFromConfigMapsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentVariableFromConfigMapsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentVariableFromConfigMapsGetResponse200HydraView $hydraView) : self + + public function setHydraView(EnvironmentVariableFromConfigMapsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentVariableFromConfigMapsGetResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentVariableFromConfigMapsGetResponse200HydraSearch + + public function getHydraSearch(): EnvironmentVariableFromConfigMapsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentVariableFromConfigMapsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentVariableFromConfigMapsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(EnvironmentVariableFromConfigMapsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php index d6bbe9a6..1d232d13 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class EnvironmentVariableFromConfigMapsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php index 19950246..0bba14de 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php index 43db27c5..afb995b5 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class EnvironmentVariableFromConfigMapsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200.php index 169061cf..bf29c2a6 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200.php @@ -5,111 +5,73 @@ class EnvironmentVariableFromSecretsGetResponse200 { /** - * - * * @var VariableFromSecretJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var EnvironmentVariableFromSecretsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var EnvironmentVariableFromSecretsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return VariableFromSecretJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param VariableFromSecretJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return EnvironmentVariableFromSecretsGetResponse200HydraView - */ - public function getHydraView() : EnvironmentVariableFromSecretsGetResponse200HydraView + + public function getHydraView(): EnvironmentVariableFromSecretsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param EnvironmentVariableFromSecretsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(EnvironmentVariableFromSecretsGetResponse200HydraView $hydraView) : self + + public function setHydraView(EnvironmentVariableFromSecretsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return EnvironmentVariableFromSecretsGetResponse200HydraSearch - */ - public function getHydraSearch() : EnvironmentVariableFromSecretsGetResponse200HydraSearch + + public function getHydraSearch(): EnvironmentVariableFromSecretsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param EnvironmentVariableFromSecretsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(EnvironmentVariableFromSecretsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(EnvironmentVariableFromSecretsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php index 34317b7e..429cf8d4 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class EnvironmentVariableFromSecretsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php index 059e8f3c..99b0155f 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php index 3f7cacfe..651cddcf 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class EnvironmentVariableFromSecretsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionAction.php b/src/Model/ExecutionAction.php index bcefd940..8e780a3d 100644 --- a/src/Model/ExecutionAction.php +++ b/src/Model/ExecutionAction.php @@ -5,57 +5,35 @@ class ExecutionAction { /** - * - * * @var string|null */ protected $execution; /** - * - * * @var string */ protected $id; - /** - * - * - * @return string|null - */ - public function getExecution() : ?string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string|null $execution - * - * @return self - */ - public function setExecution(?string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionActionJsonld.php b/src/Model/ExecutionActionJsonld.php index 3c4bce23..bf52095e 100644 --- a/src/Model/ExecutionActionJsonld.php +++ b/src/Model/ExecutionActionJsonld.php @@ -5,138 +5,89 @@ class ExecutionActionJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string|null */ protected $execution; /** - * - * * @var string */ protected $id2; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getExecution() : ?string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string|null $execution - * - * @return self - */ - public function setExecution(?string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionActionJsonldRead.php b/src/Model/ExecutionActionJsonldRead.php index 6fa986b3..d9442beb 100644 --- a/src/Model/ExecutionActionJsonldRead.php +++ b/src/Model/ExecutionActionJsonldRead.php @@ -5,111 +5,73 @@ class ExecutionActionJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionActionRead.php b/src/Model/ExecutionActionRead.php index 75502c03..b6f47b81 100644 --- a/src/Model/ExecutionActionRead.php +++ b/src/Model/ExecutionActionRead.php @@ -5,30 +5,19 @@ class ExecutionActionRead { /** - * - * * @var string */ protected $id; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php b/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php index 11729634..e119b27d 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php @@ -5,57 +5,35 @@ class ExecutionDeclarePipelineExecutionCommandInput { /** - * - * * @var string */ protected $schedule; /** - * - * * @var string */ protected $pipeline; - /** - * - * - * @return string - */ - public function getSchedule() : string + + public function getSchedule(): string { return $this->schedule; } - /** - * - * - * @param string $schedule - * - * @return self - */ - public function setSchedule(string $schedule) : self + + public function setSchedule(string $schedule): self { $this->schedule = $schedule; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php index b62ee4e9..3818e8c1 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php @@ -5,138 +5,89 @@ class ExecutionDeclarePipelineExecutionCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $schedule; /** - * - * * @var string */ protected $pipeline; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getSchedule() : string + + public function getSchedule(): string { return $this->schedule; } - /** - * - * - * @param string $schedule - * - * @return self - */ - public function setSchedule(string $schedule) : self + + public function setSchedule(string $schedule): self { $this->schedule = $schedule; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php index f8ae21ac..69b4b53c 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php @@ -5,84 +5,57 @@ class ExecutionDeclarePipelineExecutionCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandInput.php b/src/Model/ExecutionFinishPipelineExecutionCommandInput.php index d1f36dc6..fc8cb455 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandInput.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandInput.php @@ -5,30 +5,19 @@ class ExecutionFinishPipelineExecutionCommandInput { /** - * - * * @var string */ protected $execution; - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php index 052dbd7c..71036b87 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php @@ -5,111 +5,73 @@ class ExecutionFinishPipelineExecutionCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $execution; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php index 4686da70..0ff212e5 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php @@ -5,84 +5,57 @@ class ExecutionFinishPipelineExecutionCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php b/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php index 157c7e9a..a4c61c1f 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php @@ -5,30 +5,19 @@ class ExecutionInterruptPipelineExecutionCommandInput { /** - * - * * @var string */ protected $execution; - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php index 4fc6758f..957b2868 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php @@ -5,111 +5,73 @@ class ExecutionInterruptPipelineExecutionCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $execution; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php index 2f77eb2b..675da7d1 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php @@ -5,84 +5,57 @@ class ExecutionInterruptPipelineExecutionCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionJsonldRead.php b/src/Model/ExecutionJsonldRead.php index b97e58c8..c1935b11 100644 --- a/src/Model/ExecutionJsonldRead.php +++ b/src/Model/ExecutionJsonldRead.php @@ -5,489 +5,303 @@ class ExecutionJsonldRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $status = 'unknown'; /** - * - * * @var int */ protected $errors; /** - * - * * @var \DateTime|null */ protected $scheduledAt; /** - * - * * @var \DateTime|null */ protected $startedAt; /** - * - * * @var \DateTime|null */ protected $finishedAt; /** - * - * * @var \DateTime|null */ protected $interruptedAt; /** - * - * * @var \DateTime|null */ protected $resumedAt; /** - * - * * @var \DateTime|null */ protected $updatedAt; /** - * - * * @var \DateTime|null */ protected $terminatedAt; /** - * - * * @var string|null */ protected $reason; /** - * - * * @var string|null */ protected $pipeline; /** - * - * * @var string|null */ protected $workflow; /** - * - * * @var mixed|null */ protected $action; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getStatus() : string + + public function getStatus(): string { return $this->status; } - /** - * - * - * @param string $status - * - * @return self - */ - public function setStatus(string $status) : self + + public function setStatus(string $status): self { $this->status = $status; + return $this; } - /** - * - * - * @return int - */ - public function getErrors() : int + + public function getErrors(): int { return $this->errors; } - /** - * - * - * @param int $errors - * - * @return self - */ - public function setErrors(int $errors) : self + + public function setErrors(int $errors): self { $this->errors = $errors; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getScheduledAt() : ?\DateTime + + public function getScheduledAt(): ?\DateTime { return $this->scheduledAt; } - /** - * - * - * @param \DateTime|null $scheduledAt - * - * @return self - */ - public function setScheduledAt(?\DateTime $scheduledAt) : self + + public function setScheduledAt(?\DateTime $scheduledAt): self { $this->scheduledAt = $scheduledAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getStartedAt() : ?\DateTime + + public function getStartedAt(): ?\DateTime { return $this->startedAt; } - /** - * - * - * @param \DateTime|null $startedAt - * - * @return self - */ - public function setStartedAt(?\DateTime $startedAt) : self + + public function setStartedAt(?\DateTime $startedAt): self { $this->startedAt = $startedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getFinishedAt() : ?\DateTime + + public function getFinishedAt(): ?\DateTime { return $this->finishedAt; } - /** - * - * - * @param \DateTime|null $finishedAt - * - * @return self - */ - public function setFinishedAt(?\DateTime $finishedAt) : self + + public function setFinishedAt(?\DateTime $finishedAt): self { $this->finishedAt = $finishedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getInterruptedAt() : ?\DateTime + + public function getInterruptedAt(): ?\DateTime { return $this->interruptedAt; } - /** - * - * - * @param \DateTime|null $interruptedAt - * - * @return self - */ - public function setInterruptedAt(?\DateTime $interruptedAt) : self + + public function setInterruptedAt(?\DateTime $interruptedAt): self { $this->interruptedAt = $interruptedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getResumedAt() : ?\DateTime + + public function getResumedAt(): ?\DateTime { return $this->resumedAt; } - /** - * - * - * @param \DateTime|null $resumedAt - * - * @return self - */ - public function setResumedAt(?\DateTime $resumedAt) : self + + public function setResumedAt(?\DateTime $resumedAt): self { $this->resumedAt = $resumedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getUpdatedAt() : ?\DateTime + + public function getUpdatedAt(): ?\DateTime { return $this->updatedAt; } - /** - * - * - * @param \DateTime|null $updatedAt - * - * @return self - */ - public function setUpdatedAt(?\DateTime $updatedAt) : self + + public function setUpdatedAt(?\DateTime $updatedAt): self { $this->updatedAt = $updatedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getTerminatedAt() : ?\DateTime + + public function getTerminatedAt(): ?\DateTime { return $this->terminatedAt; } - /** - * - * - * @param \DateTime|null $terminatedAt - * - * @return self - */ - public function setTerminatedAt(?\DateTime $terminatedAt) : self + + public function setTerminatedAt(?\DateTime $terminatedAt): self { $this->terminatedAt = $terminatedAt; + return $this; } - /** - * - * - * @return string|null - */ - public function getReason() : ?string + + public function getReason(): ?string { return $this->reason; } - /** - * - * - * @param string|null $reason - * - * @return self - */ - public function setReason(?string $reason) : self + + public function setReason(?string $reason): self { $this->reason = $reason; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } + /** - * - * * @return mixed */ public function getAction() { return $this->action; } + /** - * - * * @param mixed $action - * - * @return self */ - public function setAction($action) : self + public function setAction($action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipeline.php b/src/Model/ExecutionPipeline.php index d833d904..5d74ee2d 100644 --- a/src/Model/ExecutionPipeline.php +++ b/src/Model/ExecutionPipeline.php @@ -5,84 +5,57 @@ class ExecutionPipeline { /** - * - * * @var string|null */ protected $execution; /** - * - * * @var string */ protected $id; /** - * - * * @var string[] */ protected $steps; - /** - * - * - * @return string|null - */ - public function getExecution() : ?string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string|null $execution - * - * @return self - */ - public function setExecution(?string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineJob.php b/src/Model/ExecutionPipelineJob.php index b780107b..1ad9e385 100644 --- a/src/Model/ExecutionPipelineJob.php +++ b/src/Model/ExecutionPipelineJob.php @@ -5,84 +5,57 @@ class ExecutionPipelineJob { /** - * - * * @var string|null */ protected $job; /** - * - * * @var string */ protected $id; /** - * - * * @var string[] */ protected $steps; - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineJobJsonld.php b/src/Model/ExecutionPipelineJobJsonld.php index 6a2c747f..1cf2025b 100644 --- a/src/Model/ExecutionPipelineJobJsonld.php +++ b/src/Model/ExecutionPipelineJobJsonld.php @@ -5,165 +5,111 @@ class ExecutionPipelineJobJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string|null */ protected $job; /** - * - * * @var string */ protected $id2; /** - * - * * @var string[] */ protected $steps; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineJsonld.php b/src/Model/ExecutionPipelineJsonld.php index 6669ae63..6a72aac8 100644 --- a/src/Model/ExecutionPipelineJsonld.php +++ b/src/Model/ExecutionPipelineJsonld.php @@ -5,165 +5,111 @@ class ExecutionPipelineJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string|null */ protected $execution; /** - * - * * @var string */ protected $id2; /** - * - * * @var string[] */ protected $steps; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getExecution() : ?string + + public function getExecution(): ?string { return $this->execution; } - /** - * - * - * @param string|null $execution - * - * @return self - */ - public function setExecution(?string $execution) : self + + public function setExecution(?string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineStep.php b/src/Model/ExecutionPipelineStep.php index 68779ae5..a3e46415 100644 --- a/src/Model/ExecutionPipelineStep.php +++ b/src/Model/ExecutionPipelineStep.php @@ -5,84 +5,57 @@ class ExecutionPipelineStep { /** - * - * * @var string */ protected $id; /** - * - * * @var AbstractPipeline */ protected $pipeline; /** - * - * * @var string[] */ protected $metrics; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return AbstractPipeline - */ - public function getPipeline() : AbstractPipeline + + public function getPipeline(): AbstractPipeline { return $this->pipeline; } - /** - * - * - * @param AbstractPipeline $pipeline - * - * @return self - */ - public function setPipeline(AbstractPipeline $pipeline) : self + + public function setPipeline(AbstractPipeline $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return string[] */ - public function getMetrics() : array + public function getMetrics(): array { return $this->metrics; } + /** - * - * * @param string[] $metrics - * - * @return self */ - public function setMetrics(array $metrics) : self + public function setMetrics(array $metrics): self { $this->metrics = $metrics; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionPipelineStepJsonld.php b/src/Model/ExecutionPipelineStepJsonld.php index a0a5c6a9..b564e435 100644 --- a/src/Model/ExecutionPipelineStepJsonld.php +++ b/src/Model/ExecutionPipelineStepJsonld.php @@ -5,165 +5,111 @@ class ExecutionPipelineStepJsonld { /** - * - * - * @var mixed - */ - protected $context; - /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * + * @var mixed + */ + protected $context; + /** * @var string */ protected $id2; /** - * - * * @var AbstractPipelineJsonld */ protected $pipeline; /** - * - * * @var string[] */ protected $metrics; - /** - * - * - * @return mixed - */ - public function getContext() + + public function getId(): string { - return $this->context; + return $this->id; } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self + + public function setId(string $id): self { - $this->context = $context; + $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getType(): string { - return $this->id; + return $this->type; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setType(string $type): self { - $this->id = $id; + $this->type = $type; + return $this; } + /** - * - * - * @return string + * @return mixed */ - public function getType() : string + public function getContext() { - return $this->type; + return $this->context; } + /** - * - * - * @param string $type - * - * @return self + * @param mixed $context */ - public function setType(string $type) : self + public function setContext($context): self { - $this->type = $type; + $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return AbstractPipelineJsonld - */ - public function getPipeline() : AbstractPipelineJsonld + + public function getPipeline(): AbstractPipelineJsonld { return $this->pipeline; } - /** - * - * - * @param AbstractPipelineJsonld $pipeline - * - * @return self - */ - public function setPipeline(AbstractPipelineJsonld $pipeline) : self + + public function setPipeline(AbstractPipelineJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return string[] */ - public function getMetrics() : array + public function getMetrics(): array { return $this->metrics; } + /** - * - * * @param string[] $metrics - * - * @return self */ - public function setMetrics(array $metrics) : self + public function setMetrics(array $metrics): self { $this->metrics = $metrics; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionRead.php b/src/Model/ExecutionRead.php index 7ab0dfed..2f5ff4d1 100644 --- a/src/Model/ExecutionRead.php +++ b/src/Model/ExecutionRead.php @@ -5,408 +5,249 @@ class ExecutionRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $status = 'unknown'; /** - * - * * @var int */ protected $errors; /** - * - * * @var \DateTime|null */ protected $scheduledAt; /** - * - * * @var \DateTime|null */ protected $startedAt; /** - * - * * @var \DateTime|null */ protected $finishedAt; /** - * - * * @var \DateTime|null */ protected $interruptedAt; /** - * - * * @var \DateTime|null */ protected $resumedAt; /** - * - * * @var \DateTime|null */ protected $updatedAt; /** - * - * * @var \DateTime|null */ protected $terminatedAt; /** - * - * * @var string|null */ protected $reason; /** - * - * * @var string|null */ protected $pipeline; /** - * - * * @var string|null */ protected $workflow; /** - * - * * @var mixed|null */ protected $action; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getStatus() : string + + public function getStatus(): string { return $this->status; } - /** - * - * - * @param string $status - * - * @return self - */ - public function setStatus(string $status) : self + + public function setStatus(string $status): self { $this->status = $status; + return $this; } - /** - * - * - * @return int - */ - public function getErrors() : int + + public function getErrors(): int { return $this->errors; } - /** - * - * - * @param int $errors - * - * @return self - */ - public function setErrors(int $errors) : self + + public function setErrors(int $errors): self { $this->errors = $errors; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getScheduledAt() : ?\DateTime + + public function getScheduledAt(): ?\DateTime { return $this->scheduledAt; } - /** - * - * - * @param \DateTime|null $scheduledAt - * - * @return self - */ - public function setScheduledAt(?\DateTime $scheduledAt) : self + + public function setScheduledAt(?\DateTime $scheduledAt): self { $this->scheduledAt = $scheduledAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getStartedAt() : ?\DateTime + + public function getStartedAt(): ?\DateTime { return $this->startedAt; } - /** - * - * - * @param \DateTime|null $startedAt - * - * @return self - */ - public function setStartedAt(?\DateTime $startedAt) : self + + public function setStartedAt(?\DateTime $startedAt): self { $this->startedAt = $startedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getFinishedAt() : ?\DateTime + + public function getFinishedAt(): ?\DateTime { return $this->finishedAt; } - /** - * - * - * @param \DateTime|null $finishedAt - * - * @return self - */ - public function setFinishedAt(?\DateTime $finishedAt) : self + + public function setFinishedAt(?\DateTime $finishedAt): self { $this->finishedAt = $finishedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getInterruptedAt() : ?\DateTime + + public function getInterruptedAt(): ?\DateTime { return $this->interruptedAt; } - /** - * - * - * @param \DateTime|null $interruptedAt - * - * @return self - */ - public function setInterruptedAt(?\DateTime $interruptedAt) : self + + public function setInterruptedAt(?\DateTime $interruptedAt): self { $this->interruptedAt = $interruptedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getResumedAt() : ?\DateTime + + public function getResumedAt(): ?\DateTime { return $this->resumedAt; } - /** - * - * - * @param \DateTime|null $resumedAt - * - * @return self - */ - public function setResumedAt(?\DateTime $resumedAt) : self + + public function setResumedAt(?\DateTime $resumedAt): self { $this->resumedAt = $resumedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getUpdatedAt() : ?\DateTime + + public function getUpdatedAt(): ?\DateTime { return $this->updatedAt; } - /** - * - * - * @param \DateTime|null $updatedAt - * - * @return self - */ - public function setUpdatedAt(?\DateTime $updatedAt) : self + + public function setUpdatedAt(?\DateTime $updatedAt): self { $this->updatedAt = $updatedAt; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getTerminatedAt() : ?\DateTime + + public function getTerminatedAt(): ?\DateTime { return $this->terminatedAt; } - /** - * - * - * @param \DateTime|null $terminatedAt - * - * @return self - */ - public function setTerminatedAt(?\DateTime $terminatedAt) : self + + public function setTerminatedAt(?\DateTime $terminatedAt): self { $this->terminatedAt = $terminatedAt; + return $this; } - /** - * - * - * @return string|null - */ - public function getReason() : ?string + + public function getReason(): ?string { return $this->reason; } - /** - * - * - * @param string|null $reason - * - * @return self - */ - public function setReason(?string $reason) : self + + public function setReason(?string $reason): self { $this->reason = $reason; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } + /** - * - * * @return mixed */ public function getAction() { return $this->action; } + /** - * - * * @param mixed $action - * - * @return self */ - public function setAction($action) : self + public function setAction($action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionResumePipelineExecutionCommandInput.php b/src/Model/ExecutionResumePipelineExecutionCommandInput.php index e236e874..ba4c3a9e 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandInput.php @@ -5,30 +5,19 @@ class ExecutionResumePipelineExecutionCommandInput { /** - * - * * @var string */ protected $execution; - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php index 6be981b2..f0277273 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php @@ -5,111 +5,73 @@ class ExecutionResumePipelineExecutionCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $execution; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php index 299cf8e8..0c542760 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php @@ -5,84 +5,57 @@ class ExecutionResumePipelineExecutionCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionStartPipelineExecutionCommandInput.php b/src/Model/ExecutionStartPipelineExecutionCommandInput.php index 54b7ce90..9ca45f42 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandInput.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandInput.php @@ -5,30 +5,19 @@ class ExecutionStartPipelineExecutionCommandInput { /** - * - * * @var string */ protected $execution; - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php index 3ae12d35..be77b0d6 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php @@ -5,111 +5,73 @@ class ExecutionStartPipelineExecutionCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $execution; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php index e5e584d8..6bc84925 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php @@ -5,84 +5,57 @@ class ExecutionStartPipelineExecutionCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php index b5272f27..bd2ee189 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php @@ -5,57 +5,35 @@ class ExecutionTerminatePipelineExecutionCommandInput { /** - * - * * @var string */ protected $execution; /** - * - * * @var string */ protected $reason; - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getReason() : string + + public function getReason(): string { return $this->reason; } - /** - * - * - * @param string $reason - * - * @return self - */ - public function setReason(string $reason) : self + + public function setReason(string $reason): self { $this->reason = $reason; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php index 872f1f82..ce229246 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php @@ -5,138 +5,89 @@ class ExecutionTerminatePipelineExecutionCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $execution; /** - * - * * @var string */ protected $reason; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return string - */ - public function getReason() : string + + public function getReason(): string { return $this->reason; } - /** - * - * - * @param string $reason - * - * @return self - */ - public function setReason(string $reason) : self + + public function setReason(string $reason): self { $this->reason = $reason; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php index 23c098f7..68b4582f 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php @@ -5,84 +5,57 @@ class ExecutionTerminatePipelineExecutionCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php index 9d305462..883744fd 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php @@ -5,57 +5,35 @@ class ExecutionUpdatePipelineExecutionStateCommandInput { /** - * - * * @var string */ protected $execution; /** - * - * * @var UpdateList */ protected $stepsUpdates; - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return UpdateList - */ - public function getStepsUpdates() : UpdateList + + public function getStepsUpdates(): UpdateList { return $this->stepsUpdates; } - /** - * - * - * @param UpdateList $stepsUpdates - * - * @return self - */ - public function setStepsUpdates(UpdateList $stepsUpdates) : self + + public function setStepsUpdates(UpdateList $stepsUpdates): self { $this->stepsUpdates = $stepsUpdates; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php index ab8ecd8a..c83c6a6f 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php @@ -5,138 +5,89 @@ class ExecutionUpdatePipelineExecutionStateCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $execution; /** - * - * * @var UpdateListJsonld */ protected $stepsUpdates; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } - /** - * - * - * @return UpdateListJsonld - */ - public function getStepsUpdates() : UpdateListJsonld + + public function getStepsUpdates(): UpdateListJsonld { return $this->stepsUpdates; } - /** - * - * - * @param UpdateListJsonld $stepsUpdates - * - * @return self - */ - public function setStepsUpdates(UpdateListJsonld $stepsUpdates) : self + + public function setStepsUpdates(UpdateListJsonld $stepsUpdates): self { $this->stepsUpdates = $stepsUpdates; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php index c7af110f..4b61355c 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php @@ -5,84 +5,57 @@ class ExecutionUpdatePipelineExecutionStateCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflow.php b/src/Model/ExecutionWorkflow.php index 36ca8bf7..96da802f 100644 --- a/src/Model/ExecutionWorkflow.php +++ b/src/Model/ExecutionWorkflow.php @@ -5,84 +5,57 @@ class ExecutionWorkflow { /** - * - * * @var string */ protected $id; /** - * - * * @var string[] */ protected $jobs; /** - * - * * @var string */ protected $execution; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } + /** - * - * * @return string[] */ - public function getJobs() : array + public function getJobs(): array { return $this->jobs; } + /** - * - * * @param string[] $jobs - * - * @return self */ - public function setJobs(array $jobs) : self + public function setJobs(array $jobs): self { $this->jobs = $jobs; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJob.php b/src/Model/ExecutionWorkflowJob.php index 4971347d..0d221bb1 100644 --- a/src/Model/ExecutionWorkflowJob.php +++ b/src/Model/ExecutionWorkflowJob.php @@ -5,111 +5,67 @@ class ExecutionWorkflowJob { /** - * - * * @var string */ protected $id; /** - * - * * @var string|null */ protected $workflow; /** - * - * * @var string|null */ protected $pipeline; /** - * - * * @var string|null */ protected $action; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getAction() : ?string + + public function getAction(): ?string { return $this->action; } - /** - * - * - * @param string|null $action - * - * @return self - */ - public function setAction(?string $action) : self + + public function setAction(?string $action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJobAction.php b/src/Model/ExecutionWorkflowJobAction.php index 07506777..ec151b4b 100644 --- a/src/Model/ExecutionWorkflowJobAction.php +++ b/src/Model/ExecutionWorkflowJobAction.php @@ -5,57 +5,35 @@ class ExecutionWorkflowJobAction { /** - * - * * @var string|null */ protected $job; /** - * - * * @var string */ protected $id; - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJobActionJsonld.php b/src/Model/ExecutionWorkflowJobActionJsonld.php index 0ef6814b..157fb601 100644 --- a/src/Model/ExecutionWorkflowJobActionJsonld.php +++ b/src/Model/ExecutionWorkflowJobActionJsonld.php @@ -5,138 +5,89 @@ class ExecutionWorkflowJobActionJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string|null */ protected $job; /** - * - * * @var string */ protected $id2; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJobJsonld.php b/src/Model/ExecutionWorkflowJobJsonld.php index 70b27d1f..35e347bc 100644 --- a/src/Model/ExecutionWorkflowJobJsonld.php +++ b/src/Model/ExecutionWorkflowJobJsonld.php @@ -5,192 +5,121 @@ class ExecutionWorkflowJobJsonld { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var string|null */ protected $workflow; /** - * - * * @var string|null */ protected $pipeline; /** - * - * * @var string|null */ protected $action; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getAction() : ?string + + public function getAction(): ?string { return $this->action; } - /** - * - * - * @param string|null $action - * - * @return self - */ - public function setAction(?string $action) : self + + public function setAction(?string $action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ExecutionWorkflowJsonld.php b/src/Model/ExecutionWorkflowJsonld.php index c99e7c11..847eba26 100644 --- a/src/Model/ExecutionWorkflowJsonld.php +++ b/src/Model/ExecutionWorkflowJsonld.php @@ -5,165 +5,111 @@ class ExecutionWorkflowJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * * @var string[] */ protected $jobs; /** - * - * * @var string */ protected $execution; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } + /** - * - * * @return string[] */ - public function getJobs() : array + public function getJobs(): array { return $this->jobs; } + /** - * - * * @param string[] $jobs - * - * @return self */ - public function setJobs(array $jobs) : self + public function setJobs(array $jobs): self { $this->jobs = $jobs; + return $this; } - /** - * - * - * @return string - */ - public function getExecution() : string + + public function getExecution(): string { return $this->execution; } - /** - * - * - * @param string $execution - * - * @return self - */ - public function setExecution(string $execution) : self + + public function setExecution(string $execution): self { $this->execution = $execution; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php new file mode 100644 index 00000000..9a036b06 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param AkeneoInstanceJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): GatewayAkeneoInstanceFromUrlGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(GatewayAkeneoInstanceFromUrlGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php new file mode 100644 index 00000000..8822ca1c --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..da8a096a --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php new file mode 100644 index 00000000..ba154793 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php new file mode 100644 index 00000000..8c80f3e5 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param AkeneoInstanceJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): GatewayAkeneoInstanceOauthStateGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(GatewayAkeneoInstanceOauthStateGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php new file mode 100644 index 00000000..05056789 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..75ad72d8 --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php new file mode 100644 index 00000000..2cc8dd4b --- /dev/null +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200.php b/src/Model/GatewayAkeneoInstancesGetResponse200.php new file mode 100644 index 00000000..6249167e --- /dev/null +++ b/src/Model/GatewayAkeneoInstancesGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param AkeneoInstanceJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): GatewayAkeneoInstancesGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(GatewayAkeneoInstancesGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): GatewayAkeneoInstancesGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(GatewayAkeneoInstancesGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php new file mode 100644 index 00000000..86b60dc8 --- /dev/null +++ b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..5685751e --- /dev/null +++ b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php b/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php new file mode 100644 index 00000000..dfad3573 --- /dev/null +++ b/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php new file mode 100644 index 00000000..14dc9726 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param AkeneoLinkedAccountJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php new file mode 100644 index 00000000..d84e22f7 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..e236cfdc --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php new file mode 100644 index 00000000..6ef5e9c7 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php new file mode 100644 index 00000000..98d0400a --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param AkeneoLinkedAccountJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): GatewayAkeneoLinkedAccountsGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(GatewayAkeneoLinkedAccountsGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): GatewayAkeneoLinkedAccountsGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(GatewayAkeneoLinkedAccountsGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php new file mode 100644 index 00000000..9870d5e9 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..c63f25b7 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php new file mode 100644 index 00000000..65478b01 --- /dev/null +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200.php new file mode 100644 index 00000000..25190495 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param AkeneoOauthTokenJsonldRead[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): GatewayAkeneoOauthStatesGetResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(GatewayAkeneoOauthStatesGetResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): GatewayAkeneoOauthStatesGetResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(GatewayAkeneoOauthStatesGetResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php new file mode 100644 index 00000000..7242f9f1 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..16ef7e70 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php new file mode 100644 index 00000000..769a050f --- /dev/null +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutBody.php b/src/Model/GatewayAkeneoOauthTokenPutBody.php new file mode 100644 index 00000000..268081e6 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutBody.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param AkeneoOauthTokenOauthTokenInputJsonld[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): GatewayAkeneoOauthTokenPutBodyHydraView + { + return $this->hydraView; + } + + public function setHydraView(GatewayAkeneoOauthTokenPutBodyHydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): GatewayAkeneoOauthTokenPutBodyHydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(GatewayAkeneoOauthTokenPutBodyHydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php new file mode 100644 index 00000000..08f7f2aa --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php new file mode 100644 index 00000000..188395da --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php new file mode 100644 index 00000000..2e8fa76b --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200.php new file mode 100644 index 00000000..242f160d --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200.php @@ -0,0 +1,77 @@ +hydraMember; + } + + /** + * @param AkeneoOauthTokenOauthTokenOutputJsonldRead[] $hydraMember + */ + public function setHydraMember(array $hydraMember): self + { + $this->hydraMember = $hydraMember; + + return $this; + } + + public function getHydraTotalItems(): int + { + return $this->hydraTotalItems; + } + + public function setHydraTotalItems(int $hydraTotalItems): self + { + $this->hydraTotalItems = $hydraTotalItems; + + return $this; + } + + public function getHydraView(): GatewayAkeneoOauthTokenPutResponse200HydraView + { + return $this->hydraView; + } + + public function setHydraView(GatewayAkeneoOauthTokenPutResponse200HydraView $hydraView): self + { + $this->hydraView = $hydraView; + + return $this; + } + + public function getHydraSearch(): GatewayAkeneoOauthTokenPutResponse200HydraSearch + { + return $this->hydraSearch; + } + + public function setHydraSearch(GatewayAkeneoOauthTokenPutResponse200HydraSearch $hydraSearch): self + { + $this->hydraSearch = $hydraSearch; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php new file mode 100644 index 00000000..35b64350 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php @@ -0,0 +1,77 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraTemplate(): string + { + return $this->hydraTemplate; + } + + public function setHydraTemplate(string $hydraTemplate): self + { + $this->hydraTemplate = $hydraTemplate; + + return $this; + } + + public function getHydraVariableRepresentation(): string + { + return $this->hydraVariableRepresentation; + } + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + { + $this->hydraVariableRepresentation = $hydraVariableRepresentation; + + return $this; + } + + /** + * @return GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[] + */ + public function getHydraMapping(): array + { + return $this->hydraMapping; + } + + /** + * @param GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[] $hydraMapping + */ + public function setHydraMapping(array $hydraMapping): self + { + $this->hydraMapping = $hydraMapping; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php new file mode 100644 index 00000000..1bb73ba0 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php @@ -0,0 +1,71 @@ +type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getVariable(): string + { + return $this->variable; + } + + public function setVariable(string $variable): self + { + $this->variable = $variable; + + return $this; + } + + public function getProperty(): ?string + { + return $this->property; + } + + public function setProperty(?string $property): self + { + $this->property = $property; + + return $this; + } + + public function getRequired(): bool + { + return $this->required; + } + + public function setRequired(bool $required): self + { + $this->required = $required; + + return $this; + } +} diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php new file mode 100644 index 00000000..a4fd2aa1 --- /dev/null +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getHydraFirst(): string + { + return $this->hydraFirst; + } + + public function setHydraFirst(string $hydraFirst): self + { + $this->hydraFirst = $hydraFirst; + + return $this; + } + + public function getHydraLast(): string + { + return $this->hydraLast; + } + + public function setHydraLast(string $hydraLast): self + { + $this->hydraLast = $hydraLast; + + return $this; + } + + public function getHydraPrevious(): string + { + return $this->hydraPrevious; + } + + public function setHydraPrevious(string $hydraPrevious): self + { + $this->hydraPrevious = $hydraPrevious; + + return $this; + } + + public function getHydraNext(): string + { + return $this->hydraNext; + } + + public function setHydraNext(string $hydraNext): self + { + $this->hydraNext = $hydraNext; + + return $this; + } +} diff --git a/src/Model/Money.php b/src/Model/Money.php new file mode 100644 index 00000000..a78c9081 --- /dev/null +++ b/src/Model/Money.php @@ -0,0 +1,259 @@ +amount; + } + + public function setAmount(BigDecimal $amount): self + { + $this->amount = $amount; + + return $this; + } + + public function getCurrency(): Currency + { + return $this->currency; + } + + public function setCurrency(Currency $currency): self + { + $this->currency = $currency; + + return $this; + } + + public function getContext(): Context + { + return $this->context; + } + + public function setContext(Context $context): self + { + $this->context = $context; + + return $this; + } + + public function getMinorAmount(): BigDecimal + { + return $this->minorAmount; + } + + public function setMinorAmount(BigDecimal $minorAmount): self + { + $this->minorAmount = $minorAmount; + + return $this; + } + + public function getUnscaledAmount(): BigInteger + { + return $this->unscaledAmount; + } + + public function setUnscaledAmount(BigInteger $unscaledAmount): self + { + $this->unscaledAmount = $unscaledAmount; + + return $this; + } + + /** + * Required by interface MoneyContainer. + * + * @return BigNumber[] + */ + public function getAmounts(): array + { + return $this->amounts; + } + + /** + * Required by interface MoneyContainer. + * + * @param BigNumber[] $amounts + */ + public function setAmounts(array $amounts): self + { + $this->amounts = $amounts; + + return $this; + } + + /** + * Returns the sign of this money. + */ + public function getSign(): int + { + return $this->sign; + } + + /** + * Returns the sign of this money. + */ + public function setSign(int $sign): self + { + $this->sign = $sign; + + return $this; + } + + /** + * Returns whether this money has zero value. + */ + public function getZero(): bool + { + return $this->zero; + } + + /** + * Returns whether this money has zero value. + */ + public function setZero(bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Returns whether this money has a negative value. + */ + public function getNegative(): bool + { + return $this->negative; + } + + /** + * Returns whether this money has a negative value. + */ + public function setNegative(bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Returns whether this money has a negative or zero value. + */ + public function getNegativeOrZero(): bool + { + return $this->negativeOrZero; + } + + /** + * Returns whether this money has a negative or zero value. + */ + public function setNegativeOrZero(bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Returns whether this money has a positive value. + */ + public function getPositive(): bool + { + return $this->positive; + } + + /** + * Returns whether this money has a positive value. + */ + public function setPositive(bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Returns whether this money has a positive or zero value. + */ + public function getPositiveOrZero(): bool + { + return $this->positiveOrZero; + } + + /** + * Returns whether this money has a positive or zero value. + */ + public function setPositiveOrZero(bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/MoneyJsonld.php b/src/Model/MoneyJsonld.php new file mode 100644 index 00000000..09c7a292 --- /dev/null +++ b/src/Model/MoneyJsonld.php @@ -0,0 +1,313 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getAmount(): BigDecimalJsonld + { + return $this->amount; + } + + public function setAmount(BigDecimalJsonld $amount): self + { + $this->amount = $amount; + + return $this; + } + + public function getCurrency(): CurrencyJsonld + { + return $this->currency; + } + + public function setCurrency(CurrencyJsonld $currency): self + { + $this->currency = $currency; + + return $this; + } + + public function getContext2(): ContextJsonld + { + return $this->context2; + } + + public function setContext2(ContextJsonld $context2): self + { + $this->context2 = $context2; + + return $this; + } + + public function getMinorAmount(): BigDecimalJsonld + { + return $this->minorAmount; + } + + public function setMinorAmount(BigDecimalJsonld $minorAmount): self + { + $this->minorAmount = $minorAmount; + + return $this; + } + + public function getUnscaledAmount(): BigIntegerJsonld + { + return $this->unscaledAmount; + } + + public function setUnscaledAmount(BigIntegerJsonld $unscaledAmount): self + { + $this->unscaledAmount = $unscaledAmount; + + return $this; + } + + /** + * Required by interface MoneyContainer. + * + * @return BigNumberJsonld[] + */ + public function getAmounts(): array + { + return $this->amounts; + } + + /** + * Required by interface MoneyContainer. + * + * @param BigNumberJsonld[] $amounts + */ + public function setAmounts(array $amounts): self + { + $this->amounts = $amounts; + + return $this; + } + + /** + * Returns the sign of this money. + */ + public function getSign(): int + { + return $this->sign; + } + + /** + * Returns the sign of this money. + */ + public function setSign(int $sign): self + { + $this->sign = $sign; + + return $this; + } + + /** + * Returns whether this money has zero value. + */ + public function getZero(): bool + { + return $this->zero; + } + + /** + * Returns whether this money has zero value. + */ + public function setZero(bool $zero): self + { + $this->zero = $zero; + + return $this; + } + + /** + * Returns whether this money has a negative value. + */ + public function getNegative(): bool + { + return $this->negative; + } + + /** + * Returns whether this money has a negative value. + */ + public function setNegative(bool $negative): self + { + $this->negative = $negative; + + return $this; + } + + /** + * Returns whether this money has a negative or zero value. + */ + public function getNegativeOrZero(): bool + { + return $this->negativeOrZero; + } + + /** + * Returns whether this money has a negative or zero value. + */ + public function setNegativeOrZero(bool $negativeOrZero): self + { + $this->negativeOrZero = $negativeOrZero; + + return $this; + } + + /** + * Returns whether this money has a positive value. + */ + public function getPositive(): bool + { + return $this->positive; + } + + /** + * Returns whether this money has a positive value. + */ + public function setPositive(bool $positive): self + { + $this->positive = $positive; + + return $this; + } + + /** + * Returns whether this money has a positive or zero value. + */ + public function getPositiveOrZero(): bool + { + return $this->positiveOrZero; + } + + /** + * Returns whether this money has a positive or zero value. + */ + public function setPositiveOrZero(bool $positiveOrZero): self + { + $this->positiveOrZero = $positiveOrZero; + + return $this; + } +} diff --git a/src/Model/Offer.php b/src/Model/Offer.php new file mode 100644 index 00000000..15160d50 --- /dev/null +++ b/src/Model/Offer.php @@ -0,0 +1,125 @@ +options; + } + + /** + * @param string[] $options + */ + public function setOptions(array $options): self + { + $this->options = $options; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getSku(): string + { + return $this->sku; + } + + public function setSku(string $sku): self + { + $this->sku = $sku; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getSlug(): string + { + return $this->slug; + } + + public function setSlug(string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + public function getPrice(): Price + { + return $this->price; + } + + public function setPrice(Price $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/OfferJsonld.php b/src/Model/OfferJsonld.php new file mode 100644 index 00000000..878a1736 --- /dev/null +++ b/src/Model/OfferJsonld.php @@ -0,0 +1,179 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getContext() + { + return $this->context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + /** + * @return string[] + */ + public function getOptions(): array + { + return $this->options; + } + + /** + * @param string[] $options + */ + public function setOptions(array $options): self + { + $this->options = $options; + + return $this; + } + + public function getId2(): string + { + return $this->id2; + } + + public function setId2(string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getSku(): string + { + return $this->sku; + } + + public function setSku(string $sku): self + { + $this->sku = $sku; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getSlug(): string + { + return $this->slug; + } + + public function setSlug(string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + public function getPrice(): PriceJsonld + { + return $this->price; + } + + public function setPrice(PriceJsonld $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php b/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php index 7104954d..f051e86e 100644 --- a/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php +++ b/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php @@ -5,246 +5,153 @@ class OnPremiseRequestJsonldOnPremiseRequestRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $message; /** - * - * * @var \DateTime */ protected $createdAt; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getMessage() : string + + public function getMessage(): string { return $this->message; } - /** - * - * - * @param string $message - * - * @return self - */ - public function setMessage(string $message) : self + + public function setMessage(string $message): self { $this->message = $message; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreatedAt() : \DateTime + + public function getCreatedAt(): \DateTime { return $this->createdAt; } - /** - * - * - * @param \DateTime $createdAt - * - * @return self - */ - public function setCreatedAt(\DateTime $createdAt) : self + + public function setCreatedAt(\DateTime $createdAt): self { $this->createdAt = $createdAt; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php b/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php index 5c9cf95a..6d4b3d75 100644 --- a/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php +++ b/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php @@ -5,192 +5,121 @@ class OnPremiseRequestJsonldOnPremiseRequestWrite { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $message; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getMessage() : string + + public function getMessage(): string { return $this->message; } - /** - * - * - * @param string $message - * - * @return self - */ - public function setMessage(string $message) : self + + public function setMessage(string $message): self { $this->message = $message; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/OnPremiseRequestOnPremiseRequestRead.php b/src/Model/OnPremiseRequestOnPremiseRequestRead.php index 85254199..55dc9502 100644 --- a/src/Model/OnPremiseRequestOnPremiseRequestRead.php +++ b/src/Model/OnPremiseRequestOnPremiseRequestRead.php @@ -5,165 +5,99 @@ class OnPremiseRequestOnPremiseRequestRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $message; /** - * - * * @var \DateTime */ protected $createdAt; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getMessage() : string + + public function getMessage(): string { return $this->message; } - /** - * - * - * @param string $message - * - * @return self - */ - public function setMessage(string $message) : self + + public function setMessage(string $message): self { $this->message = $message; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreatedAt() : \DateTime + + public function getCreatedAt(): \DateTime { return $this->createdAt; } - /** - * - * - * @param \DateTime $createdAt - * - * @return self - */ - public function setCreatedAt(\DateTime $createdAt) : self + + public function setCreatedAt(\DateTime $createdAt): self { $this->createdAt = $createdAt; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/OnPremiseRequestOnPremiseRequestWrite.php b/src/Model/OnPremiseRequestOnPremiseRequestWrite.php index 5b145fce..71babee4 100644 --- a/src/Model/OnPremiseRequestOnPremiseRequestWrite.php +++ b/src/Model/OnPremiseRequestOnPremiseRequestWrite.php @@ -5,111 +5,67 @@ class OnPremiseRequestOnPremiseRequestWrite { /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $message; - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getMessage() : string + + public function getMessage(): string { return $this->message; } - /** - * - * - * @param string $message - * - * @return self - */ - public function setMessage(string $message) : self + + public function setMessage(string $message): self { $this->message = $message; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Option.php b/src/Model/Option.php new file mode 100644 index 00000000..3696f232 --- /dev/null +++ b/src/Model/Option.php @@ -0,0 +1,119 @@ +offer; + } + + public function setOffer(?string $offer): self + { + $this->offer = $offer; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getSku(): string + { + return $this->sku; + } + + public function setSku(string $sku): self + { + $this->sku = $sku; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getSlug(): string + { + return $this->slug; + } + + public function setSlug(string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + public function getPrice(): Price + { + return $this->price; + } + + public function setPrice(Price $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/OptionJsonld.php b/src/Model/OptionJsonld.php new file mode 100644 index 00000000..cc246f75 --- /dev/null +++ b/src/Model/OptionJsonld.php @@ -0,0 +1,151 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getOffer(): ?string + { + return $this->offer; + } + + public function setOffer(?string $offer): self + { + $this->offer = $offer; + + return $this; + } + + public function getId2(): string + { + return $this->id2; + } + + public function setId2(string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getSku(): string + { + return $this->sku; + } + + public function setSku(string $sku): self + { + $this->sku = $sku; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getSlug(): string + { + return $this->slug; + } + + public function setSlug(string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + public function getPrice(): PriceJsonld + { + return $this->price; + } + + public function setPrice(PriceJsonld $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/Organization.php b/src/Model/Organization.php index 31294dd8..ed654d16 100644 --- a/src/Model/Organization.php +++ b/src/Model/Organization.php @@ -5,192 +5,139 @@ class Organization { /** - * - * * @var string */ protected $id; /** - * - * * @var string[] */ protected $authorizations; /** - * - * * @var string */ protected $name; /** - * - * * @var string */ protected $slug; /** - * - * * @var string[] */ protected $users; /** - * - * * @var string[] */ protected $externalCollaborators; /** - * - * * @var string[] */ protected $workspaces; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } + /** - * - * * @return string[] */ - public function getAuthorizations() : array + public function getAuthorizations(): array { return $this->authorizations; } + /** - * - * * @param string[] $authorizations - * - * @return self */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(array $authorizations): self { $this->authorizations = $authorizations; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getSlug() : string + + public function getSlug(): string { return $this->slug; } - /** - * - * - * @param string $slug - * - * @return self - */ - public function setSlug(string $slug) : self + + public function setSlug(string $slug): self { $this->slug = $slug; + return $this; } + /** - * - * * @return string[] */ - public function getUsers() : array + public function getUsers(): array { return $this->users; } + /** - * - * * @param string[] $users - * - * @return self */ - public function setUsers(array $users) : self + public function setUsers(array $users): self { $this->users = $users; + return $this; } + /** - * - * * @return string[] */ - public function getExternalCollaborators() : array + public function getExternalCollaborators(): array { return $this->externalCollaborators; } + /** - * - * * @param string[] $externalCollaborators - * - * @return self */ - public function setExternalCollaborators(array $externalCollaborators) : self + public function setExternalCollaborators(array $externalCollaborators): self { $this->externalCollaborators = $externalCollaborators; + return $this; } + /** - * - * * @return string[] */ - public function getWorkspaces() : array + public function getWorkspaces(): array { return $this->workspaces; } + /** - * - * * @param string[] $workspaces - * - * @return self */ - public function setWorkspaces(array $workspaces) : self + public function setWorkspaces(array $workspaces): self { $this->workspaces = $workspaces; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/OrganizationJsonld.php b/src/Model/OrganizationJsonld.php index 818c7de6..e8646de8 100644 --- a/src/Model/OrganizationJsonld.php +++ b/src/Model/OrganizationJsonld.php @@ -5,273 +5,193 @@ class OrganizationJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * * @var string[] */ protected $authorizations; /** - * - * * @var string */ protected $name; /** - * - * * @var string */ protected $slug; /** - * - * * @var string[] */ protected $users; /** - * - * * @var string[] */ protected $externalCollaborators; /** - * - * * @var string[] */ protected $workspaces; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } + /** - * - * * @return string[] */ - public function getAuthorizations() : array + public function getAuthorizations(): array { return $this->authorizations; } + /** - * - * * @param string[] $authorizations - * - * @return self */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(array $authorizations): self { $this->authorizations = $authorizations; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getSlug() : string + + public function getSlug(): string { return $this->slug; } - /** - * - * - * @param string $slug - * - * @return self - */ - public function setSlug(string $slug) : self + + public function setSlug(string $slug): self { $this->slug = $slug; + return $this; } + /** - * - * * @return string[] */ - public function getUsers() : array + public function getUsers(): array { return $this->users; } + /** - * - * * @param string[] $users - * - * @return self */ - public function setUsers(array $users) : self + public function setUsers(array $users): self { $this->users = $users; + return $this; } + /** - * - * * @return string[] */ - public function getExternalCollaborators() : array + public function getExternalCollaborators(): array { return $this->externalCollaborators; } + /** - * - * * @param string[] $externalCollaborators - * - * @return self */ - public function setExternalCollaborators(array $externalCollaborators) : self + public function setExternalCollaborators(array $externalCollaborators): self { $this->externalCollaborators = $externalCollaborators; + return $this; } + /** - * - * * @return string[] */ - public function getWorkspaces() : array + public function getWorkspaces(): array { return $this->workspaces; } + /** - * - * * @param string[] $workspaces - * - * @return self */ - public function setWorkspaces(array $workspaces) : self + public function setWorkspaces(array $workspaces): self { $this->workspaces = $workspaces; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInput.php b/src/Model/PipelineAddAfterPipelineStepCommandInput.php index 6757fd94..c379c0ec 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInput.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandInput.php @@ -5,165 +5,111 @@ class PipelineAddAfterPipelineStepCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $previous; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[][] */ protected $configuration; /** - * - * * @var Probe[] */ protected $probes; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getPrevious() : string + + public function getPrevious(): string { return $this->previous; } - /** - * - * - * @param string $previous - * - * @return self - */ - public function setPrevious(string $previous) : self + + public function setPrevious(string $previous): self { $this->previous = $previous; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[][] */ - public function getConfiguration() : iterable + public function getConfiguration(): iterable { return $this->configuration; } + /** - * - * * @param string[][] $configuration - * - * @return self */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * * @return Probe[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param Probe[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php index df2c08a6..dab9906a 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php @@ -5,246 +5,165 @@ class PipelineAddAfterPipelineStepCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $previous; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[][] */ protected $configuration; /** - * - * * @var ProbeJsonld[] */ protected $probes; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getPrevious() : string + + public function getPrevious(): string { return $this->previous; } - /** - * - * - * @param string $previous - * - * @return self - */ - public function setPrevious(string $previous) : self + + public function setPrevious(string $previous): self { $this->previous = $previous; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[][] */ - public function getConfiguration() : iterable + public function getConfiguration(): iterable { return $this->configuration; } + /** - * - * * @param string[][] $configuration - * - * @return self */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * * @return ProbeJsonld[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param ProbeJsonld[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php b/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php index 389ba5e6..f07287c0 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineAddAfterPipelineStepCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInput.php b/src/Model/PipelineAddBeforePipelineStepCommandInput.php index 61029d19..41208cfa 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInput.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandInput.php @@ -5,165 +5,111 @@ class PipelineAddBeforePipelineStepCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $next; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[][] */ protected $configuration; /** - * - * * @var Probe[] */ protected $probes; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNext() : string + + public function getNext(): string { return $this->next; } - /** - * - * - * @param string $next - * - * @return self - */ - public function setNext(string $next) : self + + public function setNext(string $next): self { $this->next = $next; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[][] */ - public function getConfiguration() : iterable + public function getConfiguration(): iterable { return $this->configuration; } + /** - * - * * @param string[][] $configuration - * - * @return self */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * * @return Probe[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param Probe[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php index ec5cc94d..6f66dfa1 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php @@ -5,246 +5,165 @@ class PipelineAddBeforePipelineStepCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $next; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[][] */ protected $configuration; /** - * - * * @var ProbeJsonld[] */ protected $probes; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNext() : string + + public function getNext(): string { return $this->next; } - /** - * - * - * @param string $next - * - * @return self - */ - public function setNext(string $next) : self + + public function setNext(string $next): self { $this->next = $next; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[][] */ - public function getConfiguration() : iterable + public function getConfiguration(): iterable { return $this->configuration; } + /** - * - * * @param string[][] $configuration - * - * @return self */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * * @return ProbeJsonld[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param ProbeJsonld[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php b/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php index 2a171fd0..d887e9c6 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineAddBeforePipelineStepCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php index 8141bed2..32dfdaad 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php @@ -5,84 +5,57 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $namespace; /** - * - * * @var string[] */ protected $paths; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNamespace() : string + + public function getNamespace(): string { return $this->namespace; } - /** - * - * - * @param string $namespace - * - * @return self - */ - public function setNamespace(string $namespace) : self + + public function setNamespace(string $namespace): self { $this->namespace = $namespace; + return $this; } + /** - * - * * @return string[] */ - public function getPaths() : array + public function getPaths(): array { return $this->paths; } + /** - * - * * @param string[] $paths - * - * @return self */ - public function setPaths(array $paths) : self + public function setPaths(array $paths): self { $this->paths = $paths; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php index cf9c7867..06fe3311 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php @@ -5,165 +5,111 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $namespace; /** - * - * * @var string[] */ protected $paths; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNamespace() : string + + public function getNamespace(): string { return $this->namespace; } - /** - * - * - * @param string $namespace - * - * @return self - */ - public function setNamespace(string $namespace) : self + + public function setNamespace(string $namespace): self { $this->namespace = $namespace; + return $this; } + /** - * - * * @return string[] */ - public function getPaths() : array + public function getPaths(): array { return $this->paths; } + /** - * - * * @param string[] $paths - * - * @return self */ - public function setPaths(array $paths) : self + public function setPaths(array $paths): self { $this->paths = $paths; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php index c13e876c..043571db 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineStepProbCommandInput.php b/src/Model/PipelineAddPipelineStepProbCommandInput.php index bb5188a6..4bc792bc 100644 --- a/src/Model/PipelineAddPipelineStepProbCommandInput.php +++ b/src/Model/PipelineAddPipelineStepProbCommandInput.php @@ -5,84 +5,51 @@ class PipelineAddPipelineStepProbCommandInput { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $code; /** - * - * * @var Probe */ protected $probe; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return Probe - */ - public function getProbe() : Probe + + public function getProbe(): Probe { return $this->probe; } - /** - * - * - * @param Probe $probe - * - * @return self - */ - public function setProbe(Probe $probe) : self + + public function setProbe(Probe $probe): self { $this->probe = $probe; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php b/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php index 11a0a121..af518742 100644 --- a/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php +++ b/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php @@ -5,165 +5,105 @@ class PipelineAddPipelineStepProbCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $code; /** - * - * * @var ProbeJsonld */ protected $probe; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return ProbeJsonld - */ - public function getProbe() : ProbeJsonld + + public function getProbe(): ProbeJsonld { return $this->probe; } - /** - * - * - * @param ProbeJsonld $probe - * - * @return self - */ - public function setProbe(ProbeJsonld $probe) : self + + public function setProbe(ProbeJsonld $probe): self { $this->probe = $probe; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php b/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php index 71626ee9..2e5ec0e3 100644 --- a/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php +++ b/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineAddPipelineStepProbeCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAppendPipelineStepCommandInput.php b/src/Model/PipelineAppendPipelineStepCommandInput.php index 6b893af1..c398b54f 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInput.php +++ b/src/Model/PipelineAppendPipelineStepCommandInput.php @@ -5,138 +5,95 @@ class PipelineAppendPipelineStepCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[][] */ protected $configuration; /** - * - * * @var Probe[] */ protected $probes; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[][] */ - public function getConfiguration() : iterable + public function getConfiguration(): iterable { return $this->configuration; } + /** - * - * * @param string[][] $configuration - * - * @return self */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * * @return Probe[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param Probe[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php b/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php index 705dded7..e16f9930 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php @@ -5,219 +5,149 @@ class PipelineAppendPipelineStepCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[][] */ protected $configuration; /** - * - * * @var ProbeJsonld[] */ protected $probes; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[][] */ - public function getConfiguration() : iterable + public function getConfiguration(): iterable { return $this->configuration; } + /** - * - * * @param string[][] $configuration - * - * @return self */ - public function setConfiguration(iterable $configuration) : self + public function setConfiguration(iterable $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * * @return ProbeJsonld[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param ProbeJsonld[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php b/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php index 4f171b1c..03420a49 100644 --- a/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineAppendPipelineStepCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilation.php b/src/Model/PipelineCompilation.php index 6cc904ab..b81bf7e3 100644 --- a/src/Model/PipelineCompilation.php +++ b/src/Model/PipelineCompilation.php @@ -5,165 +5,99 @@ class PipelineCompilation { /** - * - * * @var string */ protected $id; /** - * - * * @var \DateTime */ protected $createdAt; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string|null */ protected $workspace; /** - * - * * @var string|null */ protected $organization; /** - * - * * @var string */ protected $owner; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreatedAt() : \DateTime + + public function getCreatedAt(): \DateTime { return $this->createdAt; } - /** - * - * - * @param \DateTime $createdAt - * - * @return self - */ - public function setCreatedAt(\DateTime $createdAt) : self + + public function setCreatedAt(\DateTime $createdAt): self { $this->createdAt = $createdAt; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkspace() : ?string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string|null $workspace - * - * @return self - */ - public function setWorkspace(?string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getOwner() : string + + public function getOwner(): string { return $this->owner; } - /** - * - * - * @param string $owner - * - * @return self - */ - public function setOwner(string $owner) : self + + public function setOwner(string $owner): self { $this->owner = $owner; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilationJsonld.php b/src/Model/PipelineCompilationJsonld.php index 49d166a1..9d7731a9 100644 --- a/src/Model/PipelineCompilationJsonld.php +++ b/src/Model/PipelineCompilationJsonld.php @@ -5,246 +5,153 @@ class PipelineCompilationJsonld { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var \DateTime */ protected $createdAt; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string|null */ protected $workspace; /** - * - * * @var string|null */ protected $organization; /** - * - * * @var string */ protected $owner; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreatedAt() : \DateTime + + public function getCreatedAt(): \DateTime { return $this->createdAt; } - /** - * - * - * @param \DateTime $createdAt - * - * @return self - */ - public function setCreatedAt(\DateTime $createdAt) : self + + public function setCreatedAt(\DateTime $createdAt): self { $this->createdAt = $createdAt; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkspace() : ?string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string|null $workspace - * - * @return self - */ - public function setWorkspace(?string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getOwner() : string + + public function getOwner(): string { return $this->owner; } - /** - * - * - * @param string $owner - * - * @return self - */ - public function setOwner(string $owner) : self + + public function setOwner(string $owner): self { $this->owner = $owner; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilePipelineCommandInput.php b/src/Model/PipelineCompilePipelineCommandInput.php index 4f3a8ac6..02385cf2 100644 --- a/src/Model/PipelineCompilePipelineCommandInput.php +++ b/src/Model/PipelineCompilePipelineCommandInput.php @@ -5,30 +5,19 @@ class PipelineCompilePipelineCommandInput { /** - * - * * @var string */ protected $pipeline; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilePipelineCommandInputJsonld.php b/src/Model/PipelineCompilePipelineCommandInputJsonld.php index b30bb2aa..a851d873 100644 --- a/src/Model/PipelineCompilePipelineCommandInputJsonld.php +++ b/src/Model/PipelineCompilePipelineCommandInputJsonld.php @@ -5,111 +5,73 @@ class PipelineCompilePipelineCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineCompilePipelineCommandJsonldRead.php b/src/Model/PipelineCompilePipelineCommandJsonldRead.php index 25602348..8b0117fd 100644 --- a/src/Model/PipelineCompilePipelineCommandJsonldRead.php +++ b/src/Model/PipelineCompilePipelineCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineCompilePipelineCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineDeclarePipelineCommandInput.php b/src/Model/PipelineDeclarePipelineCommandInput.php index 1d094fbd..e76154bd 100644 --- a/src/Model/PipelineDeclarePipelineCommandInput.php +++ b/src/Model/PipelineDeclarePipelineCommandInput.php @@ -5,165 +5,111 @@ class PipelineDeclarePipelineCommandInput { /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $workspace; /** - * - * * @var string|null */ protected $organization; /** - * - * * @var StepInput[] */ protected $steps; /** - * - * * @var AutoloadInput[] */ protected $autoloads; - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * * @return StepInput[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param StepInput[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } + /** - * - * * @return AutoloadInput[] */ - public function getAutoloads() : array + public function getAutoloads(): array { return $this->autoloads; } + /** - * - * * @param AutoloadInput[] $autoloads - * - * @return self */ - public function setAutoloads(array $autoloads) : self + public function setAutoloads(array $autoloads): self { $this->autoloads = $autoloads; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php b/src/Model/PipelineDeclarePipelineCommandInputJsonld.php index 1a6550de..a5dabe99 100644 --- a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php +++ b/src/Model/PipelineDeclarePipelineCommandInputJsonld.php @@ -5,246 +5,165 @@ class PipelineDeclarePipelineCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $workspace; /** - * - * * @var string|null */ protected $organization; /** - * - * * @var StepInputJsonld[] */ protected $steps; /** - * - * * @var AutoloadInputJsonld[] */ protected $autoloads; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * * @return StepInputJsonld[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param StepInputJsonld[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } + /** - * - * * @return AutoloadInputJsonld[] */ - public function getAutoloads() : array + public function getAutoloads(): array { return $this->autoloads; } + /** - * - * * @param AutoloadInputJsonld[] $autoloads - * - * @return self */ - public function setAutoloads(array $autoloads) : self + public function setAutoloads(array $autoloads): self { $this->autoloads = $autoloads; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineDeclarePipelineCommandJsonldRead.php b/src/Model/PipelineDeclarePipelineCommandJsonldRead.php index efa8297b..c0c9cc7f 100644 --- a/src/Model/PipelineDeclarePipelineCommandJsonldRead.php +++ b/src/Model/PipelineDeclarePipelineCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineDeclarePipelineCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineIdJsonld.php b/src/Model/PipelineIdJsonld.php index 5a1bef02..90317907 100644 --- a/src/Model/PipelineIdJsonld.php +++ b/src/Model/PipelineIdJsonld.php @@ -5,84 +5,57 @@ class PipelineIdJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineJsonldRead.php b/src/Model/PipelineJsonldRead.php index 36bed636..7df48cba 100644 --- a/src/Model/PipelineJsonldRead.php +++ b/src/Model/PipelineJsonldRead.php @@ -5,327 +5,219 @@ class PipelineJsonldRead { /** - * - * - * @var mixed - */ - protected $context; - /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * + * @var mixed + */ + protected $context; + /** * @var bool */ protected $isSoftDeleted; /** - * - * * @var \DateTime|null */ protected $compiledAt; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $runtimeType; /** - * - * * @var string[] */ protected $runtime; /** - * - * * @var string[] */ protected $autoload; /** - * - * * @var string[] */ protected $steps; - /** - * - * - * @return mixed - */ - public function getContext() + + public function getId(): string { - return $this->context; + return $this->id; } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self + + public function setId(string $id): self { - $this->context = $context; + $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getType(): string { - return $this->id; + return $this->type; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setType(string $type): self { - $this->id = $id; + $this->type = $type; + return $this; } + /** - * - * - * @return string + * @return mixed */ - public function getType() : string + public function getContext() { - return $this->type; + return $this->context; } + /** - * - * - * @param string $type - * - * @return self + * @param mixed $context */ - public function setType(string $type) : self + public function setContext($context): self { - $this->type = $type; + $this->context = $context; + return $this; } - /** - * - * - * @return bool - */ - public function getIsSoftDeleted() : bool + + public function getIsSoftDeleted(): bool { return $this->isSoftDeleted; } - /** - * - * - * @param bool $isSoftDeleted - * - * @return self - */ - public function setIsSoftDeleted(bool $isSoftDeleted) : self + + public function setIsSoftDeleted(bool $isSoftDeleted): self { $this->isSoftDeleted = $isSoftDeleted; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getCompiledAt() : ?\DateTime + + public function getCompiledAt(): ?\DateTime { return $this->compiledAt; } - /** - * - * - * @param \DateTime|null $compiledAt - * - * @return self - */ - public function setCompiledAt(?\DateTime $compiledAt) : self + + public function setCompiledAt(?\DateTime $compiledAt): self { $this->compiledAt = $compiledAt; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * * @return string[] */ - public function getRuntime() : array + public function getRuntime(): array { return $this->runtime; } + /** - * - * * @param string[] $runtime - * - * @return self */ - public function setRuntime(array $runtime) : self + public function setRuntime(array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * * @return string[] */ - public function getAutoload() : array + public function getAutoload(): array { return $this->autoload; } + /** - * - * * @param string[] $autoload - * - * @return self */ - public function setAutoload(array $autoload) : self + public function setAutoload(array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php b/src/Model/PipelineMoveAfterPipelineStepCommandInput.php index 52c533af..df29cdca 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandInput.php @@ -5,84 +5,51 @@ class PipelineMoveAfterPipelineStepCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $previous; /** - * - * * @var string */ protected $code; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getPrevious() : string + + public function getPrevious(): string { return $this->previous; } - /** - * - * - * @param string $previous - * - * @return self - */ - public function setPrevious(string $previous) : self + + public function setPrevious(string $previous): self { $this->previous = $previous; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php index 6c201094..92982053 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php @@ -5,165 +5,105 @@ class PipelineMoveAfterPipelineStepCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $previous; /** - * - * * @var string */ protected $code; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getPrevious() : string + + public function getPrevious(): string { return $this->previous; } - /** - * - * - * @param string $previous - * - * @return self - */ - public function setPrevious(string $previous) : self + + public function setPrevious(string $previous): self { $this->previous = $previous; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php b/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php index 2338017f..7bb835a0 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineMoveAfterPipelineStepCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php b/src/Model/PipelineMoveBeforePipelineStepCommandInput.php index d4ae66d3..f7223426 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandInput.php @@ -5,84 +5,51 @@ class PipelineMoveBeforePipelineStepCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $next; /** - * - * * @var string */ protected $code; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNext() : string + + public function getNext(): string { return $this->next; } - /** - * - * - * @param string $next - * - * @return self - */ - public function setNext(string $next) : self + + public function setNext(string $next): self { $this->next = $next; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php index bba81003..fcf5870f 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php @@ -5,165 +5,105 @@ class PipelineMoveBeforePipelineStepCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $next; /** - * - * * @var string */ protected $code; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getNext() : string + + public function getNext(): string { return $this->next; } - /** - * - * - * @param string $next - * - * @return self - */ - public function setNext(string $next) : self + + public function setNext(string $next): self { $this->next = $next; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php b/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php index 54561f59..a2bc3815 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineMoveBeforePipelineStepCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineRead.php b/src/Model/PipelineRead.php index d9604b72..b0d100f9 100644 --- a/src/Model/PipelineRead.php +++ b/src/Model/PipelineRead.php @@ -5,246 +5,165 @@ class PipelineRead { /** - * - * * @var bool */ protected $isSoftDeleted; /** - * - * * @var \DateTime|null */ protected $compiledAt; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $runtimeType; /** - * - * * @var string[] */ protected $runtime; /** - * - * * @var string[] */ protected $autoload; /** - * - * * @var string[] */ protected $steps; - /** - * - * - * @return bool - */ - public function getIsSoftDeleted() : bool + + public function getIsSoftDeleted(): bool { return $this->isSoftDeleted; } - /** - * - * - * @param bool $isSoftDeleted - * - * @return self - */ - public function setIsSoftDeleted(bool $isSoftDeleted) : self + + public function setIsSoftDeleted(bool $isSoftDeleted): self { $this->isSoftDeleted = $isSoftDeleted; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getCompiledAt() : ?\DateTime + + public function getCompiledAt(): ?\DateTime { return $this->compiledAt; } - /** - * - * - * @param \DateTime|null $compiledAt - * - * @return self - */ - public function setCompiledAt(?\DateTime $compiledAt) : self + + public function setCompiledAt(?\DateTime $compiledAt): self { $this->compiledAt = $compiledAt; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * * @return string[] */ - public function getRuntime() : array + public function getRuntime(): array { return $this->runtime; } + /** - * - * * @param string[] $runtime - * - * @return self */ - public function setRuntime(array $runtime) : self + public function setRuntime(array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * * @return string[] */ - public function getAutoload() : array + public function getAutoload(): array { return $this->autoload; } + /** - * - * * @param string[] $autoload - * - * @return self */ - public function setAutoload(array $autoload) : self + public function setAutoload(array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php b/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php index a41da9a4..93d5dfe1 100644 --- a/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php +++ b/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineRemovePipelineStepProbeCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReorderPipelineStepsCommandInput.php b/src/Model/PipelineReorderPipelineStepsCommandInput.php index 4d6e65b6..dcc702c0 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInput.php +++ b/src/Model/PipelineReorderPipelineStepsCommandInput.php @@ -5,57 +5,41 @@ class PipelineReorderPipelineStepsCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string[] */ protected $codes; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return string[] */ - public function getCodes() : array + public function getCodes(): array { return $this->codes; } + /** - * - * * @param string[] $codes - * - * @return self */ - public function setCodes(array $codes) : self + public function setCodes(array $codes): self { $this->codes = $codes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php b/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php index dccdc123..8b60710a 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php +++ b/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php @@ -5,138 +5,95 @@ class PipelineReorderPipelineStepsCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string[] */ protected $codes; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return string[] */ - public function getCodes() : array + public function getCodes(): array { return $this->codes; } + /** - * - * * @param string[] $codes - * - * @return self */ - public function setCodes(array $codes) : self + public function setCodes(array $codes): self { $this->codes = $codes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php b/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php index c000dd39..b8ffbd6b 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php +++ b/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineReorderPipelineStepsCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReplacePipelineStepCommandInput.php b/src/Model/PipelineReplacePipelineStepCommandInput.php index b75b6d50..1f5dd90a 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInput.php +++ b/src/Model/PipelineReplacePipelineStepCommandInput.php @@ -5,165 +5,111 @@ class PipelineReplacePipelineStepCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $former; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[] */ protected $configuration; /** - * - * * @var Probe[] */ protected $probes; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getFormer() : string + + public function getFormer(): string { return $this->former; } - /** - * - * - * @param string $former - * - * @return self - */ - public function setFormer(string $former) : self + + public function setFormer(string $former): self { $this->former = $former; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[] */ - public function getConfiguration() : array + public function getConfiguration(): array { return $this->configuration; } + /** - * - * * @param string[] $configuration - * - * @return self */ - public function setConfiguration(array $configuration) : self + public function setConfiguration(array $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * * @return Probe[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param Probe[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php b/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php index cfff434b..d7f78c4a 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php @@ -5,246 +5,165 @@ class PipelineReplacePipelineStepCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $former; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[] */ protected $configuration; /** - * - * * @var ProbeJsonld[] */ protected $probes; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getFormer() : string + + public function getFormer(): string { return $this->former; } - /** - * - * - * @param string $former - * - * @return self - */ - public function setFormer(string $former) : self + + public function setFormer(string $former): self { $this->former = $former; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[] */ - public function getConfiguration() : array + public function getConfiguration(): array { return $this->configuration; } + /** - * - * * @param string[] $configuration - * - * @return self */ - public function setConfiguration(array $configuration) : self + public function setConfiguration(array $configuration): self { $this->configuration = $configuration; + return $this; } + /** - * - * * @return ProbeJsonld[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param ProbeJsonld[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php b/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php index da8c3f9e..33400f49 100644 --- a/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php @@ -5,84 +5,57 @@ class PipelineReplacePipelineStepCommandJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineStep.php b/src/Model/PipelineStep.php index 0db32f38..dda11592 100644 --- a/src/Model/PipelineStep.php +++ b/src/Model/PipelineStep.php @@ -5,192 +5,127 @@ class PipelineStep { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $code; /** - * - * * @var int */ protected $order; /** - * - * * @var string */ protected $label; /** - * - * * @var AbstractPipeline */ protected $pipeline; /** - * - * * @var string[] */ protected $probes; /** - * - * * @var string[] */ protected $configuration; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return int - */ - public function getOrder() : int + + public function getOrder(): int { return $this->order; } - /** - * - * - * @param int $order - * - * @return self - */ - public function setOrder(int $order) : self + + public function setOrder(int $order): self { $this->order = $order; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return AbstractPipeline - */ - public function getPipeline() : AbstractPipeline + + public function getPipeline(): AbstractPipeline { return $this->pipeline; } - /** - * - * - * @param AbstractPipeline $pipeline - * - * @return self - */ - public function setPipeline(AbstractPipeline $pipeline) : self + + public function setPipeline(AbstractPipeline $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return string[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param string[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } + /** - * - * * @return string[] */ - public function getConfiguration() : array + public function getConfiguration(): array { return $this->configuration; } + /** - * - * * @param string[] $configuration - * - * @return self */ - public function setConfiguration(array $configuration) : self + public function setConfiguration(array $configuration): self { $this->configuration = $configuration; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineStepJsonld.php b/src/Model/PipelineStepJsonld.php index f8f13200..d3d1e666 100644 --- a/src/Model/PipelineStepJsonld.php +++ b/src/Model/PipelineStepJsonld.php @@ -5,273 +5,181 @@ class PipelineStepJsonld { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $code; /** - * - * * @var int */ protected $order; /** - * - * * @var string */ protected $label; /** - * - * * @var AbstractPipelineJsonld */ protected $pipeline; /** - * - * * @var string[] */ protected $probes; /** - * - * * @var string[] */ protected $configuration; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return int - */ - public function getOrder() : int + + public function getOrder(): int { return $this->order; } - /** - * - * - * @param int $order - * - * @return self - */ - public function setOrder(int $order) : self + + public function setOrder(int $order): self { $this->order = $order; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return AbstractPipelineJsonld - */ - public function getPipeline() : AbstractPipelineJsonld + + public function getPipeline(): AbstractPipelineJsonld { return $this->pipeline; } - /** - * - * - * @param AbstractPipelineJsonld $pipeline - * - * @return self - */ - public function setPipeline(AbstractPipelineJsonld $pipeline) : self + + public function setPipeline(AbstractPipelineJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return string[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param string[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } + /** - * - * * @return string[] */ - public function getConfiguration() : array + public function getConfiguration(): array { return $this->configuration; } + /** - * - * * @param string[] $configuration - * - * @return self */ - public function setConfiguration(array $configuration) : self + public function setConfiguration(array $configuration): self { $this->configuration = $configuration; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineStepProbe.php b/src/Model/PipelineStepProbe.php index 410a4689..b13f9846 100644 --- a/src/Model/PipelineStepProbe.php +++ b/src/Model/PipelineStepProbe.php @@ -5,138 +5,83 @@ class PipelineStepProbe { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $code; /** - * - * * @var int */ protected $order; /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $step; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return int - */ - public function getOrder() : int + + public function getOrder(): int { return $this->order; } - /** - * - * - * @param int $order - * - * @return self - */ - public function setOrder(int $order) : self + + public function setOrder(int $order): self { $this->order = $order; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getStep() : string + + public function getStep(): string { return $this->step; } - /** - * - * - * @param string $step - * - * @return self - */ - public function setStep(string $step) : self + + public function setStep(string $step): self { $this->step = $step; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/PipelineStepProbeJsonld.php b/src/Model/PipelineStepProbeJsonld.php index c10036dc..6e963b31 100644 --- a/src/Model/PipelineStepProbeJsonld.php +++ b/src/Model/PipelineStepProbeJsonld.php @@ -5,219 +5,137 @@ class PipelineStepProbeJsonld { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $code; /** - * - * * @var int */ protected $order; /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $step; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return int - */ - public function getOrder() : int + + public function getOrder(): int { return $this->order; } - /** - * - * - * @param int $order - * - * @return self - */ - public function setOrder(int $order) : self + + public function setOrder(int $order): self { $this->order = $order; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getStep() : string + + public function getStep(): string { return $this->step; } - /** - * - * - * @param string $step - * - * @return self - */ - public function setStep(string $step) : self + + public function setStep(string $step): self { $this->step = $step; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Price.php b/src/Model/Price.php new file mode 100644 index 00000000..d79f74a2 --- /dev/null +++ b/src/Model/Price.php @@ -0,0 +1,29 @@ +price; + } + + /** + * @param mixed $price + */ + public function setPrice($price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/PriceJsonld.php b/src/Model/PriceJsonld.php new file mode 100644 index 00000000..78072728 --- /dev/null +++ b/src/Model/PriceJsonld.php @@ -0,0 +1,83 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + /** + * @return mixed + */ + public function getPrice() + { + return $this->price; + } + + /** + * @param mixed $price + */ + public function setPrice($price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/Probe.php b/src/Model/Probe.php index c65aee0c..0ca20893 100644 --- a/src/Model/Probe.php +++ b/src/Model/Probe.php @@ -5,57 +5,35 @@ class Probe { /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ProbeJsonld.php b/src/Model/ProbeJsonld.php index 8de8b514..df512cef 100644 --- a/src/Model/ProbeJsonld.php +++ b/src/Model/ProbeJsonld.php @@ -5,138 +5,89 @@ class ProbeJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodeJsonldReferralCodeRead.php b/src/Model/ReferralCodeJsonldReferralCodeRead.php index 2a54b49b..1a63d708 100644 --- a/src/Model/ReferralCodeJsonldReferralCodeRead.php +++ b/src/Model/ReferralCodeJsonldReferralCodeRead.php @@ -5,192 +5,127 @@ class ReferralCodeJsonldReferralCodeRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var string|null */ protected $user; /** - * - * * @var string */ protected $code; /** - * - * * @var string[] */ protected $referralRequests; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } + /** - * - * * @return string[] */ - public function getReferralRequests() : array + public function getReferralRequests(): array { return $this->referralRequests; } + /** - * - * * @param string[] $referralRequests - * - * @return self */ - public function setReferralRequests(array $referralRequests) : self + public function setReferralRequests(array $referralRequests): self { $this->referralRequests = $referralRequests; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodeJsonldReferralCodeWrite.php b/src/Model/ReferralCodeJsonldReferralCodeWrite.php index 344fb8f8..daa9309a 100644 --- a/src/Model/ReferralCodeJsonldReferralCodeWrite.php +++ b/src/Model/ReferralCodeJsonldReferralCodeWrite.php @@ -5,111 +5,73 @@ class ReferralCodeJsonldReferralCodeWrite { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string|null */ protected $user; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodeReferralCodeRead.php b/src/Model/ReferralCodeReferralCodeRead.php index 140fd372..aadeee89 100644 --- a/src/Model/ReferralCodeReferralCodeRead.php +++ b/src/Model/ReferralCodeReferralCodeRead.php @@ -5,111 +5,73 @@ class ReferralCodeReferralCodeRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string|null */ protected $user; /** - * - * * @var string */ protected $code; /** - * - * * @var string[] */ protected $referralRequests; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } + /** - * - * * @return string[] */ - public function getReferralRequests() : array + public function getReferralRequests(): array { return $this->referralRequests; } + /** - * - * * @param string[] $referralRequests - * - * @return self */ - public function setReferralRequests(array $referralRequests) : self + public function setReferralRequests(array $referralRequests): self { $this->referralRequests = $referralRequests; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodeReferralCodeWrite.php b/src/Model/ReferralCodeReferralCodeWrite.php index 95d38451..b072f993 100644 --- a/src/Model/ReferralCodeReferralCodeWrite.php +++ b/src/Model/ReferralCodeReferralCodeWrite.php @@ -5,30 +5,19 @@ class ReferralCodeReferralCodeWrite { /** - * - * * @var string|null */ protected $user; - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodesGetResponse200.php b/src/Model/ReferralCodesGetResponse200.php index 343ff59e..ceac4e4a 100644 --- a/src/Model/ReferralCodesGetResponse200.php +++ b/src/Model/ReferralCodesGetResponse200.php @@ -5,111 +5,73 @@ class ReferralCodesGetResponse200 { /** - * - * * @var ReferralCodeJsonldReferralCodeRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var ReferralCodesGetResponse200HydraView */ protected $hydraView; /** - * - * * @var ReferralCodesGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ReferralCodeJsonldReferralCodeRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ReferralCodeJsonldReferralCodeRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return ReferralCodesGetResponse200HydraView - */ - public function getHydraView() : ReferralCodesGetResponse200HydraView + + public function getHydraView(): ReferralCodesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param ReferralCodesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(ReferralCodesGetResponse200HydraView $hydraView) : self + + public function setHydraView(ReferralCodesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return ReferralCodesGetResponse200HydraSearch - */ - public function getHydraSearch() : ReferralCodesGetResponse200HydraSearch + + public function getHydraSearch(): ReferralCodesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param ReferralCodesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(ReferralCodesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(ReferralCodesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodesGetResponse200HydraSearch.php b/src/Model/ReferralCodesGetResponse200HydraSearch.php index 6b94799b..33eff091 100644 --- a/src/Model/ReferralCodesGetResponse200HydraSearch.php +++ b/src/Model/ReferralCodesGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class ReferralCodesGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var ReferralCodesGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return ReferralCodesGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param ReferralCodesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php index 5b0fc3be..73ec8f34 100644 --- a/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class ReferralCodesGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralCodesGetResponse200HydraView.php b/src/Model/ReferralCodesGetResponse200HydraView.php index ee07f962..0216d166 100644 --- a/src/Model/ReferralCodesGetResponse200HydraView.php +++ b/src/Model/ReferralCodesGetResponse200HydraView.php @@ -5,165 +5,99 @@ class ReferralCodesGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200.php b/src/Model/ReferralOnPremiseRequestsGetResponse200.php index 9890e9da..bf1561bf 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200.php @@ -5,111 +5,73 @@ class ReferralOnPremiseRequestsGetResponse200 { /** - * - * * @var OnPremiseRequestJsonldOnPremiseRequestRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var ReferralOnPremiseRequestsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var ReferralOnPremiseRequestsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return OnPremiseRequestJsonldOnPremiseRequestRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param OnPremiseRequestJsonldOnPremiseRequestRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return ReferralOnPremiseRequestsGetResponse200HydraView - */ - public function getHydraView() : ReferralOnPremiseRequestsGetResponse200HydraView + + public function getHydraView(): ReferralOnPremiseRequestsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param ReferralOnPremiseRequestsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(ReferralOnPremiseRequestsGetResponse200HydraView $hydraView) : self + + public function setHydraView(ReferralOnPremiseRequestsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return ReferralOnPremiseRequestsGetResponse200HydraSearch - */ - public function getHydraSearch() : ReferralOnPremiseRequestsGetResponse200HydraSearch + + public function getHydraSearch(): ReferralOnPremiseRequestsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param ReferralOnPremiseRequestsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(ReferralOnPremiseRequestsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(ReferralOnPremiseRequestsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php index 1e24b76a..bf8023f3 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class ReferralOnPremiseRequestsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php index 5afbb35e..18baee98 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php index 2f266133..8b2142d4 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class ReferralOnPremiseRequestsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestJsonldReferralRequestRead.php b/src/Model/ReferralRequestJsonldReferralRequestRead.php index 231fe433..5d4082bc 100644 --- a/src/Model/ReferralRequestJsonldReferralRequestRead.php +++ b/src/Model/ReferralRequestJsonldReferralRequestRead.php @@ -5,354 +5,217 @@ class ReferralRequestJsonldReferralRequestRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ protected $userName; /** - * - * * @var string */ protected $companyName; /** - * - * * @var \DateTime */ protected $creationDate; /** - * - * * @var string|null */ protected $referralCode; /** - * - * * @var string|null */ protected $approver; /** - * - * * @var string */ protected $status = 'pending'; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUserName() : string + + public function getUserName(): string { return $this->userName; } - /** - * - * - * @param string $userName - * - * @return self - */ - public function setUserName(string $userName) : self + + public function setUserName(string $userName): self { $this->userName = $userName; + return $this; } - /** - * - * - * @return string - */ - public function getCompanyName() : string + + public function getCompanyName(): string { return $this->companyName; } - /** - * - * - * @param string $companyName - * - * @return self - */ - public function setCompanyName(string $companyName) : self + + public function setCompanyName(string $companyName): self { $this->companyName = $companyName; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreationDate() : \DateTime + + public function getCreationDate(): \DateTime { return $this->creationDate; } - /** - * - * - * @param \DateTime $creationDate - * - * @return self - */ - public function setCreationDate(\DateTime $creationDate) : self + + public function setCreationDate(\DateTime $creationDate): self { $this->creationDate = $creationDate; + return $this; } - /** - * - * - * @return string|null - */ - public function getReferralCode() : ?string + + public function getReferralCode(): ?string { return $this->referralCode; } - /** - * - * - * @param string|null $referralCode - * - * @return self - */ - public function setReferralCode(?string $referralCode) : self + + public function setReferralCode(?string $referralCode): self { $this->referralCode = $referralCode; + return $this; } - /** - * - * - * @return string|null - */ - public function getApprover() : ?string + + public function getApprover(): ?string { return $this->approver; } - /** - * - * - * @param string|null $approver - * - * @return self - */ - public function setApprover(?string $approver) : self + + public function setApprover(?string $approver): self { $this->approver = $approver; + return $this; } - /** - * - * - * @return string - */ - public function getStatus() : string + + public function getStatus(): string { return $this->status; } - /** - * - * - * @param string $status - * - * @return self - */ - public function setStatus(string $status) : self + + public function setStatus(string $status): self { $this->status = $status; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestReferralRequestInput.php b/src/Model/ReferralRequestReferralRequestInput.php index d30f9767..c0757d92 100644 --- a/src/Model/ReferralRequestReferralRequestInput.php +++ b/src/Model/ReferralRequestReferralRequestInput.php @@ -5,165 +5,99 @@ class ReferralRequestReferralRequestInput { /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ - protected $userName; + protected $username; /** - * - * * @var string */ protected $companyName; /** - * - * * @var string */ protected $referralCode; - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUserName() : string + + public function getUsername(): string { - return $this->userName; + return $this->username; } - /** - * - * - * @param string $userName - * - * @return self - */ - public function setUserName(string $userName) : self + + public function setUsername(string $username): self { - $this->userName = $userName; + $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getCompanyName() : string + + public function getCompanyName(): string { return $this->companyName; } - /** - * - * - * @param string $companyName - * - * @return self - */ - public function setCompanyName(string $companyName) : self + + public function setCompanyName(string $companyName): self { $this->companyName = $companyName; + return $this; } - /** - * - * - * @return string - */ - public function getReferralCode() : string + + public function getReferralCode(): string { return $this->referralCode; } - /** - * - * - * @param string $referralCode - * - * @return self - */ - public function setReferralCode(string $referralCode) : self + + public function setReferralCode(string $referralCode): self { $this->referralCode = $referralCode; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestReferralRequestInputJsonld.php b/src/Model/ReferralRequestReferralRequestInputJsonld.php index c347aa3e..a1337182 100644 --- a/src/Model/ReferralRequestReferralRequestInputJsonld.php +++ b/src/Model/ReferralRequestReferralRequestInputJsonld.php @@ -5,246 +5,153 @@ class ReferralRequestReferralRequestInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ - protected $userName; + protected $username; /** - * - * * @var string */ protected $companyName; /** - * - * * @var string */ protected $referralCode; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUserName() : string + + public function getUsername(): string { - return $this->userName; + return $this->username; } - /** - * - * - * @param string $userName - * - * @return self - */ - public function setUserName(string $userName) : self + + public function setUsername(string $username): self { - $this->userName = $userName; + $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getCompanyName() : string + + public function getCompanyName(): string { return $this->companyName; } - /** - * - * - * @param string $companyName - * - * @return self - */ - public function setCompanyName(string $companyName) : self + + public function setCompanyName(string $companyName): self { $this->companyName = $companyName; + return $this; } - /** - * - * - * @return string - */ - public function getReferralCode() : string + + public function getReferralCode(): string { return $this->referralCode; } - /** - * - * - * @param string $referralCode - * - * @return self - */ - public function setReferralCode(string $referralCode) : self + + public function setReferralCode(string $referralCode): self { $this->referralCode = $referralCode; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestReferralRequestRead.php b/src/Model/ReferralRequestReferralRequestRead.php index 8b1bcfd3..93b3f61d 100644 --- a/src/Model/ReferralRequestReferralRequestRead.php +++ b/src/Model/ReferralRequestReferralRequestRead.php @@ -5,273 +5,163 @@ class ReferralRequestReferralRequestRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ protected $userName; /** - * - * * @var string */ protected $companyName; /** - * - * * @var \DateTime */ protected $creationDate; /** - * - * * @var string|null */ protected $referralCode; /** - * - * * @var string|null */ protected $approver; /** - * - * * @var string */ protected $status = 'pending'; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUserName() : string + + public function getUserName(): string { return $this->userName; } - /** - * - * - * @param string $userName - * - * @return self - */ - public function setUserName(string $userName) : self + + public function setUserName(string $userName): self { $this->userName = $userName; + return $this; } - /** - * - * - * @return string - */ - public function getCompanyName() : string + + public function getCompanyName(): string { return $this->companyName; } - /** - * - * - * @param string $companyName - * - * @return self - */ - public function setCompanyName(string $companyName) : self + + public function setCompanyName(string $companyName): self { $this->companyName = $companyName; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getCreationDate() : \DateTime + + public function getCreationDate(): \DateTime { return $this->creationDate; } - /** - * - * - * @param \DateTime $creationDate - * - * @return self - */ - public function setCreationDate(\DateTime $creationDate) : self + + public function setCreationDate(\DateTime $creationDate): self { $this->creationDate = $creationDate; + return $this; } - /** - * - * - * @return string|null - */ - public function getReferralCode() : ?string + + public function getReferralCode(): ?string { return $this->referralCode; } - /** - * - * - * @param string|null $referralCode - * - * @return self - */ - public function setReferralCode(?string $referralCode) : self + + public function setReferralCode(?string $referralCode): self { $this->referralCode = $referralCode; + return $this; } - /** - * - * - * @return string|null - */ - public function getApprover() : ?string + + public function getApprover(): ?string { return $this->approver; } - /** - * - * - * @param string|null $approver - * - * @return self - */ - public function setApprover(?string $approver) : self + + public function setApprover(?string $approver): self { $this->approver = $approver; + return $this; } - /** - * - * - * @return string - */ - public function getStatus() : string + + public function getStatus(): string { return $this->status; } - /** - * - * - * @param string $status - * - * @return self - */ - public function setStatus(string $status) : self + + public function setStatus(string $status): self { $this->status = $status; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestsGetResponse200.php b/src/Model/ReferralRequestsGetResponse200.php index da979bd5..368887a1 100644 --- a/src/Model/ReferralRequestsGetResponse200.php +++ b/src/Model/ReferralRequestsGetResponse200.php @@ -5,111 +5,73 @@ class ReferralRequestsGetResponse200 { /** - * - * * @var ReferralRequestJsonldReferralRequestRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var ReferralRequestsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var ReferralRequestsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ReferralRequestJsonldReferralRequestRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ReferralRequestJsonldReferralRequestRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return ReferralRequestsGetResponse200HydraView - */ - public function getHydraView() : ReferralRequestsGetResponse200HydraView + + public function getHydraView(): ReferralRequestsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param ReferralRequestsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(ReferralRequestsGetResponse200HydraView $hydraView) : self + + public function setHydraView(ReferralRequestsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return ReferralRequestsGetResponse200HydraSearch - */ - public function getHydraSearch() : ReferralRequestsGetResponse200HydraSearch + + public function getHydraSearch(): ReferralRequestsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param ReferralRequestsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(ReferralRequestsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(ReferralRequestsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestsGetResponse200HydraSearch.php b/src/Model/ReferralRequestsGetResponse200HydraSearch.php index 1d4bf3c9..202d1942 100644 --- a/src/Model/ReferralRequestsGetResponse200HydraSearch.php +++ b/src/Model/ReferralRequestsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class ReferralRequestsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var ReferralRequestsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return ReferralRequestsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param ReferralRequestsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php index 39db0cf6..bd74ce54 100644 --- a/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class ReferralRequestsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ReferralRequestsGetResponse200HydraView.php b/src/Model/ReferralRequestsGetResponse200HydraView.php index bec879f4..df27cdf2 100644 --- a/src/Model/ReferralRequestsGetResponse200HydraView.php +++ b/src/Model/ReferralRequestsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class ReferralRequestsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeActionsGetResponse200.php b/src/Model/RuntimeActionsGetResponse200.php index 812b68a6..ea3b3fda 100644 --- a/src/Model/RuntimeActionsGetResponse200.php +++ b/src/Model/RuntimeActionsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeActionsGetResponse200 { /** - * - * * @var ActionJsonldRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeActionsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeActionsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ActionJsonldRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ActionJsonldRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeActionsGetResponse200HydraView - */ - public function getHydraView() : RuntimeActionsGetResponse200HydraView + + public function getHydraView(): RuntimeActionsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeActionsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeActionsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeActionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeActionsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeActionsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeActionsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeActionsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeActionsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeActionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeActionsGetResponse200HydraSearch.php b/src/Model/RuntimeActionsGetResponse200HydraSearch.php index fc064ccc..98480b77 100644 --- a/src/Model/RuntimeActionsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeActionsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeActionsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeActionsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeActionsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeActionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php index 86275f99..4e8d61c5 100644 --- a/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeActionsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeActionsGetResponse200HydraView.php b/src/Model/RuntimeActionsGetResponse200HydraView.php index 14fd3a08..c26fd86d 100644 --- a/src/Model/RuntimeActionsGetResponse200HydraView.php +++ b/src/Model/RuntimeActionsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeActionsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php index a2dacc43..ad8f20bf 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200 { /** - * - * * @var ExecutionPipelineStepJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionPipelineStepJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionPipelineStepJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php index 831ca9eb..d7c3ff20 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php index 10ece346..2095987f 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php index d72d8e89..5272c78c 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php index a7859095..d37e33a7 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionExecutionPipelinesGetResponse200 { /** - * - * * @var ExecutionPipelineJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionExecutionPipelinesGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionPipelineJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionPipelineJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionPipelinesGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionExecutionPipelinesGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionExecutionPipelinesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionExecutionPipelinesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionExecutionPipelinesGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionExecutionPipelinesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php index 41e1245f..b9252403 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php index 46ff4382..f7532140 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php index eae2bf1f..799417b9 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php index 3a779de9..ac39dd9f 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200 { /** - * - * * @var ExecutionWorkflowJobJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionWorkflowJobJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionWorkflowJobJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php index 3c3661e8..4eaaf7fc 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php index d1fc14a1..b0ddc02a 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php index 0ae4c726..0498ab1b 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php index 27796760..bf3f2d2a 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200 { /** - * - * * @var ExecutionWorkflowJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionExecutionWorkflowsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionWorkflowJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionWorkflowJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionWorkflowsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionExecutionWorkflowsGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionExecutionWorkflowsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionExecutionWorkflowsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionExecutionWorkflowsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionExecutionWorkflowsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php index c74b0b72..05e8d9e7 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php index 8c93e42d..3f859322 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php index 7d642287..bc5931a0 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php index 82bcc87f..b9b181e0 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200 { /** - * - * * @var ExecutionWorkflowJobJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionIdWorkflowJobsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionWorkflowJobJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionWorkflowJobJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionIdWorkflowJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionIdWorkflowJobsGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionIdWorkflowJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionIdWorkflowJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionIdWorkflowJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionIdWorkflowJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php index bcbd0fd4..601a862c 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php index fae182b8..dbdda2b5 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php index e55fdd24..c7f26c38 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php index c7f75cdb..6e24668c 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200 { /** - * - * * @var ExecutionPipelineStepJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionPipelineStepJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionPipelineStepJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php index 6505e84c..6cd19355 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php index fdcbcf94..247d8a89 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php index 3a86b57a..b37c8a1e 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php index 391a7b3e..8ccfaac3 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionPipelineJobsGetResponse200 { /** - * - * * @var ExecutionPipelineJobJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionPipelineJobsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionPipelineJobsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionPipelineJobJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionPipelineJobJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionPipelineJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionPipelineJobsGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionPipelineJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionPipelineJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionPipelineJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionPipelineJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionPipelineJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionPipelineJobsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionPipelineJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionPipelineJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionPipelineJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionPipelineJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php index 2e6e25f4..bebe1eb7 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php index 14b8592b..f362949b 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php index b5a7717e..6bb91737 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php index 00b61ed2..d4f7f816 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200 { /** - * - * * @var ExecutionPipelineStepJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionPipelineStepJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionPipelineStepJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php index 5269478a..96963bff 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php index 13b0ffae..ed0889cb 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php index 73f280c1..9e9ab7a8 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php index 76269f30..0d36f5d4 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200 { /** - * - * * @var ExecutionWorkflowJobJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionWorkflowJobJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionWorkflowJobJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php index f23de27a..0381812f 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php index 263facc4..9fa36624 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php index 0a43271f..a7470dc6 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionsGetResponse200.php b/src/Model/RuntimeExecutionsGetResponse200.php index 4ee5505a..5c77f868 100644 --- a/src/Model/RuntimeExecutionsGetResponse200.php +++ b/src/Model/RuntimeExecutionsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeExecutionsGetResponse200 { /** - * - * * @var ExecutionJsonldRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeExecutionsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeExecutionsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionJsonldRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionJsonldRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeExecutionsGetResponse200HydraView - */ - public function getHydraView() : RuntimeExecutionsGetResponse200HydraView + + public function getHydraView(): RuntimeExecutionsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeExecutionsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeExecutionsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeExecutionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeExecutionsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeExecutionsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeExecutionsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeExecutionsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeExecutionsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeExecutionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php index cf8cc906..601712bb 100644 --- a/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeExecutionsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php index 84915c17..d95f8c2e 100644 --- a/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeExecutionsGetResponse200HydraView.php b/src/Model/RuntimeExecutionsGetResponse200HydraView.php index 768c7be7..74c811f4 100644 --- a/src/Model/RuntimeExecutionsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeExecutionsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200.php index 74982aa6..dd85de0b 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimePipelineIdCompilationsGetResponse200 { /** - * - * * @var PipelineCompilationJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimePipelineIdCompilationsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimePipelineIdCompilationsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return PipelineCompilationJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param PipelineCompilationJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelineIdCompilationsGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelineIdCompilationsGetResponse200HydraView + + public function getHydraView(): RuntimePipelineIdCompilationsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelineIdCompilationsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelineIdCompilationsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimePipelineIdCompilationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelineIdCompilationsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelineIdCompilationsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimePipelineIdCompilationsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelineIdCompilationsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelineIdCompilationsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimePipelineIdCompilationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php index 0fdba66f..f9551857 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimePipelineIdCompilationsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php index 3e940ebe..1a42e77f 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php index ac405510..0caf1c25 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimePipelineIdCompilationsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200.php index 61f62ea8..878e214b 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200.php @@ -5,111 +5,73 @@ class RuntimePipelineStepIdProbesGetResponse200 { /** - * - * * @var PipelineStepProbeJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimePipelineStepIdProbesGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimePipelineStepIdProbesGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return PipelineStepProbeJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param PipelineStepProbeJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelineStepIdProbesGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelineStepIdProbesGetResponse200HydraView + + public function getHydraView(): RuntimePipelineStepIdProbesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelineStepIdProbesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelineStepIdProbesGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimePipelineStepIdProbesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelineStepIdProbesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelineStepIdProbesGetResponse200HydraSearch + + public function getHydraSearch(): RuntimePipelineStepIdProbesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelineStepIdProbesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelineStepIdProbesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimePipelineStepIdProbesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php index a883d979..ef10ad7f 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimePipelineStepIdProbesGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php index 4c83d7a4..c4566c93 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php index fe84afe2..59d82886 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimePipelineStepIdProbesGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200.php b/src/Model/RuntimePipelineStepProbesGetResponse200.php index 0092a5ca..ba4f57cb 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200.php @@ -5,111 +5,73 @@ class RuntimePipelineStepProbesGetResponse200 { /** - * - * * @var PipelineStepProbeJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimePipelineStepProbesGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimePipelineStepProbesGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return PipelineStepProbeJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param PipelineStepProbeJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelineStepProbesGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelineStepProbesGetResponse200HydraView + + public function getHydraView(): RuntimePipelineStepProbesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelineStepProbesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelineStepProbesGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimePipelineStepProbesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelineStepProbesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelineStepProbesGetResponse200HydraSearch + + public function getHydraSearch(): RuntimePipelineStepProbesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelineStepProbesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelineStepProbesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimePipelineStepProbesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php index 58cafe7d..ecb2d4d8 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimePipelineStepProbesGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php index daf53f4e..0d1f94c3 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php b/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php index b8cee98a..ccabf7d5 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimePipelineStepProbesGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepsGetResponse200.php b/src/Model/RuntimePipelineStepsGetResponse200.php index e743e8bb..e09b6fdd 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200.php +++ b/src/Model/RuntimePipelineStepsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimePipelineStepsGetResponse200 { /** - * - * * @var PipelineStepJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimePipelineStepsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimePipelineStepsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return PipelineStepJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param PipelineStepJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelineStepsGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelineStepsGetResponse200HydraView + + public function getHydraView(): RuntimePipelineStepsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelineStepsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelineStepsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimePipelineStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelineStepsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelineStepsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimePipelineStepsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelineStepsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelineStepsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimePipelineStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php b/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php index 1e559d06..423a1ab4 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimePipelineStepsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php index fc611fac..3fc6ec77 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelineStepsGetResponse200HydraView.php b/src/Model/RuntimePipelineStepsGetResponse200HydraView.php index ab166c0e..0fdd1c98 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimePipelineStepsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200.php b/src/Model/RuntimePipelinesCompilationGetResponse200.php index 8b2f2827..c5d10421 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200.php @@ -5,111 +5,73 @@ class RuntimePipelinesCompilationGetResponse200 { /** - * - * * @var PipelineCompilationJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimePipelinesCompilationGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimePipelinesCompilationGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return PipelineCompilationJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param PipelineCompilationJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelinesCompilationGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelinesCompilationGetResponse200HydraView + + public function getHydraView(): RuntimePipelinesCompilationGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelinesCompilationGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelinesCompilationGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimePipelinesCompilationGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelinesCompilationGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelinesCompilationGetResponse200HydraSearch + + public function getHydraSearch(): RuntimePipelinesCompilationGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelinesCompilationGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelinesCompilationGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimePipelinesCompilationGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php index 0dddd9f4..0baeac08 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimePipelinesCompilationGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php index 48b54516..8060072f 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php index 944909fb..a19725ce 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimePipelinesCompilationGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesGetResponse200.php b/src/Model/RuntimePipelinesGetResponse200.php index 32780b96..e2b1a411 100644 --- a/src/Model/RuntimePipelinesGetResponse200.php +++ b/src/Model/RuntimePipelinesGetResponse200.php @@ -5,111 +5,73 @@ class RuntimePipelinesGetResponse200 { /** - * - * * @var PipelineJsonldRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimePipelinesGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimePipelinesGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return PipelineJsonldRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param PipelineJsonldRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimePipelinesGetResponse200HydraView - */ - public function getHydraView() : RuntimePipelinesGetResponse200HydraView + + public function getHydraView(): RuntimePipelinesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimePipelinesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimePipelinesGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimePipelinesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimePipelinesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimePipelinesGetResponse200HydraSearch + + public function getHydraSearch(): RuntimePipelinesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimePipelinesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimePipelinesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimePipelinesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesGetResponse200HydraSearch.php b/src/Model/RuntimePipelinesGetResponse200HydraSearch.php index 9cb5b6bc..ff8cbd74 100644 --- a/src/Model/RuntimePipelinesGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimePipelinesGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php index 4a567cc9..00a34290 100644 --- a/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimePipelinesGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimePipelinesGetResponse200HydraView.php b/src/Model/RuntimePipelinesGetResponse200HydraView.php index 28e673f1..9dfc696b 100644 --- a/src/Model/RuntimePipelinesGetResponse200HydraView.php +++ b/src/Model/RuntimePipelinesGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimePipelinesGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php index 04553c06..d88c9213 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeScheduleIdExecutionsGetResponse200 { /** - * - * * @var ExecutionJsonldRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeScheduleIdExecutionsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeScheduleIdExecutionsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ExecutionJsonldRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ExecutionJsonldRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeScheduleIdExecutionsGetResponse200HydraView - */ - public function getHydraView() : RuntimeScheduleIdExecutionsGetResponse200HydraView + + public function getHydraView(): RuntimeScheduleIdExecutionsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeScheduleIdExecutionsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeScheduleIdExecutionsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeScheduleIdExecutionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeScheduleIdExecutionsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeScheduleIdExecutionsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeScheduleIdExecutionsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeScheduleIdExecutionsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeScheduleIdExecutionsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeScheduleIdExecutionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php index b6edde28..f5ed7e00 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php index a437c628..ba8bd52d 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php index 7d0193c9..3e6b2d99 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php index c8648ce7..f119defe 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200 { /** - * - * * @var WorkflowJobJsonldRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeScheduleIdWorkflowJobsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return WorkflowJobJsonldRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param WorkflowJobJsonldRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeScheduleIdWorkflowJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeScheduleIdWorkflowJobsGetResponse200HydraView + + public function getHydraView(): RuntimeScheduleIdWorkflowJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeScheduleIdWorkflowJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeScheduleIdWorkflowJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeScheduleIdWorkflowJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php index 92ef5ac8..0dba08bc 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php index 78055f58..cbd89ac1 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php index 600d74a8..2025e667 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeSchedulesGetResponse200.php b/src/Model/RuntimeSchedulesGetResponse200.php index 0c6935b8..8f1bbf37 100644 --- a/src/Model/RuntimeSchedulesGetResponse200.php +++ b/src/Model/RuntimeSchedulesGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeSchedulesGetResponse200 { /** - * - * * @var ScheduleJsonld[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeSchedulesGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeSchedulesGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return ScheduleJsonld[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param ScheduleJsonld[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeSchedulesGetResponse200HydraView - */ - public function getHydraView() : RuntimeSchedulesGetResponse200HydraView + + public function getHydraView(): RuntimeSchedulesGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeSchedulesGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeSchedulesGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeSchedulesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeSchedulesGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeSchedulesGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeSchedulesGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeSchedulesGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeSchedulesGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeSchedulesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php b/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php index 0270bda8..7154c2d4 100644 --- a/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php +++ b/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeSchedulesGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php index 6ad8d24b..73297845 100644 --- a/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeSchedulesGetResponse200HydraView.php b/src/Model/RuntimeSchedulesGetResponse200HydraView.php index 30261ae1..a0617683 100644 --- a/src/Model/RuntimeSchedulesGetResponse200HydraView.php +++ b/src/Model/RuntimeSchedulesGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeSchedulesGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200.php index 15a70eea..4c5ed8fa 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeWorkflowIdJobsGetResponse200 { /** - * - * * @var WorkflowJobJsonldRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeWorkflowIdJobsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeWorkflowIdJobsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return WorkflowJobJsonldRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param WorkflowJobJsonldRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeWorkflowIdJobsGetResponse200HydraView - */ - public function getHydraView() : RuntimeWorkflowIdJobsGetResponse200HydraView + + public function getHydraView(): RuntimeWorkflowIdJobsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeWorkflowIdJobsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeWorkflowIdJobsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeWorkflowIdJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeWorkflowIdJobsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeWorkflowIdJobsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeWorkflowIdJobsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeWorkflowIdJobsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeWorkflowIdJobsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeWorkflowIdJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php index 4d92d91f..d46f3c3e 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeWorkflowIdJobsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php index 7f790960..44fd47f2 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php index 9f265af0..d2154b28 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeWorkflowIdJobsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowsGetResponse200.php b/src/Model/RuntimeWorkflowsGetResponse200.php index 77c19e61..6bd30b29 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200.php +++ b/src/Model/RuntimeWorkflowsGetResponse200.php @@ -5,111 +5,73 @@ class RuntimeWorkflowsGetResponse200 { /** - * - * * @var WorkflowJsonldRead[] */ protected $hydraMember; /** - * - * * @var int */ protected $hydraTotalItems; /** - * - * * @var RuntimeWorkflowsGetResponse200HydraView */ protected $hydraView; /** - * - * * @var RuntimeWorkflowsGetResponse200HydraSearch */ protected $hydraSearch; + /** - * - * * @return WorkflowJsonldRead[] */ - public function getHydraMember() : array + public function getHydraMember(): array { return $this->hydraMember; } + /** - * - * * @param WorkflowJsonldRead[] $hydraMember - * - * @return self */ - public function setHydraMember(array $hydraMember) : self + public function setHydraMember(array $hydraMember): self { $this->hydraMember = $hydraMember; + return $this; } - /** - * - * - * @return int - */ - public function getHydraTotalItems() : int + + public function getHydraTotalItems(): int { return $this->hydraTotalItems; } - /** - * - * - * @param int $hydraTotalItems - * - * @return self - */ - public function setHydraTotalItems(int $hydraTotalItems) : self + + public function setHydraTotalItems(int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; + return $this; } - /** - * - * - * @return RuntimeWorkflowsGetResponse200HydraView - */ - public function getHydraView() : RuntimeWorkflowsGetResponse200HydraView + + public function getHydraView(): RuntimeWorkflowsGetResponse200HydraView { return $this->hydraView; } - /** - * - * - * @param RuntimeWorkflowsGetResponse200HydraView $hydraView - * - * @return self - */ - public function setHydraView(RuntimeWorkflowsGetResponse200HydraView $hydraView) : self + + public function setHydraView(RuntimeWorkflowsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; + return $this; } - /** - * - * - * @return RuntimeWorkflowsGetResponse200HydraSearch - */ - public function getHydraSearch() : RuntimeWorkflowsGetResponse200HydraSearch + + public function getHydraSearch(): RuntimeWorkflowsGetResponse200HydraSearch { return $this->hydraSearch; } - /** - * - * - * @param RuntimeWorkflowsGetResponse200HydraSearch $hydraSearch - * - * @return self - */ - public function setHydraSearch(RuntimeWorkflowsGetResponse200HydraSearch $hydraSearch) : self + + public function setHydraSearch(RuntimeWorkflowsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php index 6705185e..137683dd 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php @@ -5,111 +5,73 @@ class RuntimeWorkflowsGetResponse200HydraSearch { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraTemplate; /** - * - * * @var string */ protected $hydraVariableRepresentation; /** - * - * * @var RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[] */ protected $hydraMapping; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraTemplate() : string + + public function getHydraTemplate(): string { return $this->hydraTemplate; } - /** - * - * - * @param string $hydraTemplate - * - * @return self - */ - public function setHydraTemplate(string $hydraTemplate) : self + + public function setHydraTemplate(string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; + return $this; } - /** - * - * - * @return string - */ - public function getHydraVariableRepresentation() : string + + public function getHydraVariableRepresentation(): string { return $this->hydraVariableRepresentation; } - /** - * - * - * @param string $hydraVariableRepresentation - * - * @return self - */ - public function setHydraVariableRepresentation(string $hydraVariableRepresentation) : self + + public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; + return $this; } + /** - * - * * @return RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[] */ - public function getHydraMapping() : array + public function getHydraMapping(): array { return $this->hydraMapping; } + /** - * - * * @param RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping - * - * @return self */ - public function setHydraMapping(array $hydraMapping) : self + public function setHydraMapping(array $hydraMapping): self { $this->hydraMapping = $hydraMapping; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php index 6f118080..15e9c5c8 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php @@ -5,111 +5,67 @@ class RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem { /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $variable; /** - * - * * @var string|null */ protected $property; /** - * - * * @var bool */ protected $required; - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getVariable() : string + + public function getVariable(): string { return $this->variable; } - /** - * - * - * @param string $variable - * - * @return self - */ - public function setVariable(string $variable) : self + + public function setVariable(string $variable): self { $this->variable = $variable; + return $this; } - /** - * - * - * @return string|null - */ - public function getProperty() : ?string + + public function getProperty(): ?string { return $this->property; } - /** - * - * - * @param string|null $property - * - * @return self - */ - public function setProperty(?string $property) : self + + public function setProperty(?string $property): self { $this->property = $property; + return $this; } - /** - * - * - * @return bool - */ - public function getRequired() : bool + + public function getRequired(): bool { return $this->required; } - /** - * - * - * @param bool $required - * - * @return self - */ - public function setRequired(bool $required) : self + + public function setRequired(bool $required): self { $this->required = $required; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/RuntimeWorkflowsGetResponse200HydraView.php b/src/Model/RuntimeWorkflowsGetResponse200HydraView.php index 8d6a9acb..66ed2775 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowsGetResponse200HydraView.php @@ -5,165 +5,99 @@ class RuntimeWorkflowsGetResponse200HydraView { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $hydraFirst; /** - * - * * @var string */ protected $hydraLast; /** - * - * * @var string */ protected $hydraPrevious; /** - * - * * @var string */ protected $hydraNext; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getHydraFirst() : string + + public function getHydraFirst(): string { return $this->hydraFirst; } - /** - * - * - * @param string $hydraFirst - * - * @return self - */ - public function setHydraFirst(string $hydraFirst) : self + + public function setHydraFirst(string $hydraFirst): self { $this->hydraFirst = $hydraFirst; + return $this; } - /** - * - * - * @return string - */ - public function getHydraLast() : string + + public function getHydraLast(): string { return $this->hydraLast; } - /** - * - * - * @param string $hydraLast - * - * @return self - */ - public function setHydraLast(string $hydraLast) : self + + public function setHydraLast(string $hydraLast): self { $this->hydraLast = $hydraLast; + return $this; } - /** - * - * - * @return string - */ - public function getHydraPrevious() : string + + public function getHydraPrevious(): string { return $this->hydraPrevious; } - /** - * - * - * @param string $hydraPrevious - * - * @return self - */ - public function setHydraPrevious(string $hydraPrevious) : self + + public function setHydraPrevious(string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; + return $this; } - /** - * - * - * @return string - */ - public function getHydraNext() : string + + public function getHydraNext(): string { return $this->hydraNext; } - /** - * - * - * @param string $hydraNext - * - * @return self - */ - public function setHydraNext(string $hydraNext) : self + + public function setHydraNext(string $hydraNext): self { $this->hydraNext = $hydraNext; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Schedule.php b/src/Model/Schedule.php index 1d330983..b7c42fbd 100644 --- a/src/Model/Schedule.php +++ b/src/Model/Schedule.php @@ -5,327 +5,201 @@ class Schedule { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type = 'once'; /** - * - * * @var \DateTime|null */ protected $startAt; /** - * - * * @var string|null */ protected $interval; /** - * - * * @var \DateTime|null */ protected $endAt; /** - * - * * @var int|null */ protected $recurrences; /** - * - * * @var string[] */ protected $executions; /** - * - * * @var string|null */ protected $pipeline; /** - * - * * @var string|null */ protected $workflow; /** - * - * * @var string */ protected $owner; /** - * - * * @var string */ protected $workspace; /** - * - * * @var string */ protected $organization; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getStartAt() : ?\DateTime + + public function getStartAt(): ?\DateTime { return $this->startAt; } - /** - * - * - * @param \DateTime|null $startAt - * - * @return self - */ - public function setStartAt(?\DateTime $startAt) : self + + public function setStartAt(?\DateTime $startAt): self { $this->startAt = $startAt; + return $this; } - /** - * - * - * @return string|null - */ - public function getInterval() : ?string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string|null $interval - * - * @return self - */ - public function setInterval(?string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getEndAt() : ?\DateTime + + public function getEndAt(): ?\DateTime { return $this->endAt; } - /** - * - * - * @param \DateTime|null $endAt - * - * @return self - */ - public function setEndAt(?\DateTime $endAt) : self + + public function setEndAt(?\DateTime $endAt): self { $this->endAt = $endAt; + return $this; } - /** - * - * - * @return int|null - */ - public function getRecurrences() : ?int + + public function getRecurrences(): ?int { return $this->recurrences; } - /** - * - * - * @param int|null $recurrences - * - * @return self - */ - public function setRecurrences(?int $recurrences) : self + + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; + return $this; } + /** - * - * * @return string[] */ - public function getExecutions() : array + public function getExecutions(): array { return $this->executions; } + /** - * - * * @param string[] $executions - * - * @return self */ - public function setExecutions(array $executions) : self + public function setExecutions(array $executions): self { $this->executions = $executions; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } - /** - * - * - * @return string - */ - public function getOwner() : string + + public function getOwner(): string { return $this->owner; } - /** - * - * - * @param string $owner - * - * @return self - */ - public function setOwner(string $owner) : self + + public function setOwner(string $owner): self { $this->owner = $owner; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php index 1ca52c35..800cfa93 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php @@ -5,84 +5,69 @@ class ScheduleDeclarePipelineScheduleImmediateCommand { /** - * - * * @var mixed */ protected $id; /** - * - * * @var mixed */ protected $pipeline; /** - * - * * @var mixed */ protected $user; + /** - * - * * @return mixed */ public function getId() { return $this->id; } + /** - * - * * @param mixed $id - * - * @return self */ - public function setId($id) : self + public function setId($id): self { $this->id = $id; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return mixed */ public function getUser() { return $this->user; } + /** - * - * * @param mixed $user - * - * @return self */ - public function setUser($user) : self + public function setUser($user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php index adf8aef4..692817e0 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php @@ -5,57 +5,35 @@ class ScheduleDeclarePipelineScheduleImmediateCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $organization; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php index 0303859c..344405f7 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php @@ -5,138 +5,89 @@ class ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var string */ protected $organization; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php index b07b008b..769f087d 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php @@ -5,165 +5,105 @@ class ScheduleDeclarePipelineScheduleImmediateCommandJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var ScheduleIdJsonld */ protected $id2; /** - * - * * @var PipelineIdJsonld */ protected $pipeline; /** - * - * * @var UserIdJsonld */ protected $user; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return ScheduleIdJsonld - */ - public function getId2() : ScheduleIdJsonld + + public function getId2(): ScheduleIdJsonld { return $this->id2; } - /** - * - * - * @param ScheduleIdJsonld $id2 - * - * @return self - */ - public function setId2(ScheduleIdJsonld $id2) : self + + public function setId2(ScheduleIdJsonld $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return PipelineIdJsonld - */ - public function getPipeline() : PipelineIdJsonld + + public function getPipeline(): PipelineIdJsonld { return $this->pipeline; } - /** - * - * - * @param PipelineIdJsonld $pipeline - * - * @return self - */ - public function setPipeline(PipelineIdJsonld $pipeline) : self + + public function setPipeline(PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return UserIdJsonld - */ - public function getUser() : UserIdJsonld + + public function getUser(): UserIdJsonld { return $this->user; } - /** - * - * - * @param UserIdJsonld $user - * - * @return self - */ - public function setUser(UserIdJsonld $user) : self + + public function setUser(UserIdJsonld $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php index 54de327f..8100c0a0 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php @@ -5,111 +5,85 @@ class ScheduleDeclarePipelineScheduleOnceCommand { /** - * - * * @var mixed */ protected $id; /** - * - * * @var mixed */ protected $pipeline; /** - * - * * @var \DateTime */ protected $date; /** - * - * * @var mixed */ protected $user; + /** - * - * * @return mixed */ public function getId() { return $this->id; } + /** - * - * * @param mixed $id - * - * @return self */ - public function setId($id) : self + public function setId($id): self { $this->id = $id; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getDate() : \DateTime + + public function getDate(): \DateTime { return $this->date; } - /** - * - * - * @param \DateTime $date - * - * @return self - */ - public function setDate(\DateTime $date) : self + + public function setDate(\DateTime $date): self { $this->date = $date; + return $this; } + /** - * - * * @return mixed */ public function getUser() { return $this->user; } + /** - * - * * @param mixed $user - * - * @return self */ - public function setUser($user) : self + public function setUser($user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php index 5f31f0f1..f2038e68 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php @@ -5,57 +5,35 @@ class ScheduleDeclarePipelineScheduleOnceCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var \DateTime */ protected $date; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getDate() : \DateTime + + public function getDate(): \DateTime { return $this->date; } - /** - * - * - * @param \DateTime $date - * - * @return self - */ - public function setDate(\DateTime $date) : self + + public function setDate(\DateTime $date): self { $this->date = $date; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php index 15340ffe..79e5f73e 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php @@ -5,138 +5,89 @@ class ScheduleDeclarePipelineScheduleOnceCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var \DateTime */ protected $date; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getDate() : \DateTime + + public function getDate(): \DateTime { return $this->date; } - /** - * - * - * @param \DateTime $date - * - * @return self - */ - public function setDate(\DateTime $date) : self + + public function setDate(\DateTime $date): self { $this->date = $date; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php index 7cfb6a11..d4489b90 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php @@ -5,192 +5,121 @@ class ScheduleDeclarePipelineScheduleOnceCommandJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var ScheduleIdJsonld */ protected $id2; /** - * - * * @var PipelineIdJsonld */ protected $pipeline; /** - * - * * @var \DateTime */ protected $date; /** - * - * * @var UserIdJsonld */ protected $user; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return ScheduleIdJsonld - */ - public function getId2() : ScheduleIdJsonld + + public function getId2(): ScheduleIdJsonld { return $this->id2; } - /** - * - * - * @param ScheduleIdJsonld $id2 - * - * @return self - */ - public function setId2(ScheduleIdJsonld $id2) : self + + public function setId2(ScheduleIdJsonld $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return PipelineIdJsonld - */ - public function getPipeline() : PipelineIdJsonld + + public function getPipeline(): PipelineIdJsonld { return $this->pipeline; } - /** - * - * - * @param PipelineIdJsonld $pipeline - * - * @return self - */ - public function setPipeline(PipelineIdJsonld $pipeline) : self + + public function setPipeline(PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getDate() : \DateTime + + public function getDate(): \DateTime { return $this->date; } - /** - * - * - * @param \DateTime $date - * - * @return self - */ - public function setDate(\DateTime $date) : self + + public function setDate(\DateTime $date): self { $this->date = $date; + return $this; } - /** - * - * - * @return UserIdJsonld - */ - public function getUser() : UserIdJsonld + + public function getUser(): UserIdJsonld { return $this->user; } - /** - * - * - * @param UserIdJsonld $user - * - * @return self - */ - public function setUser(UserIdJsonld $user) : self + + public function setUser(UserIdJsonld $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php index 22803878..9b29d332 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php @@ -5,165 +5,117 @@ class ScheduleDeclarePipelineScheduleTimesCommand { /** - * - * * @var mixed */ protected $id; /** - * - * * @var mixed */ protected $pipeline; /** - * - * * @var \DateTime */ protected $start; /** - * - * * @var string */ protected $interval; /** - * - * * @var int */ protected $recurrences; /** - * - * * @var mixed */ protected $user; + /** - * - * * @return mixed */ public function getId() { return $this->id; } + /** - * - * * @param mixed $id - * - * @return self */ - public function setId($id) : self + public function setId($id): self { $this->id = $id; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): \DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return int - */ - public function getRecurrences() : int + + public function getRecurrences(): int { return $this->recurrences; } - /** - * - * - * @param int $recurrences - * - * @return self - */ - public function setRecurrences(int $recurrences) : self + + public function setRecurrences(int $recurrences): self { $this->recurrences = $recurrences; + return $this; } + /** - * - * * @return mixed */ public function getUser() { return $this->user; } + /** - * - * * @param mixed $user - * - * @return self */ - public function setUser($user) : self + public function setUser($user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php index 346d7afb..a42708aa 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php @@ -5,111 +5,67 @@ class ScheduleDeclarePipelineScheduleTimesCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var \DateTime */ protected $start; /** - * - * * @var string */ protected $interval; /** - * - * * @var int */ protected $recurrences; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): \DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return int - */ - public function getRecurrences() : int + + public function getRecurrences(): int { return $this->recurrences; } - /** - * - * - * @param int $recurrences - * - * @return self - */ - public function setRecurrences(int $recurrences) : self + + public function setRecurrences(int $recurrences): self { $this->recurrences = $recurrences; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php index 27f54952..f7e9b577 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php @@ -5,192 +5,121 @@ class ScheduleDeclarePipelineScheduleTimesCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var \DateTime */ protected $start; /** - * - * * @var string */ protected $interval; /** - * - * * @var int */ protected $recurrences; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): \DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return int - */ - public function getRecurrences() : int + + public function getRecurrences(): int { return $this->recurrences; } - /** - * - * - * @param int $recurrences - * - * @return self - */ - public function setRecurrences(int $recurrences) : self + + public function setRecurrences(int $recurrences): self { $this->recurrences = $recurrences; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php index d13fcbcb..f769c14e 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php @@ -5,246 +5,153 @@ class ScheduleDeclarePipelineScheduleTimesCommandJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var ScheduleIdJsonld */ protected $id2; /** - * - * * @var PipelineIdJsonld */ protected $pipeline; /** - * - * * @var \DateTime */ protected $start; /** - * - * * @var string */ protected $interval; /** - * - * * @var int */ protected $recurrences; /** - * - * * @var UserIdJsonld */ protected $user; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return ScheduleIdJsonld - */ - public function getId2() : ScheduleIdJsonld + + public function getId2(): ScheduleIdJsonld { return $this->id2; } - /** - * - * - * @param ScheduleIdJsonld $id2 - * - * @return self - */ - public function setId2(ScheduleIdJsonld $id2) : self + + public function setId2(ScheduleIdJsonld $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return PipelineIdJsonld - */ - public function getPipeline() : PipelineIdJsonld + + public function getPipeline(): PipelineIdJsonld { return $this->pipeline; } - /** - * - * - * @param PipelineIdJsonld $pipeline - * - * @return self - */ - public function setPipeline(PipelineIdJsonld $pipeline) : self + + public function setPipeline(PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): \DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return int - */ - public function getRecurrences() : int + + public function getRecurrences(): int { return $this->recurrences; } - /** - * - * - * @param int $recurrences - * - * @return self - */ - public function setRecurrences(int $recurrences) : self + + public function setRecurrences(int $recurrences): self { $this->recurrences = $recurrences; + return $this; } - /** - * - * - * @return UserIdJsonld - */ - public function getUser() : UserIdJsonld + + public function getUser(): UserIdJsonld { return $this->user; } - /** - * - * - * @param UserIdJsonld $user - * - * @return self - */ - public function setUser(UserIdJsonld $user) : self + + public function setUser(UserIdJsonld $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php index 2f3063a5..dfaedacc 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php @@ -5,165 +5,117 @@ class ScheduleDeclarePipelineScheduleUntilCommand { /** - * - * * @var mixed */ protected $id; /** - * - * * @var mixed */ protected $pipeline; /** - * - * * @var \DateTime */ protected $start; /** - * - * * @var string */ protected $interval; /** - * - * * @var \DateTime */ protected $end; /** - * - * * @var mixed */ protected $user; + /** - * - * * @return mixed */ public function getId() { return $this->id; } + /** - * - * * @param mixed $id - * - * @return self */ - public function setId($id) : self + public function setId($id): self { $this->id = $id; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): \DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getEnd() : \DateTime + + public function getEnd(): \DateTime { return $this->end; } - /** - * - * - * @param \DateTime $end - * - * @return self - */ - public function setEnd(\DateTime $end) : self + + public function setEnd(\DateTime $end): self { $this->end = $end; + return $this; } + /** - * - * * @return mixed */ public function getUser() { return $this->user; } + /** - * - * * @param mixed $user - * - * @return self */ - public function setUser($user) : self + public function setUser($user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php index 449be168..5cc3e48a 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php @@ -5,111 +5,67 @@ class ScheduleDeclarePipelineScheduleUntilCommandInput { /** - * - * * @var string */ protected $pipeline; /** - * - * * @var \DateTime */ protected $start; /** - * - * * @var string */ protected $interval; /** - * - * * @var \DateTime */ protected $end; - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): \DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getEnd() : \DateTime + + public function getEnd(): \DateTime { return $this->end; } - /** - * - * - * @param \DateTime $end - * - * @return self - */ - public function setEnd(\DateTime $end) : self + + public function setEnd(\DateTime $end): self { $this->end = $end; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php index 1d058767..a7843e32 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php @@ -5,192 +5,121 @@ class ScheduleDeclarePipelineScheduleUntilCommandInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $pipeline; /** - * - * * @var \DateTime */ protected $start; /** - * - * * @var string */ protected $interval; /** - * - * * @var \DateTime */ protected $end; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getPipeline() : string + + public function getPipeline(): string { return $this->pipeline; } - /** - * - * - * @param string $pipeline - * - * @return self - */ - public function setPipeline(string $pipeline) : self + + public function setPipeline(string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): \DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getEnd() : \DateTime + + public function getEnd(): \DateTime { return $this->end; } - /** - * - * - * @param \DateTime $end - * - * @return self - */ - public function setEnd(\DateTime $end) : self + + public function setEnd(\DateTime $end): self { $this->end = $end; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php index fd8179b5..a18fc123 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php @@ -5,246 +5,153 @@ class ScheduleDeclarePipelineScheduleUntilCommandJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var ScheduleIdJsonld */ protected $id2; /** - * - * * @var PipelineIdJsonld */ protected $pipeline; /** - * - * * @var \DateTime */ protected $start; /** - * - * * @var string */ protected $interval; /** - * - * * @var \DateTime */ protected $end; /** - * - * * @var UserIdJsonld */ protected $user; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return ScheduleIdJsonld - */ - public function getId2() : ScheduleIdJsonld + + public function getId2(): ScheduleIdJsonld { return $this->id2; } - /** - * - * - * @param ScheduleIdJsonld $id2 - * - * @return self - */ - public function setId2(ScheduleIdJsonld $id2) : self + + public function setId2(ScheduleIdJsonld $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return PipelineIdJsonld - */ - public function getPipeline() : PipelineIdJsonld + + public function getPipeline(): PipelineIdJsonld { return $this->pipeline; } - /** - * - * - * @param PipelineIdJsonld $pipeline - * - * @return self - */ - public function setPipeline(PipelineIdJsonld $pipeline) : self + + public function setPipeline(PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getStart() : \DateTime + + public function getStart(): \DateTime { return $this->start; } - /** - * - * - * @param \DateTime $start - * - * @return self - */ - public function setStart(\DateTime $start) : self + + public function setStart(\DateTime $start): self { $this->start = $start; + return $this; } - /** - * - * - * @return string - */ - public function getInterval() : string + + public function getInterval(): string { return $this->interval; } - /** - * - * - * @param string $interval - * - * @return self - */ - public function setInterval(string $interval) : self + + public function setInterval(string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime - */ - public function getEnd() : \DateTime + + public function getEnd(): \DateTime { return $this->end; } - /** - * - * - * @param \DateTime $end - * - * @return self - */ - public function setEnd(\DateTime $end) : self + + public function setEnd(\DateTime $end): self { $this->end = $end; + return $this; } - /** - * - * - * @return UserIdJsonld - */ - public function getUser() : UserIdJsonld + + public function getUser(): UserIdJsonld { return $this->user; } - /** - * - * - * @param UserIdJsonld $user - * - * @return self - */ - public function setUser(UserIdJsonld $user) : self + + public function setUser(UserIdJsonld $user): self { $this->user = $user; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleIdJsonld.php b/src/Model/ScheduleIdJsonld.php index f58431df..c1fdd097 100644 --- a/src/Model/ScheduleIdJsonld.php +++ b/src/Model/ScheduleIdJsonld.php @@ -5,84 +5,57 @@ class ScheduleIdJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/ScheduleJsonld.php b/src/Model/ScheduleJsonld.php index edaa0d6b..2bb8d378 100644 --- a/src/Model/ScheduleJsonld.php +++ b/src/Model/ScheduleJsonld.php @@ -5,408 +5,255 @@ class ScheduleJsonld { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $type2 = 'once'; /** - * - * * @var \DateTime|null */ protected $startAt; /** - * - * * @var string|null */ protected $interval; /** - * - * * @var \DateTime|null */ protected $endAt; /** - * - * * @var int|null */ protected $recurrences; /** - * - * * @var string[] */ protected $executions; /** - * - * * @var string|null */ protected $pipeline; /** - * - * * @var string|null */ protected $workflow; /** - * - * * @var string */ protected $owner; /** - * - * * @var string */ protected $workspace; /** - * - * * @var string */ protected $organization; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getType2() : string + + public function getType2(): string { return $this->type2; } - /** - * - * - * @param string $type2 - * - * @return self - */ - public function setType2(string $type2) : self + + public function setType2(string $type2): self { $this->type2 = $type2; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getStartAt() : ?\DateTime + + public function getStartAt(): ?\DateTime { return $this->startAt; } - /** - * - * - * @param \DateTime|null $startAt - * - * @return self - */ - public function setStartAt(?\DateTime $startAt) : self + + public function setStartAt(?\DateTime $startAt): self { $this->startAt = $startAt; + return $this; } - /** - * - * - * @return string|null - */ - public function getInterval() : ?string + + public function getInterval(): ?string { return $this->interval; } - /** - * - * - * @param string|null $interval - * - * @return self - */ - public function setInterval(?string $interval) : self + + public function setInterval(?string $interval): self { $this->interval = $interval; + return $this; } - /** - * - * - * @return \DateTime|null - */ - public function getEndAt() : ?\DateTime + + public function getEndAt(): ?\DateTime { return $this->endAt; } - /** - * - * - * @param \DateTime|null $endAt - * - * @return self - */ - public function setEndAt(?\DateTime $endAt) : self + + public function setEndAt(?\DateTime $endAt): self { $this->endAt = $endAt; + return $this; } - /** - * - * - * @return int|null - */ - public function getRecurrences() : ?int + + public function getRecurrences(): ?int { return $this->recurrences; } - /** - * - * - * @param int|null $recurrences - * - * @return self - */ - public function setRecurrences(?int $recurrences) : self + + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; + return $this; } + /** - * - * * @return string[] */ - public function getExecutions() : array + public function getExecutions(): array { return $this->executions; } + /** - * - * * @param string[] $executions - * - * @return self */ - public function setExecutions(array $executions) : self + public function setExecutions(array $executions): self { $this->executions = $executions; + return $this; } - /** - * - * - * @return string|null - */ - public function getPipeline() : ?string + + public function getPipeline(): ?string { return $this->pipeline; } - /** - * - * - * @param string|null $pipeline - * - * @return self - */ - public function setPipeline(?string $pipeline) : self + + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkflow() : ?string + + public function getWorkflow(): ?string { return $this->workflow; } - /** - * - * - * @param string|null $workflow - * - * @return self - */ - public function setWorkflow(?string $workflow) : self + + public function setWorkflow(?string $workflow): self { $this->workflow = $workflow; + return $this; } - /** - * - * - * @return string - */ - public function getOwner() : string + + public function getOwner(): string { return $this->owner; } - /** - * - * - * @param string $owner - * - * @return self - */ - public function setOwner(string $owner) : self + + public function setOwner(string $owner): self { $this->owner = $owner; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Secret.php b/src/Model/Secret.php index e0f23846..7e35cc6f 100644 --- a/src/Model/Secret.php +++ b/src/Model/Secret.php @@ -5,165 +5,105 @@ class Secret { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $name; /** - * - * * @var string */ protected $description; /** - * - * * @var string */ protected $organization; /** - * - * - * @var string + * @var string|null */ protected $workspace; /** - * - * * @var mixed */ protected $iterator; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(string $description): self { $this->description = $description; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } + /** - * - * * @return mixed */ public function getIterator() { return $this->iterator; } + /** - * - * * @param mixed $iterator - * - * @return self */ - public function setIterator($iterator) : self + public function setIterator($iterator): self { $this->iterator = $iterator; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/SecretConfigMapInput.php b/src/Model/SecretConfigMapInput.php deleted file mode 100644 index 15713b33..00000000 --- a/src/Model/SecretConfigMapInput.php +++ /dev/null @@ -1,88 +0,0 @@ -name; - } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self - { - $this->name = $name; - return $this; - } - /** - * - * - * @return string - */ - public function getDescription() : string - { - return $this->description; - } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self - { - $this->description = $description; - return $this; - } - /** - * - * - * @return ConfigMapValueInput - */ - public function getConfigs() : ConfigMapValueInput - { - return $this->configs; - } - /** - * - * - * @param ConfigMapValueInput $configs - * - * @return self - */ - public function setConfigs(ConfigMapValueInput $configs) : self - { - $this->configs = $configs; - return $this; - } -} \ No newline at end of file diff --git a/src/Model/SecretConfigMapInputJsonld.php b/src/Model/SecretConfigMapInputJsonld.php deleted file mode 100644 index f26d9e71..00000000 --- a/src/Model/SecretConfigMapInputJsonld.php +++ /dev/null @@ -1,169 +0,0 @@ -context; - } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self - { - $this->context = $context; - return $this; - } - /** - * - * - * @return string - */ - public function getId() : string - { - return $this->id; - } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self - { - $this->id = $id; - return $this; - } - /** - * - * - * @return string - */ - public function getType() : string - { - return $this->type; - } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self - { - $this->type = $type; - return $this; - } - /** - * - * - * @return string - */ - public function getName() : string - { - return $this->name; - } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self - { - $this->name = $name; - return $this; - } - /** - * - * - * @return string - */ - public function getDescription() : string - { - return $this->description; - } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self - { - $this->description = $description; - return $this; - } - /** - * - * - * @return ConfigMapValueInputJsonld - */ - public function getConfigs() : ConfigMapValueInputJsonld - { - return $this->configs; - } - /** - * - * - * @param ConfigMapValueInputJsonld $configs - * - * @return self - */ - public function setConfigs(ConfigMapValueInputJsonld $configs) : self - { - $this->configs = $configs; - return $this; - } -} \ No newline at end of file diff --git a/src/Model/SecretInput.php b/src/Model/SecretInput.php new file mode 100644 index 00000000..a9f9d0fb --- /dev/null +++ b/src/Model/SecretInput.php @@ -0,0 +1,61 @@ +name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + /** + * @return string[] + */ + public function getContents(): iterable + { + return $this->contents; + } + + /** + * @param string[] $contents + */ + public function setContents(iterable $contents): self + { + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretInputJsonld.php b/src/Model/SecretInputJsonld.php new file mode 100644 index 00000000..ae66fd6e --- /dev/null +++ b/src/Model/SecretInputJsonld.php @@ -0,0 +1,115 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getName(): string + { + return $this->name; + } + + public function setName(string $name): self + { + $this->name = $name; + + return $this; + } + + public function getDescription(): string + { + return $this->description; + } + + public function setDescription(string $description): self + { + $this->description = $description; + + return $this; + } + + /** + * @return string[] + */ + public function getContents(): iterable + { + return $this->contents; + } + + /** + * @param string[] $contents + */ + public function setContents(iterable $contents): self + { + $this->contents = $contents; + + return $this; + } +} diff --git a/src/Model/SecretJsonld.php b/src/Model/SecretJsonld.php index cb36bed1..b13619f6 100644 --- a/src/Model/SecretJsonld.php +++ b/src/Model/SecretJsonld.php @@ -5,246 +5,153 @@ class SecretJsonld { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $name; /** - * - * * @var string */ protected $description; /** - * - * * @var string */ protected $organization; /** - * - * - * @var string + * @var string|null */ protected $workspace; /** - * - * * @var TraversableJsonld */ protected $iterator; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(string $description): self { $this->description = $description; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getWorkspace() : string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string $workspace - * - * @return self - */ - public function setWorkspace(string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return TraversableJsonld - */ - public function getIterator() : TraversableJsonld + + public function getIterator(): TraversableJsonld { return $this->iterator; } - /** - * - * - * @param TraversableJsonld $iterator - * - * @return self - */ - public function setIterator(TraversableJsonld $iterator) : self + + public function setIterator(TraversableJsonld $iterator): self { $this->iterator = $iterator; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/SecretSecretInput.php b/src/Model/SecretSecretInput.php index 8c30f5ba..bef0fb6f 100644 --- a/src/Model/SecretSecretInput.php +++ b/src/Model/SecretSecretInput.php @@ -5,84 +5,57 @@ class SecretSecretInput { /** - * - * * @var string */ protected $name; /** - * - * * @var string */ protected $description; /** - * - * - * @var SecretValueInput + * @var string[] */ - protected $secrets; - /** - * - * - * @return string - */ - public function getName() : string + protected $contents; + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(string $description): self { $this->description = $description; + return $this; } + /** - * - * - * @return SecretValueInput + * @return string[] */ - public function getSecrets() : SecretValueInput + public function getContents(): iterable { - return $this->secrets; + return $this->contents; } + /** - * - * - * @param SecretValueInput $secrets - * - * @return self + * @param string[] $contents */ - public function setSecrets(SecretValueInput $secrets) : self + public function setContents(iterable $contents): self { - $this->secrets = $secrets; + $this->contents = $contents; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/SecretSecretInputJsonld.php b/src/Model/SecretSecretInputJsonld.php index d7a7833c..56e12e8b 100644 --- a/src/Model/SecretSecretInputJsonld.php +++ b/src/Model/SecretSecretInputJsonld.php @@ -5,165 +5,111 @@ class SecretSecretInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $name; /** - * - * * @var string */ protected $description; /** - * - * - * @var SecretValueInputJsonld + * @var string[] */ - protected $secrets; + protected $contents; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string - */ - public function getDescription() : string + + public function getDescription(): string { return $this->description; } - /** - * - * - * @param string $description - * - * @return self - */ - public function setDescription(string $description) : self + + public function setDescription(string $description): self { $this->description = $description; + return $this; } + /** - * - * - * @return SecretValueInputJsonld + * @return string[] */ - public function getSecrets() : SecretValueInputJsonld + public function getContents(): iterable { - return $this->secrets; + return $this->contents; } + /** - * - * - * @param SecretValueInputJsonld $secrets - * - * @return self + * @param string[] $contents */ - public function setSecrets(SecretValueInputJsonld $secrets) : self + public function setContents(iterable $contents): self { - $this->secrets = $secrets; + $this->contents = $contents; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/SecretValueInput.php b/src/Model/SecretValueInput.php deleted file mode 100644 index f8c5fbb2..00000000 --- a/src/Model/SecretValueInput.php +++ /dev/null @@ -1,115 +0,0 @@ -arrayCopy; - } - /** - * - * - * @param mixed $arrayCopy - * - * @return self - */ - public function setArrayCopy($arrayCopy) : self - { - $this->arrayCopy = $arrayCopy; - return $this; - } - /** - * - * - * @return int - */ - public function getFlags() : int - { - return $this->flags; - } - /** - * - * - * @param int $flags - * - * @return self - */ - public function setFlags(int $flags) : self - { - $this->flags = $flags; - return $this; - } - /** - * - * - * @return mixed - */ - public function getIterator() - { - return $this->iterator; - } - /** - * - * - * @param mixed $iterator - * - * @return self - */ - public function setIterator($iterator) : self - { - $this->iterator = $iterator; - return $this; - } - /** - * - * - * @return string - */ - public function getIteratorClass() : string - { - return $this->iteratorClass; - } - /** - * - * - * @param string $iteratorClass - * - * @return self - */ - public function setIteratorClass(string $iteratorClass) : self - { - $this->iteratorClass = $iteratorClass; - return $this; - } -} \ No newline at end of file diff --git a/src/Model/SecretValueInputJsonld.php b/src/Model/SecretValueInputJsonld.php deleted file mode 100644 index dbe2f847..00000000 --- a/src/Model/SecretValueInputJsonld.php +++ /dev/null @@ -1,196 +0,0 @@ -context; - } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self - { - $this->context = $context; - return $this; - } - /** - * - * - * @return string - */ - public function getId() : string - { - return $this->id; - } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self - { - $this->id = $id; - return $this; - } - /** - * - * - * @return string - */ - public function getType() : string - { - return $this->type; - } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self - { - $this->type = $type; - return $this; - } - /** - * - * - * @return mixed - */ - public function getArrayCopy() - { - return $this->arrayCopy; - } - /** - * - * - * @param mixed $arrayCopy - * - * @return self - */ - public function setArrayCopy($arrayCopy) : self - { - $this->arrayCopy = $arrayCopy; - return $this; - } - /** - * - * - * @return int - */ - public function getFlags() : int - { - return $this->flags; - } - /** - * - * - * @param int $flags - * - * @return self - */ - public function setFlags(int $flags) : self - { - $this->flags = $flags; - return $this; - } - /** - * - * - * @return mixed - */ - public function getIterator() - { - return $this->iterator; - } - /** - * - * - * @param mixed $iterator - * - * @return self - */ - public function setIterator($iterator) : self - { - $this->iterator = $iterator; - return $this; - } - /** - * - * - * @return string - */ - public function getIteratorClass() : string - { - return $this->iteratorClass; - } - /** - * - * - * @param string $iteratorClass - * - * @return self - */ - public function setIteratorClass(string $iteratorClass) : self - { - $this->iteratorClass = $iteratorClass; - return $this; - } -} \ No newline at end of file diff --git a/src/Model/StepInput.php b/src/Model/StepInput.php index 07f7c581..452e411a 100644 --- a/src/Model/StepInput.php +++ b/src/Model/StepInput.php @@ -5,111 +5,79 @@ class StepInput { /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[][] */ protected $config; /** - * - * * @var Probe[] */ protected $probes; - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[][] */ - public function getConfig() : iterable + public function getConfig(): iterable { return $this->config; } + /** - * - * * @param string[][] $config - * - * @return self */ - public function setConfig(iterable $config) : self + public function setConfig(iterable $config): self { $this->config = $config; + return $this; } + /** - * - * * @return Probe[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param Probe[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/StepInputJsonld.php b/src/Model/StepInputJsonld.php index 573c0219..0299c361 100644 --- a/src/Model/StepInputJsonld.php +++ b/src/Model/StepInputJsonld.php @@ -5,192 +5,133 @@ class StepInputJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string[][] */ protected $config; /** - * - * * @var ProbeJsonld[] */ protected $probes; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return string[][] */ - public function getConfig() : iterable + public function getConfig(): iterable { return $this->config; } + /** - * - * * @param string[][] $config - * - * @return self */ - public function setConfig(iterable $config) : self + public function setConfig(iterable $config): self { $this->config = $config; + return $this; } + /** - * - * * @return ProbeJsonld[] */ - public function getProbes() : array + public function getProbes(): array { return $this->probes; } + /** - * - * * @param ProbeJsonld[] $probes - * - * @return self */ - public function setProbes(array $probes) : self + public function setProbes(array $probes): self { $this->probes = $probes; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php new file mode 100644 index 00000000..5f9255ae --- /dev/null +++ b/src/Model/Subscription.php @@ -0,0 +1,115 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getOrganization(): string + { + return $this->organization; + } + + public function setOrganization(string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getOffer(): ?string + { + return $this->offer; + } + + public function setOffer(?string $offer): self + { + $this->offer = $offer; + + return $this; + } + + /** + * @return string[] + */ + public function getOptions(): array + { + return $this->options; + } + + /** + * @param string[] $options + */ + public function setOptions(array $options): self + { + $this->options = $options; + + return $this; + } + + public function getCost(): Price + { + return $this->cost; + } + + public function setCost(Price $cost): self + { + $this->cost = $cost; + + return $this; + } + + /** + * @return string[] + */ + public function getPeriods(): iterable + { + return $this->periods; + } + + /** + * @param string[] $periods + */ + public function setPeriods(iterable $periods): self + { + $this->periods = $periods; + + return $this; + } +} diff --git a/src/Model/SubscriptionJsonld.php b/src/Model/SubscriptionJsonld.php new file mode 100644 index 00000000..eef174f3 --- /dev/null +++ b/src/Model/SubscriptionJsonld.php @@ -0,0 +1,169 @@ +context; + } + + /** + * @param mixed $context + */ + public function setContext($context): self + { + $this->context = $context; + + return $this; + } + + public function getId(): string + { + return $this->id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getId2(): string + { + return $this->id2; + } + + public function setId2(string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getOrganization(): string + { + return $this->organization; + } + + public function setOrganization(string $organization): self + { + $this->organization = $organization; + + return $this; + } + + public function getOffer(): ?string + { + return $this->offer; + } + + public function setOffer(?string $offer): self + { + $this->offer = $offer; + + return $this; + } + + /** + * @return string[] + */ + public function getOptions(): array + { + return $this->options; + } + + /** + * @param string[] $options + */ + public function setOptions(array $options): self + { + $this->options = $options; + + return $this; + } + + public function getCost(): PriceJsonld + { + return $this->cost; + } + + public function setCost(PriceJsonld $cost): self + { + $this->cost = $cost; + + return $this; + } + + /** + * @return string[] + */ + public function getPeriods(): iterable + { + return $this->periods; + } + + /** + * @param string[] $periods + */ + public function setPeriods(iterable $periods): self + { + $this->periods = $periods; + + return $this; + } +} diff --git a/src/Model/SubscriptionOption.php b/src/Model/SubscriptionOption.php new file mode 100644 index 00000000..4176c80b --- /dev/null +++ b/src/Model/SubscriptionOption.php @@ -0,0 +1,71 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getSubscription(): ?string + { + return $this->subscription; + } + + public function setSubscription(?string $subscription): self + { + $this->subscription = $subscription; + + return $this; + } + + public function getOption(): ?string + { + return $this->option; + } + + public function setOption(?string $option): self + { + $this->option = $option; + + return $this; + } + + public function getPrice(): Price + { + return $this->price; + } + + public function setPrice(Price $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/SubscriptionOptionJsonld.php b/src/Model/SubscriptionOptionJsonld.php new file mode 100644 index 00000000..aafb4b18 --- /dev/null +++ b/src/Model/SubscriptionOptionJsonld.php @@ -0,0 +1,103 @@ +id; + } + + public function setId(string $id): self + { + $this->id = $id; + + return $this; + } + + public function getType(): string + { + return $this->type; + } + + public function setType(string $type): self + { + $this->type = $type; + + return $this; + } + + public function getId2(): string + { + return $this->id2; + } + + public function setId2(string $id2): self + { + $this->id2 = $id2; + + return $this; + } + + public function getSubscription(): ?string + { + return $this->subscription; + } + + public function setSubscription(?string $subscription): self + { + $this->subscription = $subscription; + + return $this; + } + + public function getOption(): ?string + { + return $this->option; + } + + public function setOption(?string $option): self + { + $this->option = $option; + + return $this; + } + + public function getPrice(): PriceJsonld + { + return $this->price; + } + + public function setPrice(PriceJsonld $price): self + { + $this->price = $price; + + return $this; + } +} diff --git a/src/Model/Token.php b/src/Model/Token.php index 9771a16d..cf0f8791 100644 --- a/src/Model/Token.php +++ b/src/Model/Token.php @@ -5,30 +5,19 @@ class Token { /** - * - * * @var string */ protected $token; - /** - * - * - * @return string - */ - public function getToken() : string + + public function getToken(): string { return $this->token; } - /** - * - * - * @param string $token - * - * @return self - */ - public function setToken(string $token) : self + + public function setToken(string $token): self { $this->token = $token; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/TraversableJsonld.php b/src/Model/TraversableJsonld.php index ea58e0c3..da84b503 100644 --- a/src/Model/TraversableJsonld.php +++ b/src/Model/TraversableJsonld.php @@ -5,84 +5,57 @@ class TraversableJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UpdateList.php b/src/Model/UpdateList.php index 3b1c6774..cb3e495f 100644 --- a/src/Model/UpdateList.php +++ b/src/Model/UpdateList.php @@ -5,30 +5,25 @@ class UpdateList { /** - * - * * @var mixed */ protected $iterator; + /** - * - * * @return mixed */ public function getIterator() { return $this->iterator; } + /** - * - * * @param mixed $iterator - * - * @return self */ - public function setIterator($iterator) : self + public function setIterator($iterator): self { $this->iterator = $iterator; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UpdateListJsonld.php b/src/Model/UpdateListJsonld.php index 71d5ff43..a9bdd2f5 100644 --- a/src/Model/UpdateListJsonld.php +++ b/src/Model/UpdateListJsonld.php @@ -5,111 +5,73 @@ class UpdateListJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var TraversableJsonld */ protected $iterator; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return TraversableJsonld - */ - public function getIterator() : TraversableJsonld + + public function getIterator(): TraversableJsonld { return $this->iterator; } - /** - * - * - * @param TraversableJsonld $iterator - * - * @return self - */ - public function setIterator(TraversableJsonld $iterator) : self + + public function setIterator(TraversableJsonld $iterator): self { $this->iterator = $iterator; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/User.php b/src/Model/User.php index cd7ad07e..0ea8523e 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -5,489 +5,333 @@ class User { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ protected $username; /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $password; /** - * - * * @var bool */ protected $enabled; /** - * - * - * @var string[] + * @var string[][] */ protected $roles; /** - * - * * @var string[] */ protected $authorizations; /** - * - * * @var string */ protected $organization; /** - * - * * @var string[] */ protected $additionalOrganizations; /** - * - * * @var string[] */ protected $workspaces; /** - * - * * @var string|null */ protected $currentWorkspace; /** - * - * * @var string[] */ protected $referralCodes; /** - * - * * @var string[] */ protected $acceptedReferralRequests; /** - * - * * @var string */ protected $userIdentifier; /** - * - * * @var string */ protected $salt; /** - * - * * @var string[] */ protected $workspace; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUsername() : string + + public function getUsername(): string { return $this->username; } - /** - * - * - * @param string $username - * - * @return self - */ - public function setUsername(string $username) : self + + public function setUsername(string $username): self { $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getPassword() : string + + public function getPassword(): string { return $this->password; } - /** - * - * - * @param string $password - * - * @return self - */ - public function setPassword(string $password) : self + + public function setPassword(string $password): self { $this->password = $password; + return $this; } - /** - * - * - * @return bool - */ - public function getEnabled() : bool + + public function getEnabled(): bool { return $this->enabled; } - /** - * - * - * @param bool $enabled - * - * @return self - */ - public function setEnabled(bool $enabled) : self + + public function setEnabled(bool $enabled): self { $this->enabled = $enabled; + return $this; } + /** - * - * - * @return string[] + * @return string[][] */ - public function getRoles() : array + public function getRoles(): array { return $this->roles; } + /** - * - * - * @param string[] $roles - * - * @return self + * @param string[][] $roles */ - public function setRoles(array $roles) : self + public function setRoles(array $roles): self { $this->roles = $roles; + return $this; } + /** - * - * * @return string[] */ - public function getAuthorizations() : array + public function getAuthorizations(): array { return $this->authorizations; } + /** - * - * * @param string[] $authorizations - * - * @return self */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(array $authorizations): self { $this->authorizations = $authorizations; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * * @return string[] */ - public function getAdditionalOrganizations() : array + public function getAdditionalOrganizations(): array { return $this->additionalOrganizations; } + /** - * - * * @param string[] $additionalOrganizations - * - * @return self */ - public function setAdditionalOrganizations(array $additionalOrganizations) : self + public function setAdditionalOrganizations(array $additionalOrganizations): self { $this->additionalOrganizations = $additionalOrganizations; + return $this; } + /** - * - * * @return string[] */ - public function getWorkspaces() : array + public function getWorkspaces(): array { return $this->workspaces; } + /** - * - * * @param string[] $workspaces - * - * @return self */ - public function setWorkspaces(array $workspaces) : self + public function setWorkspaces(array $workspaces): self { $this->workspaces = $workspaces; + return $this; } - /** - * - * - * @return string|null - */ - public function getCurrentWorkspace() : ?string + + public function getCurrentWorkspace(): ?string { return $this->currentWorkspace; } - /** - * - * - * @param string|null $currentWorkspace - * - * @return self - */ - public function setCurrentWorkspace(?string $currentWorkspace) : self + + public function setCurrentWorkspace(?string $currentWorkspace): self { $this->currentWorkspace = $currentWorkspace; + return $this; } + /** - * - * * @return string[] */ - public function getReferralCodes() : array + public function getReferralCodes(): array { return $this->referralCodes; } + /** - * - * * @param string[] $referralCodes - * - * @return self */ - public function setReferralCodes(array $referralCodes) : self + public function setReferralCodes(array $referralCodes): self { $this->referralCodes = $referralCodes; + return $this; } + /** - * - * * @return string[] */ - public function getAcceptedReferralRequests() : array + public function getAcceptedReferralRequests(): array { return $this->acceptedReferralRequests; } + /** - * - * * @param string[] $acceptedReferralRequests - * - * @return self */ - public function setAcceptedReferralRequests(array $acceptedReferralRequests) : self + public function setAcceptedReferralRequests(array $acceptedReferralRequests): self { $this->acceptedReferralRequests = $acceptedReferralRequests; + return $this; } - /** - * - * - * @return string - */ - public function getUserIdentifier() : string + + public function getUserIdentifier(): string { return $this->userIdentifier; } - /** - * - * - * @param string $userIdentifier - * - * @return self - */ - public function setUserIdentifier(string $userIdentifier) : self + + public function setUserIdentifier(string $userIdentifier): self { $this->userIdentifier = $userIdentifier; + return $this; } - /** - * - * - * @return string - */ - public function getSalt() : string + + public function getSalt(): string { return $this->salt; } - /** - * - * - * @param string $salt - * - * @return self - */ - public function setSalt(string $salt) : self + + public function setSalt(string $salt): self { $this->salt = $salt; + return $this; } + /** - * - * * @return string[] */ - public function getWorkspace() : array + public function getWorkspace(): array { return $this->workspace; } + /** - * - * * @param string[] $workspace - * - * @return self */ - public function setWorkspace(array $workspace) : self + public function setWorkspace(array $workspace): self { $this->workspace = $workspace; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserAuthorization.php b/src/Model/UserAuthorization.php index 225946c8..ee7499cf 100644 --- a/src/Model/UserAuthorization.php +++ b/src/Model/UserAuthorization.php @@ -5,165 +5,105 @@ class UserAuthorization { /** - * - * * @var string */ protected $id; /** - * - * * @var string|null */ protected $user; /** - * - * * @var string|null */ protected $workspace; /** - * - * * @var string|null */ protected $organization; /** - * - * * @var string */ protected $resource; /** - * - * * @var string[] */ protected $authorizations; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkspace() : ?string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string|null $workspace - * - * @return self - */ - public function setWorkspace(?string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getResource() : string + + public function getResource(): string { return $this->resource; } - /** - * - * - * @param string $resource - * - * @return self - */ - public function setResource(string $resource) : self + + public function setResource(string $resource): self { $this->resource = $resource; + return $this; } + /** - * - * * @return string[] */ - public function getAuthorizations() : array + public function getAuthorizations(): array { return $this->authorizations; } + /** - * - * * @param string[] $authorizations - * - * @return self */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(array $authorizations): self { $this->authorizations = $authorizations; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserAuthorizationJsonld.php b/src/Model/UserAuthorizationJsonld.php index b90a3e4f..8b65db3c 100644 --- a/src/Model/UserAuthorizationJsonld.php +++ b/src/Model/UserAuthorizationJsonld.php @@ -5,246 +5,159 @@ class UserAuthorizationJsonld { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id2; /** - * - * * @var string|null */ protected $user; /** - * - * * @var string|null */ protected $workspace; /** - * - * * @var string|null */ protected $organization; /** - * - * * @var string */ protected $resource; /** - * - * * @var string[] */ protected $authorizations; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getUser() : ?string + + public function getUser(): ?string { return $this->user; } - /** - * - * - * @param string|null $user - * - * @return self - */ - public function setUser(?string $user) : self + + public function setUser(?string $user): self { $this->user = $user; + return $this; } - /** - * - * - * @return string|null - */ - public function getWorkspace() : ?string + + public function getWorkspace(): ?string { return $this->workspace; } - /** - * - * - * @param string|null $workspace - * - * @return self - */ - public function setWorkspace(?string $workspace) : self + + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } - /** - * - * - * @return string - */ - public function getResource() : string + + public function getResource(): string { return $this->resource; } - /** - * - * - * @param string $resource - * - * @return self - */ - public function setResource(string $resource) : self + + public function setResource(string $resource): self { $this->resource = $resource; + return $this; } + /** - * - * * @return string[] */ - public function getAuthorizations() : array + public function getAuthorizations(): array { return $this->authorizations; } + /** - * - * * @param string[] $authorizations - * - * @return self */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(array $authorizations): self { $this->authorizations = $authorizations; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserIdJsonld.php b/src/Model/UserIdJsonld.php index 00c63c58..cd8b15ff 100644 --- a/src/Model/UserIdJsonld.php +++ b/src/Model/UserIdJsonld.php @@ -5,84 +5,57 @@ class UserIdJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserJsonld.php b/src/Model/UserJsonld.php index 0100ff32..5954ac26 100644 --- a/src/Model/UserJsonld.php +++ b/src/Model/UserJsonld.php @@ -5,570 +5,387 @@ class UserJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $firstName; /** - * - * * @var string */ protected $lastName; /** - * - * * @var string */ protected $username; /** - * - * * @var string */ protected $email; /** - * - * * @var string */ protected $password; /** - * - * * @var bool */ protected $enabled; /** - * - * - * @var string[] + * @var string[][] */ protected $roles; /** - * - * * @var string[] */ protected $authorizations; /** - * - * * @var string */ protected $organization; /** - * - * * @var string[] */ protected $additionalOrganizations; /** - * - * * @var string[] */ protected $workspaces; /** - * - * * @var string|null */ protected $currentWorkspace; /** - * - * * @var string[] */ protected $referralCodes; /** - * - * * @var string[] */ protected $acceptedReferralRequests; /** - * - * * @var string */ protected $userIdentifier; /** - * - * * @var string */ protected $salt; /** - * - * * @var string[] */ protected $workspace; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getFirstName() : string + + public function getFirstName(): string { return $this->firstName; } - /** - * - * - * @param string $firstName - * - * @return self - */ - public function setFirstName(string $firstName) : self + + public function setFirstName(string $firstName): self { $this->firstName = $firstName; + return $this; } - /** - * - * - * @return string - */ - public function getLastName() : string + + public function getLastName(): string { return $this->lastName; } - /** - * - * - * @param string $lastName - * - * @return self - */ - public function setLastName(string $lastName) : self + + public function setLastName(string $lastName): self { $this->lastName = $lastName; + return $this; } - /** - * - * - * @return string - */ - public function getUsername() : string + + public function getUsername(): string { return $this->username; } - /** - * - * - * @param string $username - * - * @return self - */ - public function setUsername(string $username) : self + + public function setUsername(string $username): self { $this->username = $username; + return $this; } - /** - * - * - * @return string - */ - public function getEmail() : string + + public function getEmail(): string { return $this->email; } - /** - * - * - * @param string $email - * - * @return self - */ - public function setEmail(string $email) : self + + public function setEmail(string $email): self { $this->email = $email; + return $this; } - /** - * - * - * @return string - */ - public function getPassword() : string + + public function getPassword(): string { return $this->password; } - /** - * - * - * @param string $password - * - * @return self - */ - public function setPassword(string $password) : self + + public function setPassword(string $password): self { $this->password = $password; + return $this; } - /** - * - * - * @return bool - */ - public function getEnabled() : bool + + public function getEnabled(): bool { return $this->enabled; } - /** - * - * - * @param bool $enabled - * - * @return self - */ - public function setEnabled(bool $enabled) : self + + public function setEnabled(bool $enabled): self { $this->enabled = $enabled; + return $this; } + /** - * - * - * @return string[] + * @return string[][] */ - public function getRoles() : array + public function getRoles(): array { return $this->roles; } + /** - * - * - * @param string[] $roles - * - * @return self + * @param string[][] $roles */ - public function setRoles(array $roles) : self + public function setRoles(array $roles): self { $this->roles = $roles; + return $this; } + /** - * - * * @return string[] */ - public function getAuthorizations() : array + public function getAuthorizations(): array { return $this->authorizations; } + /** - * - * * @param string[] $authorizations - * - * @return self */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(array $authorizations): self { $this->authorizations = $authorizations; + return $this; } - /** - * - * - * @return string - */ - public function getOrganization() : string + + public function getOrganization(): string { return $this->organization; } - /** - * - * - * @param string $organization - * - * @return self - */ - public function setOrganization(string $organization) : self + + public function setOrganization(string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * * @return string[] */ - public function getAdditionalOrganizations() : array + public function getAdditionalOrganizations(): array { return $this->additionalOrganizations; } + /** - * - * * @param string[] $additionalOrganizations - * - * @return self */ - public function setAdditionalOrganizations(array $additionalOrganizations) : self + public function setAdditionalOrganizations(array $additionalOrganizations): self { $this->additionalOrganizations = $additionalOrganizations; + return $this; } + /** - * - * * @return string[] */ - public function getWorkspaces() : array + public function getWorkspaces(): array { return $this->workspaces; } + /** - * - * * @param string[] $workspaces - * - * @return self */ - public function setWorkspaces(array $workspaces) : self + public function setWorkspaces(array $workspaces): self { $this->workspaces = $workspaces; + return $this; } - /** - * - * - * @return string|null - */ - public function getCurrentWorkspace() : ?string + + public function getCurrentWorkspace(): ?string { return $this->currentWorkspace; } - /** - * - * - * @param string|null $currentWorkspace - * - * @return self - */ - public function setCurrentWorkspace(?string $currentWorkspace) : self + + public function setCurrentWorkspace(?string $currentWorkspace): self { $this->currentWorkspace = $currentWorkspace; + return $this; } + /** - * - * * @return string[] */ - public function getReferralCodes() : array + public function getReferralCodes(): array { return $this->referralCodes; } + /** - * - * * @param string[] $referralCodes - * - * @return self */ - public function setReferralCodes(array $referralCodes) : self + public function setReferralCodes(array $referralCodes): self { $this->referralCodes = $referralCodes; + return $this; } + /** - * - * * @return string[] */ - public function getAcceptedReferralRequests() : array + public function getAcceptedReferralRequests(): array { return $this->acceptedReferralRequests; } + /** - * - * * @param string[] $acceptedReferralRequests - * - * @return self */ - public function setAcceptedReferralRequests(array $acceptedReferralRequests) : self + public function setAcceptedReferralRequests(array $acceptedReferralRequests): self { $this->acceptedReferralRequests = $acceptedReferralRequests; + return $this; } - /** - * - * - * @return string - */ - public function getUserIdentifier() : string + + public function getUserIdentifier(): string { return $this->userIdentifier; } - /** - * - * - * @param string $userIdentifier - * - * @return self - */ - public function setUserIdentifier(string $userIdentifier) : self + + public function setUserIdentifier(string $userIdentifier): self { $this->userIdentifier = $userIdentifier; + return $this; } - /** - * - * - * @return string - */ - public function getSalt() : string + + public function getSalt(): string { return $this->salt; } - /** - * - * - * @param string $salt - * - * @return self - */ - public function setSalt(string $salt) : self + + public function setSalt(string $salt): self { $this->salt = $salt; + return $this; } + /** - * - * * @return string[] */ - public function getWorkspace() : array + public function getWorkspace(): array { return $this->workspace; } + /** - * - * * @param string[] $workspace - * - * @return self */ - public function setWorkspace(array $workspace) : self + public function setWorkspace(array $workspace): self { $this->workspace = $workspace; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/UserUserChangePasswordInput.php b/src/Model/UserUserChangePasswordInput.php index d3a43351..5eb2482e 100644 --- a/src/Model/UserUserChangePasswordInput.php +++ b/src/Model/UserUserChangePasswordInput.php @@ -5,84 +5,51 @@ class UserUserChangePasswordInput { /** - * - * * @var string */ protected $currentPassword; /** - * - * * @var string */ protected $newPassword; /** - * - * * @var string */ protected $confirmPassword; - /** - * - * - * @return string - */ - public function getCurrentPassword() : string + + public function getCurrentPassword(): string { return $this->currentPassword; } - /** - * - * - * @param string $currentPassword - * - * @return self - */ - public function setCurrentPassword(string $currentPassword) : self + + public function setCurrentPassword(string $currentPassword): self { $this->currentPassword = $currentPassword; + return $this; } - /** - * - * - * @return string - */ - public function getNewPassword() : string + + public function getNewPassword(): string { return $this->newPassword; } - /** - * - * - * @param string $newPassword - * - * @return self - */ - public function setNewPassword(string $newPassword) : self + + public function setNewPassword(string $newPassword): self { $this->newPassword = $newPassword; + return $this; } - /** - * - * - * @return string - */ - public function getConfirmPassword() : string + + public function getConfirmPassword(): string { return $this->confirmPassword; } - /** - * - * - * @param string $confirmPassword - * - * @return self - */ - public function setConfirmPassword(string $confirmPassword) : self + + public function setConfirmPassword(string $confirmPassword): self { $this->confirmPassword = $confirmPassword; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Variable.php b/src/Model/Variable.php index 15c62c99..77547f84 100644 --- a/src/Model/Variable.php +++ b/src/Model/Variable.php @@ -5,84 +5,51 @@ class Variable { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $environment; /** - * - * * @var string */ protected $name; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getEnvironment() : string + + public function getEnvironment(): string { return $this->environment; } - /** - * - * - * @param string $environment - * - * @return self - */ - public function setEnvironment(string $environment) : self + + public function setEnvironment(string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableFromConfigMap.php b/src/Model/VariableFromConfigMap.php index a8e593d9..0cf70b38 100644 --- a/src/Model/VariableFromConfigMap.php +++ b/src/Model/VariableFromConfigMap.php @@ -5,138 +5,83 @@ class VariableFromConfigMap { /** - * - * * @var string|null */ protected $configMap; /** - * - * * @var string */ protected $item; /** - * - * * @var string */ protected $id; /** - * - * * @var string|null */ protected $environment; /** - * - * * @var string */ protected $name; - /** - * - * - * @return string|null - */ - public function getConfigMap() : ?string + + public function getConfigMap(): ?string { return $this->configMap; } - /** - * - * - * @param string|null $configMap - * - * @return self - */ - public function setConfigMap(?string $configMap) : self + + public function setConfigMap(?string $configMap): self { $this->configMap = $configMap; + return $this; } - /** - * - * - * @return string - */ - public function getItem() : string + + public function getItem(): string { return $this->item; } - /** - * - * - * @param string $item - * - * @return self - */ - public function setItem(string $item) : self + + public function setItem(string $item): self { $this->item = $item; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getEnvironment() : ?string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string|null $environment - * - * @return self - */ - public function setEnvironment(?string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableFromConfigMapJsonld.php b/src/Model/VariableFromConfigMapJsonld.php index 4e87fcb8..28f8bd85 100644 --- a/src/Model/VariableFromConfigMapJsonld.php +++ b/src/Model/VariableFromConfigMapJsonld.php @@ -5,219 +5,137 @@ class VariableFromConfigMapJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string|null */ protected $configMap; /** - * - * * @var string */ protected $item; /** - * - * * @var string */ protected $id2; /** - * - * * @var string|null */ protected $environment; /** - * - * * @var string */ protected $name; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getConfigMap() : ?string + + public function getConfigMap(): ?string { return $this->configMap; } - /** - * - * - * @param string|null $configMap - * - * @return self - */ - public function setConfigMap(?string $configMap) : self + + public function setConfigMap(?string $configMap): self { $this->configMap = $configMap; + return $this; } - /** - * - * - * @return string - */ - public function getItem() : string + + public function getItem(): string { return $this->item; } - /** - * - * - * @param string $item - * - * @return self - */ - public function setItem(string $item) : self + + public function setItem(string $item): self { $this->item = $item; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getEnvironment() : ?string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string|null $environment - * - * @return self - */ - public function setEnvironment(?string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableFromSecret.php b/src/Model/VariableFromSecret.php index e35e7b3b..43dfc4d5 100644 --- a/src/Model/VariableFromSecret.php +++ b/src/Model/VariableFromSecret.php @@ -5,138 +5,83 @@ class VariableFromSecret { /** - * - * * @var string|null */ protected $secret; /** - * - * * @var string */ protected $item; /** - * - * * @var string */ protected $id; /** - * - * * @var string|null */ protected $environment; /** - * - * * @var string */ protected $name; - /** - * - * - * @return string|null - */ - public function getSecret() : ?string + + public function getSecret(): ?string { return $this->secret; } - /** - * - * - * @param string|null $secret - * - * @return self - */ - public function setSecret(?string $secret) : self + + public function setSecret(?string $secret): self { $this->secret = $secret; + return $this; } - /** - * - * - * @return string - */ - public function getItem() : string + + public function getItem(): string { return $this->item; } - /** - * - * - * @param string $item - * - * @return self - */ - public function setItem(string $item) : self + + public function setItem(string $item): self { $this->item = $item; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string|null - */ - public function getEnvironment() : ?string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string|null $environment - * - * @return self - */ - public function setEnvironment(?string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableFromSecretJsonld.php b/src/Model/VariableFromSecretJsonld.php index 4c714b90..c62ccbcc 100644 --- a/src/Model/VariableFromSecretJsonld.php +++ b/src/Model/VariableFromSecretJsonld.php @@ -5,219 +5,137 @@ class VariableFromSecretJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string|null */ protected $secret; /** - * - * * @var string */ protected $item; /** - * - * * @var string */ protected $id2; /** - * - * * @var string|null */ protected $environment; /** - * - * * @var string */ protected $name; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getSecret() : ?string + + public function getSecret(): ?string { return $this->secret; } - /** - * - * - * @param string|null $secret - * - * @return self - */ - public function setSecret(?string $secret) : self + + public function setSecret(?string $secret): self { $this->secret = $secret; + return $this; } - /** - * - * - * @return string - */ - public function getItem() : string + + public function getItem(): string { return $this->item; } - /** - * - * - * @param string $item - * - * @return self - */ - public function setItem(string $item) : self + + public function setItem(string $item): self { $this->item = $item; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string|null - */ - public function getEnvironment() : ?string + + public function getEnvironment(): ?string { return $this->environment; } - /** - * - * - * @param string|null $environment - * - * @return self - */ - public function setEnvironment(?string $environment) : self + + public function setEnvironment(?string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/VariableJsonld.php b/src/Model/VariableJsonld.php index df4f3d2e..46bbd72e 100644 --- a/src/Model/VariableJsonld.php +++ b/src/Model/VariableJsonld.php @@ -5,165 +5,105 @@ class VariableJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $environment; /** - * - * * @var string */ protected $name; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getEnvironment() : string + + public function getEnvironment(): string { return $this->environment; } - /** - * - * - * @param string $environment - * - * @return self - */ - public function setEnvironment(string $environment) : self + + public function setEnvironment(string $environment): self { $this->environment = $environment; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobAction.php b/src/Model/WorkflowJobAction.php index 549c1a9d..4620fc80 100644 --- a/src/Model/WorkflowJobAction.php +++ b/src/Model/WorkflowJobAction.php @@ -5,57 +5,35 @@ class WorkflowJobAction { /** - * - * * @var string|null */ protected $job; /** - * - * * @var string */ protected $id; - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobActionJsonld.php b/src/Model/WorkflowJobActionJsonld.php index c3e49cec..5e380074 100644 --- a/src/Model/WorkflowJobActionJsonld.php +++ b/src/Model/WorkflowJobActionJsonld.php @@ -5,138 +5,89 @@ class WorkflowJobActionJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string|null */ protected $job; /** - * - * * @var string */ protected $id2; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobActionJsonldRead.php b/src/Model/WorkflowJobActionJsonldRead.php index 3930e207..24517640 100644 --- a/src/Model/WorkflowJobActionJsonldRead.php +++ b/src/Model/WorkflowJobActionJsonldRead.php @@ -5,111 +5,73 @@ class WorkflowJobActionJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobActionRead.php b/src/Model/WorkflowJobActionRead.php index a7af0310..34859220 100644 --- a/src/Model/WorkflowJobActionRead.php +++ b/src/Model/WorkflowJobActionRead.php @@ -5,30 +5,19 @@ class WorkflowJobActionRead { /** - * - * * @var string */ protected $id; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobJsonldRead.php b/src/Model/WorkflowJobJsonldRead.php index 0ce3d132..e943a3d6 100644 --- a/src/Model/WorkflowJobJsonldRead.php +++ b/src/Model/WorkflowJobJsonldRead.php @@ -5,165 +5,123 @@ class WorkflowJobJsonldRead { /** - * - * - * @var mixed - */ - protected $context; - /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * + * @var mixed + */ + protected $context; + /** * @var mixed|null */ protected $workflow; /** - * - * * @var mixed|null */ protected $pipeline; /** - * - * * @var mixed|null */ protected $action; - /** - * - * - * @return mixed - */ - public function getContext() + + public function getId(): string { - return $this->context; + return $this->id; } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self + + public function setId(string $id): self { - $this->context = $context; + $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getType(): string { - return $this->id; + return $this->type; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setType(string $type): self { - $this->id = $id; + $this->type = $type; + return $this; } + /** - * - * - * @return string + * @return mixed */ - public function getType() : string + public function getContext() { - return $this->type; + return $this->context; } + /** - * - * - * @param string $type - * - * @return self + * @param mixed $context */ - public function setType(string $type) : self + public function setContext($context): self { - $this->type = $type; + $this->context = $context; + return $this; } + /** - * - * * @return mixed */ public function getWorkflow() { return $this->workflow; } + /** - * - * * @param mixed $workflow - * - * @return self */ - public function setWorkflow($workflow) : self + public function setWorkflow($workflow): self { $this->workflow = $workflow; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return mixed */ public function getAction() { return $this->action; } + /** - * - * * @param mixed $action - * - * @return self */ - public function setAction($action) : self + public function setAction($action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobPipeline.php b/src/Model/WorkflowJobPipeline.php index 9bf203cb..f393cc81 100644 --- a/src/Model/WorkflowJobPipeline.php +++ b/src/Model/WorkflowJobPipeline.php @@ -5,219 +5,149 @@ class WorkflowJobPipeline { /** - * - * * @var string|null */ protected $job; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $runtimeType; /** - * - * * @var string[] */ protected $runtime; /** - * - * * @var string[] */ protected $autoload; /** - * - * * @var string[] */ protected $steps; - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * * @return string[] */ - public function getRuntime() : array + public function getRuntime(): array { return $this->runtime; } + /** - * - * * @param string[] $runtime - * - * @return self */ - public function setRuntime(array $runtime) : self + public function setRuntime(array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * * @return string[] */ - public function getAutoload() : array + public function getAutoload(): array { return $this->autoload; } + /** - * - * * @param string[] $autoload - * - * @return self */ - public function setAutoload(array $autoload) : self + public function setAutoload(array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobPipelineJsonld.php b/src/Model/WorkflowJobPipelineJsonld.php index 74fa5bea..2d21243a 100644 --- a/src/Model/WorkflowJobPipelineJsonld.php +++ b/src/Model/WorkflowJobPipelineJsonld.php @@ -5,300 +5,203 @@ class WorkflowJobPipelineJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string|null */ protected $job; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $runtimeType; /** - * - * * @var string[] */ protected $runtime; /** - * - * * @var string[] */ protected $autoload; /** - * - * * @var string[] */ protected $steps; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string|null - */ - public function getJob() : ?string + + public function getJob(): ?string { return $this->job; } - /** - * - * - * @param string|null $job - * - * @return self - */ - public function setJob(?string $job) : self + + public function setJob(?string $job): self { $this->job = $job; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * * @return string[] */ - public function getRuntime() : array + public function getRuntime(): array { return $this->runtime; } + /** - * - * * @param string[] $runtime - * - * @return self */ - public function setRuntime(array $runtime) : self + public function setRuntime(array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * * @return string[] */ - public function getAutoload() : array + public function getAutoload(): array { return $this->autoload; } + /** - * - * * @param string[] $autoload - * - * @return self */ - public function setAutoload(array $autoload) : self + public function setAutoload(array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobPipelineJsonldRead.php b/src/Model/WorkflowJobPipelineJsonldRead.php index 39c894de..9e0a9711 100644 --- a/src/Model/WorkflowJobPipelineJsonldRead.php +++ b/src/Model/WorkflowJobPipelineJsonldRead.php @@ -5,273 +5,187 @@ class WorkflowJobPipelineJsonldRead { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $runtimeType; /** - * - * * @var string[] */ protected $runtime; /** - * - * * @var string[] */ protected $autoload; /** - * - * * @var string[] */ protected $steps; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * * @return string[] */ - public function getRuntime() : array + public function getRuntime(): array { return $this->runtime; } + /** - * - * * @param string[] $runtime - * - * @return self */ - public function setRuntime(array $runtime) : self + public function setRuntime(array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * * @return string[] */ - public function getAutoload() : array + public function getAutoload(): array { return $this->autoload; } + /** - * - * * @param string[] $autoload - * - * @return self */ - public function setAutoload(array $autoload) : self + public function setAutoload(array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobPipelineRead.php b/src/Model/WorkflowJobPipelineRead.php index 1aaa889e..71c43516 100644 --- a/src/Model/WorkflowJobPipelineRead.php +++ b/src/Model/WorkflowJobPipelineRead.php @@ -5,192 +5,133 @@ class WorkflowJobPipelineRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var string */ protected $runtimeType; /** - * - * * @var string[] */ protected $runtime; /** - * - * * @var string[] */ protected $autoload; /** - * - * * @var string[] */ protected $steps; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } - /** - * - * - * @return string - */ - public function getRuntimeType() : string + + public function getRuntimeType(): string { return $this->runtimeType; } - /** - * - * - * @param string $runtimeType - * - * @return self - */ - public function setRuntimeType(string $runtimeType) : self + + public function setRuntimeType(string $runtimeType): self { $this->runtimeType = $runtimeType; + return $this; } + /** - * - * * @return string[] */ - public function getRuntime() : array + public function getRuntime(): array { return $this->runtime; } + /** - * - * * @param string[] $runtime - * - * @return self */ - public function setRuntime(array $runtime) : self + public function setRuntime(array $runtime): self { $this->runtime = $runtime; + return $this; } + /** - * - * * @return string[] */ - public function getAutoload() : array + public function getAutoload(): array { return $this->autoload; } + /** - * - * * @param string[] $autoload - * - * @return self */ - public function setAutoload(array $autoload) : self + public function setAutoload(array $autoload): self { $this->autoload = $autoload; + return $this; } + /** - * - * * @return string[] */ - public function getSteps() : array + public function getSteps(): array { return $this->steps; } + /** - * - * * @param string[] $steps - * - * @return self */ - public function setSteps(array $steps) : self + public function setSteps(array $steps): self { $this->steps = $steps; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJobRead.php b/src/Model/WorkflowJobRead.php index b258c690..156a9071 100644 --- a/src/Model/WorkflowJobRead.php +++ b/src/Model/WorkflowJobRead.php @@ -5,84 +5,69 @@ class WorkflowJobRead { /** - * - * * @var mixed|null */ protected $workflow; /** - * - * * @var mixed|null */ protected $pipeline; /** - * - * * @var mixed|null */ protected $action; + /** - * - * * @return mixed */ public function getWorkflow() { return $this->workflow; } + /** - * - * * @param mixed $workflow - * - * @return self */ - public function setWorkflow($workflow) : self + public function setWorkflow($workflow): self { $this->workflow = $workflow; + return $this; } + /** - * - * * @return mixed */ public function getPipeline() { return $this->pipeline; } + /** - * - * * @param mixed $pipeline - * - * @return self */ - public function setPipeline($pipeline) : self + public function setPipeline($pipeline): self { $this->pipeline = $pipeline; + return $this; } + /** - * - * * @return mixed */ public function getAction() { return $this->action; } + /** - * - * * @param mixed $action - * - * @return self */ - public function setAction($action) : self + public function setAction($action): self { $this->action = $action; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowJsonldRead.php b/src/Model/WorkflowJsonldRead.php index 55c76c54..1cbb0f68 100644 --- a/src/Model/WorkflowJsonldRead.php +++ b/src/Model/WorkflowJsonldRead.php @@ -5,192 +5,127 @@ class WorkflowJsonldRead { /** - * - * - * @var mixed - */ - protected $context; - /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * + * @var mixed + */ + protected $context; + /** * @var string */ protected $id2; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var WorkflowJobJsonldRead[] */ protected $jobs; - /** - * - * - * @return mixed - */ - public function getContext() + + public function getId(): string { - return $this->context; + return $this->id; } - /** - * - * - * @param mixed $context - * - * @return self - */ - public function setContext($context) : self + + public function setId(string $id): self { - $this->context = $context; + $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getType(): string { - return $this->id; + return $this->type; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setType(string $type): self { - $this->id = $id; + $this->type = $type; + return $this; } + /** - * - * - * @return string + * @return mixed */ - public function getType() : string + public function getContext() { - return $this->type; + return $this->context; } + /** - * - * - * @param string $type - * - * @return self + * @param mixed $context */ - public function setType(string $type) : self + public function setContext($context): self { - $this->type = $type; + $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return WorkflowJobJsonldRead[] */ - public function getJobs() : array + public function getJobs(): array { return $this->jobs; } + /** - * - * * @param WorkflowJobJsonldRead[] $jobs - * - * @return self */ - public function setJobs(array $jobs) : self + public function setJobs(array $jobs): self { $this->jobs = $jobs; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkflowRead.php b/src/Model/WorkflowRead.php index 62e34d0f..1861e4ab 100644 --- a/src/Model/WorkflowRead.php +++ b/src/Model/WorkflowRead.php @@ -5,111 +5,73 @@ class WorkflowRead { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $code; /** - * - * * @var string */ protected $label; /** - * - * * @var WorkflowJobRead[] */ protected $jobs; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getCode() : string + + public function getCode(): string { return $this->code; } - /** - * - * - * @param string $code - * - * @return self - */ - public function setCode(string $code) : self + + public function setCode(string $code): self { $this->code = $code; + return $this; } - /** - * - * - * @return string - */ - public function getLabel() : string + + public function getLabel(): string { return $this->label; } - /** - * - * - * @param string $label - * - * @return self - */ - public function setLabel(string $label) : self + + public function setLabel(string $label): self { $this->label = $label; + return $this; } + /** - * - * * @return WorkflowJobRead[] */ - public function getJobs() : array + public function getJobs(): array { return $this->jobs; } + /** - * - * * @param WorkflowJobRead[] $jobs - * - * @return self */ - public function setJobs(array $jobs) : self + public function setJobs(array $jobs): self { $this->jobs = $jobs; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/Workspace.php b/src/Model/Workspace.php index 09c89092..3abd6265 100644 --- a/src/Model/Workspace.php +++ b/src/Model/Workspace.php @@ -5,138 +5,111 @@ class Workspace { /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $name; /** - * - * + * @var string + */ + protected $slug; + /** * @var string|null */ protected $organization; /** - * - * * @var string[] */ protected $authorizations; /** - * - * * @var string[] */ protected $users; - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getSlug(): string + { + return $this->slug; + } + + public function setSlug(string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * * @return string[] */ - public function getAuthorizations() : array + public function getAuthorizations(): array { return $this->authorizations; } + /** - * - * * @param string[] $authorizations - * - * @return self */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(array $authorizations): self { $this->authorizations = $authorizations; + return $this; } + /** - * - * * @return string[] */ - public function getUsers() : array + public function getUsers(): array { return $this->users; } + /** - * - * * @param string[] $users - * - * @return self */ - public function setUsers(array $users) : self + public function setUsers(array $users): self { $this->users = $users; + return $this; } -} \ No newline at end of file +} diff --git a/src/Model/WorkspaceJsonld.php b/src/Model/WorkspaceJsonld.php index 53c15df4..a1bf1e50 100644 --- a/src/Model/WorkspaceJsonld.php +++ b/src/Model/WorkspaceJsonld.php @@ -5,219 +5,165 @@ class WorkspaceJsonld { /** - * - * * @var mixed */ protected $context; /** - * - * * @var string */ protected $id; /** - * - * * @var string */ protected $type; /** - * - * * @var string */ protected $id2; /** - * - * * @var string */ protected $name; /** - * - * + * @var string + */ + protected $slug; + /** * @var string|null */ protected $organization; /** - * - * * @var string[] */ protected $authorizations; /** - * - * * @var string[] */ protected $users; + /** - * - * * @return mixed */ public function getContext() { return $this->context; } + /** - * - * * @param mixed $context - * - * @return self */ - public function setContext($context) : self + public function setContext($context): self { $this->context = $context; + return $this; } - /** - * - * - * @return string - */ - public function getId() : string + + public function getId(): string { return $this->id; } - /** - * - * - * @param string $id - * - * @return self - */ - public function setId(string $id) : self + + public function setId(string $id): self { $this->id = $id; + return $this; } - /** - * - * - * @return string - */ - public function getType() : string + + public function getType(): string { return $this->type; } - /** - * - * - * @param string $type - * - * @return self - */ - public function setType(string $type) : self + + public function setType(string $type): self { $this->type = $type; + return $this; } - /** - * - * - * @return string - */ - public function getId2() : string + + public function getId2(): string { return $this->id2; } - /** - * - * - * @param string $id2 - * - * @return self - */ - public function setId2(string $id2) : self + + public function setId2(string $id2): self { $this->id2 = $id2; + return $this; } - /** - * - * - * @return string - */ - public function getName() : string + + public function getName(): string { return $this->name; } - /** - * - * - * @param string $name - * - * @return self - */ - public function setName(string $name) : self + + public function setName(string $name): self { $this->name = $name; + return $this; } - /** - * - * - * @return string|null - */ - public function getOrganization() : ?string + + public function getSlug(): string + { + return $this->slug; + } + + public function setSlug(string $slug): self + { + $this->slug = $slug; + + return $this; + } + + public function getOrganization(): ?string { return $this->organization; } - /** - * - * - * @param string|null $organization - * - * @return self - */ - public function setOrganization(?string $organization) : self + + public function setOrganization(?string $organization): self { $this->organization = $organization; + return $this; } + /** - * - * * @return string[] */ - public function getAuthorizations() : array + public function getAuthorizations(): array { return $this->authorizations; } + /** - * - * * @param string[] $authorizations - * - * @return self */ - public function setAuthorizations(array $authorizations) : self + public function setAuthorizations(array $authorizations): self { $this->authorizations = $authorizations; + return $this; } + /** - * - * * @return string[] */ - public function getUsers() : array + public function getUsers(): array { return $this->users; } + /** - * - * * @param string[] $users - * - * @return self */ - public function setUsers(array $users) : self + public function setUsers(array $users): self { $this->users = $users; + return $this; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AbstractPipelineJsonldNormalizer.php b/src/Normalizer/AbstractPipelineJsonldNormalizer.php index 3af62e3f..f46ec98f 100644 --- a/src/Normalizer/AbstractPipelineJsonldNormalizer.php +++ b/src/Normalizer/AbstractPipelineJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AbstractPipelineJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld'; + return 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,28 +57,68 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } - if (\array_key_exists('steps', $data)) { - $values = array(); - foreach ($data['steps'] as $value) { + if (\array_key_exists('code', $data)) { + $object->setCode($data['code']); + } + if (\array_key_exists('label', $data)) { + $object->setLabel($data['label']); + } + if (\array_key_exists('runtimeType', $data)) { + $object->setRuntimeType($data['runtimeType']); + } + if (\array_key_exists('runtime', $data)) { + $values = []; + foreach ($data['runtime'] as $value) { $values[] = $value; } - $object->setSteps($values); + $object->setRuntime($values); } + if (\array_key_exists('autoload', $data)) { + $values_1 = []; + foreach ($data['autoload'] as $value_1) { + $values_1[] = $value_1; + } + $object->setAutoload($values_1); + } + if (\array_key_exists('steps', $data)) { + $values_2 = []; + foreach ($data['steps'] as $value_2) { + $values_2[] = $value_2; + } + $object->setSteps($values_2); + } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + $data['id'] = $object->getId2(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['runtimeType'] = $object->getRuntimeType(); + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; + $values_1 = []; + foreach ($object->getAutoload() as $value_1) { + $values_1[] = $value_1; + } + $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values = array(); - foreach ($object->getSteps() as $value) { - $values[] = $value; + $values_2 = []; + foreach ($object->getSteps() as $value_2) { + $values_2[] = $value_2; } - $data['steps'] = $values; + $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AbstractPipelineNormalizer.php b/src/Normalizer/AbstractPipelineNormalizer.php index 74086a55..77791fe4 100644 --- a/src/Normalizer/AbstractPipelineNormalizer.php +++ b/src/Normalizer/AbstractPipelineNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AbstractPipelineNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AbstractPipeline'; + return 'Gyroscops\\Api\\Model\\AbstractPipeline' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AbstractPipeline'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AbstractPipeline' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,28 +48,68 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId($data['id']); } - if (\array_key_exists('steps', $data)) { - $values = array(); - foreach ($data['steps'] as $value) { + if (\array_key_exists('code', $data)) { + $object->setCode($data['code']); + } + if (\array_key_exists('label', $data)) { + $object->setLabel($data['label']); + } + if (\array_key_exists('runtimeType', $data)) { + $object->setRuntimeType($data['runtimeType']); + } + if (\array_key_exists('runtime', $data)) { + $values = []; + foreach ($data['runtime'] as $value) { $values[] = $value; } - $object->setSteps($values); + $object->setRuntime($values); } + if (\array_key_exists('autoload', $data)) { + $values_1 = []; + foreach ($data['autoload'] as $value_1) { + $values_1[] = $value_1; + } + $object->setAutoload($values_1); + } + if (\array_key_exists('steps', $data)) { + $values_2 = []; + foreach ($data['steps'] as $value_2) { + $values_2[] = $value_2; + } + $object->setSteps($values_2); + } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + $data['id'] = $object->getId(); + $data['code'] = $object->getCode(); + $data['label'] = $object->getLabel(); + $data['runtimeType'] = $object->getRuntimeType(); + $values = []; + foreach ($object->getRuntime() as $value) { + $values[] = $value; + } + $data['runtime'] = $values; + $values_1 = []; + foreach ($object->getAutoload() as $value_1) { + $values_1[] = $value_1; + } + $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values = array(); - foreach ($object->getSteps() as $value) { - $values[] = $value; + $values_2 = []; + foreach ($object->getSteps() as $value_2) { + $values_2[] = $value_2; } - $data['steps'] = $values; + $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ActionJsonldReadNormalizer.php b/src/Normalizer/ActionJsonldReadNormalizer.php index 1a25ca1b..b202bee8 100644 --- a/src/Normalizer/ActionJsonldReadNormalizer.php +++ b/src/Normalizer/ActionJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ActionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ActionJsonldRead'; + return 'Gyroscops\\Api\\Model\\ActionJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ActionJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ActionJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,15 +57,18 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ActionReadNormalizer.php b/src/Normalizer/ActionReadNormalizer.php index da766b01..1a8e8197 100644 --- a/src/Normalizer/ActionReadNormalizer.php +++ b/src/Normalizer/ActionReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ActionRead'; + return 'Gyroscops\\Api\\Model\\ActionRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ActionRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ActionRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,15 +48,18 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php new file mode 100644 index 00000000..f110ad94 --- /dev/null +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php @@ -0,0 +1,88 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('pimUrl', $data)) { + $object->setPimUrl($data['pimUrl']); + } + if (\array_key_exists('organization', $data)) { + $object->setOrganization($data['organization']); + } + if (\array_key_exists('secret', $data)) { + $object->setSecret($this->denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\SecretInputJsonld', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPimUrl()) { + $data['pimUrl'] = $object->getPimUrl(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getSecret()) { + $data['secret'] = $this->normalizer->normalize($object->getSecret(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php new file mode 100644 index 00000000..89c72e46 --- /dev/null +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php @@ -0,0 +1,79 @@ +setPimUrl($data['pimUrl']); + } + if (\array_key_exists('organization', $data)) { + $object->setOrganization($data['organization']); + } + if (\array_key_exists('secret', $data)) { + $object->setSecret($this->denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\SecretInput', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPimUrl()) { + $data['pimUrl'] = $object->getPimUrl(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getSecret()) { + $data['secret'] = $this->normalizer->normalize($object->getSecret(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoInstanceJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php new file mode 100644 index 00000000..9913556e --- /dev/null +++ b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php @@ -0,0 +1,127 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('@context', $data)) { + $object->setContext($data['@context']); + } + if (\array_key_exists('id', $data)) { + $object->setId2($data['id']); + } + if (\array_key_exists('url', $data)) { + $object->setUrl($data['url']); + } + if (\array_key_exists('organization', $data)) { + $object->setOrganization($data['organization']); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('secret', $data)) { + $object->setSecret($data['secret']); + } + if (\array_key_exists('linkedAccounts', $data)) { + $values = []; + foreach ($data['linkedAccounts'] as $value) { + $values[] = $value; + } + $object->setLinkedAccounts($values); + } + if (\array_key_exists('oauthTokens', $data)) { + $values_1 = []; + foreach ($data['oauthTokens'] as $value_1) { + $values_1[] = $value_1; + } + $object->setOauthTokens($values_1); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getSecret()) { + $data['secret'] = $object->getSecret(); + } + if (null !== $object->getLinkedAccounts()) { + $values = []; + foreach ($object->getLinkedAccounts() as $value) { + $values[] = $value; + } + $data['linkedAccounts'] = $values; + } + if (null !== $object->getOauthTokens()) { + $values_1 = []; + foreach ($object->getOauthTokens() as $value_1) { + $values_1[] = $value_1; + } + $data['oauthTokens'] = $values_1; + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoInstanceNormalizer.php b/src/Normalizer/AkeneoInstanceNormalizer.php new file mode 100644 index 00000000..b08996b6 --- /dev/null +++ b/src/Normalizer/AkeneoInstanceNormalizer.php @@ -0,0 +1,118 @@ +setId($data['id']); + } + if (\array_key_exists('url', $data)) { + $object->setUrl($data['url']); + } + if (\array_key_exists('organization', $data)) { + $object->setOrganization($data['organization']); + } + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { + $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); + } + if (\array_key_exists('secret', $data)) { + $object->setSecret($data['secret']); + } + if (\array_key_exists('linkedAccounts', $data)) { + $values = []; + foreach ($data['linkedAccounts'] as $value) { + $values[] = $value; + } + $object->setLinkedAccounts($values); + } + if (\array_key_exists('oauthTokens', $data)) { + $values_1 = []; + foreach ($data['oauthTokens'] as $value_1) { + $values_1[] = $value_1; + } + $object->setOauthTokens($values_1); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getSecret()) { + $data['secret'] = $object->getSecret(); + } + if (null !== $object->getLinkedAccounts()) { + $values = []; + foreach ($object->getLinkedAccounts() as $value) { + $values[] = $value; + } + $data['linkedAccounts'] = $values; + } + if (null !== $object->getOauthTokens()) { + $values_1 = []; + foreach ($object->getOauthTokens() as $value_1) { + $values_1[] = $value_1; + } + $data['oauthTokens'] = $values_1; + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php new file mode 100644 index 00000000..e48897ee --- /dev/null +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php @@ -0,0 +1,94 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('akeneoInstance', $data)) { + $object->setAkeneoInstance($data['akeneoInstance']); + } + if (\array_key_exists('tokenId', $data)) { + $object->setTokenId($data['tokenId']); + } + if (\array_key_exists('akeneoUserId', $data)) { + $object->setAkeneoUserId($data['akeneoUserId']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getAkeneoInstance()) { + $data['akeneoInstance'] = $object->getAkeneoInstance(); + } + if (null !== $object->getTokenId()) { + $data['tokenId'] = $object->getTokenId(); + } + if (null !== $object->getAkeneoUserId()) { + $data['akeneoUserId'] = $object->getAkeneoUserId(); + } + if (null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php new file mode 100644 index 00000000..876ab87c --- /dev/null +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php @@ -0,0 +1,85 @@ +setAkeneoInstance($data['akeneoInstance']); + } + if (\array_key_exists('tokenId', $data)) { + $object->setTokenId($data['tokenId']); + } + if (\array_key_exists('akeneoUserId', $data)) { + $object->setAkeneoUserId($data['akeneoUserId']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getAkeneoInstance()) { + $data['akeneoInstance'] = $object->getAkeneoInstance(); + } + if (null !== $object->getTokenId()) { + $data['tokenId'] = $object->getTokenId(); + } + if (null !== $object->getAkeneoUserId()) { + $data['akeneoUserId'] = $object->getAkeneoUserId(); + } + if (null !== $object->getToken()) { + $data['token'] = $object->getToken(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php new file mode 100644 index 00000000..0bc01297 --- /dev/null +++ b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php @@ -0,0 +1,103 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('@context', $data)) { + $object->setContext($data['@context']); + } + if (\array_key_exists('id', $data)) { + $object->setId2($data['id']); + } + if (\array_key_exists('user', $data) && null !== $data['user']) { + $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); + } + if (\array_key_exists('tokenId', $data)) { + $object->setTokenId($data['tokenId']); + } + if (\array_key_exists('akeneoUserId', $data)) { + $object->setAkeneoUserId($data['akeneoUserId']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + } + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { + $object->setAkeneoInstance($data['akeneoInstance']); + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + $object->setAkeneoInstance(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['user'] = $object->getUser(); + if (null !== $object->getTokenId()) { + $data['tokenId'] = $object->getTokenId(); + } + if (null !== $object->getAkeneoUserId()) { + $data['akeneoUserId'] = $object->getAkeneoUserId(); + } + $data['token'] = $object->getToken(); + if (null !== $object->getAkeneoInstance()) { + $data['akeneoInstance'] = $object->getAkeneoInstance(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoLinkedAccountNormalizer.php b/src/Normalizer/AkeneoLinkedAccountNormalizer.php new file mode 100644 index 00000000..b9e41abb --- /dev/null +++ b/src/Normalizer/AkeneoLinkedAccountNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + } + if (\array_key_exists('user', $data) && null !== $data['user']) { + $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); + } + if (\array_key_exists('tokenId', $data)) { + $object->setTokenId($data['tokenId']); + } + if (\array_key_exists('akeneoUserId', $data)) { + $object->setAkeneoUserId($data['akeneoUserId']); + } + if (\array_key_exists('token', $data)) { + $object->setToken($data['token']); + } + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { + $object->setAkeneoInstance($data['akeneoInstance']); + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + $object->setAkeneoInstance(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['user'] = $object->getUser(); + if (null !== $object->getTokenId()) { + $data['tokenId'] = $object->getTokenId(); + } + if (null !== $object->getAkeneoUserId()) { + $data['akeneoUserId'] = $object->getAkeneoUserId(); + } + $data['token'] = $object->getToken(); + if (null !== $object->getAkeneoInstance()) { + $data['akeneoInstance'] = $object->getAkeneoInstance(); + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php new file mode 100644 index 00000000..675f7f20 --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php @@ -0,0 +1,95 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('@context', $data)) { + $object->setContext($data['@context']); + } + if (\array_key_exists('id', $data)) { + $object->setId2($data['id']); + } + if (\array_key_exists('url', $data)) { + $object->setUrl($data['url']); + } + if (\array_key_exists('scopes', $data)) { + $values = []; + foreach ($data['scopes'] as $value) { + $values[] = $value; + } + $object->setScopes($values); + } + if (\array_key_exists('responseType', $data)) { + $object->setResponseType($data['responseType']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['url'] = $object->getUrl(); + if (null !== $object->getScopes()) { + $values = []; + foreach ($object->getScopes() as $value) { + $values[] = $value; + } + $data['scopes'] = $values; + } + $data['responseType'] = $object->getResponseType(); + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php new file mode 100644 index 00000000..08d0915d --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php @@ -0,0 +1,90 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('url', $data)) { + $object->setUrl($data['url']); + } + if (\array_key_exists('scope', $data)) { + $values = []; + foreach ($data['scope'] as $value) { + $values[] = $value; + } + $object->setScope($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getScope()) { + $values = []; + foreach ($object->getScope() as $value) { + $values[] = $value; + } + $data['scope'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php new file mode 100644 index 00000000..9cf1c20a --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php @@ -0,0 +1,81 @@ +setUrl($data['url']); + } + if (\array_key_exists('scope', $data)) { + $values = []; + foreach ($data['scope'] as $value) { + $values[] = $value; + } + $object->setScope($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getScope()) { + $values = []; + foreach ($object->getScope() as $value) { + $values[] = $value; + } + $data['scope'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php new file mode 100644 index 00000000..c16d71d0 --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php @@ -0,0 +1,70 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php new file mode 100644 index 00000000..77359999 --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php @@ -0,0 +1,85 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('url', $data)) { + $object->setUrl($data['url']); + } + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); + } + if (\array_key_exists('code', $data)) { + $object->setCode($data['code']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); + } + if (null !== $object->getState()) { + $data['state'] = $object->getState(); + } + if (null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + + return $data; + } +} diff --git a/src/Normalizer/SecretValueInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php similarity index 57% rename from src/Normalizer/SecretValueInputNormalizer.php rename to src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php index ae6b5cac..2b74bb6a 100644 --- a/src/Normalizer/SecretValueInputNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretValueInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface + +class AkeneoOauthTokenOauthTokenInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\SecretValueInput'; + return 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretValueInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -38,36 +41,39 @@ public function denormalize($data, $class, $format = null, array $context = arra if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretValueInput(); + $object = new \Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput(); if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('arrayCopy', $data)) { - $object->setArrayCopy($data['arrayCopy']); + if (\array_key_exists('url', $data)) { + $object->setUrl($data['url']); } - if (\array_key_exists('flags', $data)) { - $object->setFlags($data['flags']); + if (\array_key_exists('state', $data)) { + $object->setState($data['state']); } - if (\array_key_exists('iterator', $data)) { - $object->setIterator($data['iterator']); - } - if (\array_key_exists('iteratorClass', $data)) { - $object->setIteratorClass($data['iteratorClass']); + if (\array_key_exists('code', $data)) { + $object->setCode($data['code']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - if (null !== $object->getFlags()) { - $data['flags'] = $object->getFlags(); + $data = []; + if (null !== $object->getUrl()) { + $data['url'] = $object->getUrl(); } - if (null !== $object->getIteratorClass()) { - $data['iteratorClass'] = $object->getIteratorClass(); + if (null !== $object->getState()) { + $data['state'] = $object->getState(); } + if (null !== $object->getCode()) { + $data['code'] = $object->getCode(); + } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php new file mode 100644 index 00000000..04311153 --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php @@ -0,0 +1,67 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/AkeneoOauthTokenReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php new file mode 100644 index 00000000..3ce6baeb --- /dev/null +++ b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php @@ -0,0 +1,86 @@ +setId($data['id']); + } + if (\array_key_exists('url', $data)) { + $object->setUrl($data['url']); + } + if (\array_key_exists('scopes', $data)) { + $values = []; + foreach ($data['scopes'] as $value) { + $values[] = $value; + } + $object->setScopes($values); + } + if (\array_key_exists('responseType', $data)) { + $object->setResponseType($data['responseType']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['url'] = $object->getUrl(); + if (null !== $object->getScopes()) { + $values = []; + foreach ($object->getScopes() as $value) { + $values[] = $value; + } + $data['scopes'] = $values; + } + $data['responseType'] = $object->getResponseType(); + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php index 4be40e42..fe1f148a 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php index 7d0c3678..6622d121 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationMeGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php index 2dcf9259..da060df2 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationMeGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php b/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php index 39080592..d7544a6e 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationMeGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..19f330a4 --- /dev/null +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..f1e537a7 --- /dev/null +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..e47e2afb --- /dev/null +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php new file mode 100644 index 00000000..0d36e9a7 --- /dev/null +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OptionJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..3037cdbb --- /dev/null +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..e4362f52 --- /dev/null +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..85b9baf1 --- /dev/null +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php new file mode 100644 index 00000000..480fdbd8 --- /dev/null +++ b/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OfferJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 5688c77e..64818841 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php index 14323ef8..692e8e8f 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php index 48733127..a52dab13 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php index 0741e6d3..3da57a5d 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 209e2ec5..47e49d22 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php index 8d4cd0ed..105db923 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php index 63082db5..6a54e9eb 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php index f4988914..0ebd6600 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index b9e79b6d..24f5c1de 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php index fcf24fc1..f6f34065 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php index 6c57224c..742a2c92 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php index 15088e00..7fd4a5f3 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdUsersGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 631fee5a..94e1f59f 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php index a37f1c36..fd9e743f 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php index 18780df6..27d96719 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php index 8a0a6f40..bd6e885c 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index a55df63a..582b655b 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php index 21b432b8..9b650074 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php index 1bd17436..098ffa13 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php index c2af8152..c08509bc 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationOrganizationsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OrganizationJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..e1a54480 --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..203c0b68 --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..65915a07 --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php new file mode 100644 index 00000000..b2389045 --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SubscriptionJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..56c2fc95 --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..6182b580 --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..d0cd3bbc --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php new file mode 100644 index 00000000..ba185181 --- /dev/null +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 7221f358..0716d254 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php index 1bf69beb..29ccf6a4 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php index f1843289..89f07c86 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php index 0215bd07..a3abd267 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUserAuthorizationsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index f954b670..92d6dd2c 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php index da4c1da2..996156c7 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php index 4d2939d3..803474f9 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php index d4766c43..bbaf43e6 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUserIdAuthorizationsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index 12cd6d24..93182841 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php index 8439325b..54de07b4 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUsersGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php index fbb954cc..86af6e43 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUsersGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php index fe18ceb9..5dc000fe 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationUsersGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 386857ca..83506776 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php index 489f0554..66259208 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php index d0eac5f0..4e74499c 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php index 80140f0f..7705fa27 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index 37f78979..a7ba4624 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php index 8b2888e4..941622fd 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php index 8dbfa914..b94f84a2 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php index 3aae32e8..6a1ba84d 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspaceIdUsersGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\UserJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 5a805bc6..e04a88cc 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php index 05d84bc6..0638db61 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspacesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php index d26a657a..5bf5cb10 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspacesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php index bbac053d..2055d154 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AuthenticationWorkspacesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200'; + return 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkspaceJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AutoloadInputJsonldNormalizer.php b/src/Normalizer/AutoloadInputJsonldNormalizer.php index c17b9d1f..0d8ca923 100644 --- a/src/Normalizer/AutoloadInputJsonldNormalizer.php +++ b/src/Normalizer/AutoloadInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AutoloadInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AutoloadInputJsonld'; + return 'Gyroscops\\Api\\Model\\AutoloadInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AutoloadInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AutoloadInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -55,30 +58,33 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setNamespace($data['namespace']); } if (\array_key_exists('paths', $data)) { - $values = array(); + $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getNamespace()) { $data['namespace'] = $object->getNamespace(); } if (null !== $object->getPaths()) { - $values = array(); + $values = []; foreach ($object->getPaths() as $value) { $values[] = $value; } $data['paths'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/AutoloadInputNormalizer.php b/src/Normalizer/AutoloadInputNormalizer.php index 74ebd15b..14080976 100644 --- a/src/Normalizer/AutoloadInputNormalizer.php +++ b/src/Normalizer/AutoloadInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class AutoloadInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\AutoloadInput'; + return 'Gyroscops\\Api\\Model\\AutoloadInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\AutoloadInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\AutoloadInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -46,30 +49,33 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setNamespace($data['namespace']); } if (\array_key_exists('paths', $data)) { - $values = array(); + $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getNamespace()) { $data['namespace'] = $object->getNamespace(); } if (null !== $object->getPaths()) { - $values = array(); + $values = []; foreach ($object->getPaths() as $value) { $values[] = $value; } $data['paths'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/BigDecimalJsonldNormalizer.php b/src/Normalizer/BigDecimalJsonldNormalizer.php new file mode 100644 index 00000000..e568091b --- /dev/null +++ b/src/Normalizer/BigDecimalJsonldNormalizer.php @@ -0,0 +1,106 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('scale', $data)) { + $object->setScale($data['scale']); + } + if (\array_key_exists('sign', $data)) { + $object->setSign($data['sign']); + } + if (\array_key_exists('unscaledValue', $data)) { + $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], 'Gyroscops\\Api\\Model\\BigIntegerJsonld', 'json', $context)); + } + if (\array_key_exists('integralPart', $data)) { + $object->setIntegralPart($data['integralPart']); + } + if (\array_key_exists('fractionalPart', $data)) { + $object->setFractionalPart($data['fractionalPart']); + } + if (\array_key_exists('nonZeroFractionalPart', $data)) { + $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); + } + if (\array_key_exists('zero', $data)) { + $object->setZero($data['zero']); + } + if (\array_key_exists('negative', $data)) { + $object->setNegative($data['negative']); + } + if (\array_key_exists('negativeOrZero', $data)) { + $object->setNegativeOrZero($data['negativeOrZero']); + } + if (\array_key_exists('positive', $data)) { + $object->setPositive($data['positive']); + } + if (\array_key_exists('positiveOrZero', $data)) { + $object->setPositiveOrZero($data['positiveOrZero']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUnscaledValue()) { + $data['unscaledValue'] = $this->normalizer->normalize($object->getUnscaledValue(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/BigDecimalNormalizer.php b/src/Normalizer/BigDecimalNormalizer.php new file mode 100644 index 00000000..0920293d --- /dev/null +++ b/src/Normalizer/BigDecimalNormalizer.php @@ -0,0 +1,97 @@ +setScale($data['scale']); + } + if (\array_key_exists('sign', $data)) { + $object->setSign($data['sign']); + } + if (\array_key_exists('unscaledValue', $data)) { + $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], 'Gyroscops\\Api\\Model\\BigInteger', 'json', $context)); + } + if (\array_key_exists('integralPart', $data)) { + $object->setIntegralPart($data['integralPart']); + } + if (\array_key_exists('fractionalPart', $data)) { + $object->setFractionalPart($data['fractionalPart']); + } + if (\array_key_exists('nonZeroFractionalPart', $data)) { + $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); + } + if (\array_key_exists('zero', $data)) { + $object->setZero($data['zero']); + } + if (\array_key_exists('negative', $data)) { + $object->setNegative($data['negative']); + } + if (\array_key_exists('negativeOrZero', $data)) { + $object->setNegativeOrZero($data['negativeOrZero']); + } + if (\array_key_exists('positive', $data)) { + $object->setPositive($data['positive']); + } + if (\array_key_exists('positiveOrZero', $data)) { + $object->setPositiveOrZero($data['positiveOrZero']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getUnscaledValue()) { + $data['unscaledValue'] = $this->normalizer->normalize($object->getUnscaledValue(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/BigIntegerJsonldNormalizer.php b/src/Normalizer/BigIntegerJsonldNormalizer.php new file mode 100644 index 00000000..73366e55 --- /dev/null +++ b/src/Normalizer/BigIntegerJsonldNormalizer.php @@ -0,0 +1,100 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('bitLength', $data)) { + $object->setBitLength($data['bitLength']); + } + if (\array_key_exists('lowestSetBit', $data)) { + $object->setLowestSetBit($data['lowestSetBit']); + } + if (\array_key_exists('even', $data)) { + $object->setEven($data['even']); + } + if (\array_key_exists('odd', $data)) { + $object->setOdd($data['odd']); + } + if (\array_key_exists('sign', $data)) { + $object->setSign($data['sign']); + } + if (\array_key_exists('zero', $data)) { + $object->setZero($data['zero']); + } + if (\array_key_exists('negative', $data)) { + $object->setNegative($data['negative']); + } + if (\array_key_exists('negativeOrZero', $data)) { + $object->setNegativeOrZero($data['negativeOrZero']); + } + if (\array_key_exists('positive', $data)) { + $object->setPositive($data['positive']); + } + if (\array_key_exists('positiveOrZero', $data)) { + $object->setPositiveOrZero($data['positiveOrZero']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/BigIntegerNormalizer.php b/src/Normalizer/BigIntegerNormalizer.php new file mode 100644 index 00000000..58538b39 --- /dev/null +++ b/src/Normalizer/BigIntegerNormalizer.php @@ -0,0 +1,91 @@ +setBitLength($data['bitLength']); + } + if (\array_key_exists('lowestSetBit', $data)) { + $object->setLowestSetBit($data['lowestSetBit']); + } + if (\array_key_exists('even', $data)) { + $object->setEven($data['even']); + } + if (\array_key_exists('odd', $data)) { + $object->setOdd($data['odd']); + } + if (\array_key_exists('sign', $data)) { + $object->setSign($data['sign']); + } + if (\array_key_exists('zero', $data)) { + $object->setZero($data['zero']); + } + if (\array_key_exists('negative', $data)) { + $object->setNegative($data['negative']); + } + if (\array_key_exists('negativeOrZero', $data)) { + $object->setNegativeOrZero($data['negativeOrZero']); + } + if (\array_key_exists('positive', $data)) { + $object->setPositive($data['positive']); + } + if (\array_key_exists('positiveOrZero', $data)) { + $object->setPositiveOrZero($data['positiveOrZero']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/SecretValueInputJsonldNormalizer.php b/src/Normalizer/BigNumberJsonldNormalizer.php similarity index 61% rename from src/Normalizer/SecretValueInputJsonldNormalizer.php rename to src/Normalizer/BigNumberJsonldNormalizer.php index 165d565c..f2d296ab 100644 --- a/src/Normalizer/SecretValueInputJsonldNormalizer.php +++ b/src/Normalizer/BigNumberJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretValueInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface + +class BigNumberJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\SecretValueInputJsonld'; + return 'Gyroscops\\Api\\Model\\BigNumberJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretValueInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\BigNumberJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -38,7 +41,7 @@ public function denormalize($data, $class, $format = null, array $context = arra if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretValueInputJsonld(); + $object = new \Gyroscops\Api\Model\BigNumberJsonld(); if (null === $data || false === \is_array($data)) { return $object; } @@ -51,32 +54,35 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('arrayCopy', $data)) { - $object->setArrayCopy($data['arrayCopy']); + if (\array_key_exists('zero', $data)) { + $object->setZero($data['zero']); + } + if (\array_key_exists('negative', $data)) { + $object->setNegative($data['negative']); } - if (\array_key_exists('flags', $data)) { - $object->setFlags($data['flags']); + if (\array_key_exists('negativeOrZero', $data)) { + $object->setNegativeOrZero($data['negativeOrZero']); } - if (\array_key_exists('iterator', $data)) { - $object->setIterator($data['iterator']); + if (\array_key_exists('positive', $data)) { + $object->setPositive($data['positive']); } - if (\array_key_exists('iteratorClass', $data)) { - $object->setIteratorClass($data['iteratorClass']); + if (\array_key_exists('positiveOrZero', $data)) { + $object->setPositiveOrZero($data['positiveOrZero']); } + if (\array_key_exists('sign', $data)) { + $object->setSign($data['sign']); + } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - if (null !== $object->getFlags()) { - $data['flags'] = $object->getFlags(); - } - if (null !== $object->getIteratorClass()) { - $data['iteratorClass'] = $object->getIteratorClass(); - } + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/BigNumberNormalizer.php b/src/Normalizer/BigNumberNormalizer.php new file mode 100644 index 00000000..c444313d --- /dev/null +++ b/src/Normalizer/BigNumberNormalizer.php @@ -0,0 +1,79 @@ +setZero($data['zero']); + } + if (\array_key_exists('negative', $data)) { + $object->setNegative($data['negative']); + } + if (\array_key_exists('negativeOrZero', $data)) { + $object->setNegativeOrZero($data['negativeOrZero']); + } + if (\array_key_exists('positive', $data)) { + $object->setPositive($data['positive']); + } + if (\array_key_exists('positiveOrZero', $data)) { + $object->setPositiveOrZero($data['positiveOrZero']); + } + if (\array_key_exists('sign', $data)) { + $object->setSign($data['sign']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/SecretConfigMapInputJsonldNormalizer.php b/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php similarity index 82% rename from src/Normalizer/SecretConfigMapInputJsonldNormalizer.php rename to src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php index 086ee8a4..d2e7e35c 100644 --- a/src/Normalizer/SecretConfigMapInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretConfigMapInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface + +class ConfigMapConfigMapInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\SecretConfigMapInputJsonld'; + return 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretConfigMapInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -38,7 +41,7 @@ public function denormalize($data, $class, $format = null, array $context = arra if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretConfigMapInputJsonld(); + $object = new \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld(); if (null === $data || false === \is_array($data)) { return $object; } @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('configs', $data)) { $object->setConfigs($this->denormalizer->denormalize($data['configs'], 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -77,6 +82,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getConfigs()) { $data['configs'] = $this->normalizer->normalize($object->getConfigs(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretConfigMapInputNormalizer.php b/src/Normalizer/ConfigMapConfigMapInputNormalizer.php similarity index 81% rename from src/Normalizer/SecretConfigMapInputNormalizer.php rename to src/Normalizer/ConfigMapConfigMapInputNormalizer.php index d1fb4055..52aa9828 100644 --- a/src/Normalizer/SecretConfigMapInputNormalizer.php +++ b/src/Normalizer/ConfigMapConfigMapInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; -class SecretConfigMapInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface + +class ConfigMapConfigMapInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\SecretConfigMapInput'; + return 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretConfigMapInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -38,7 +41,7 @@ public function denormalize($data, $class, $format = null, array $context = arra if (isset($data['$recursiveRef'])) { return new Reference($data['$recursiveRef'], $context['document-origin']); } - $object = new \Gyroscops\Api\Model\SecretConfigMapInput(); + $object = new \Gyroscops\Api\Model\ConfigMapConfigMapInput(); if (null === $data || false === \is_array($data)) { return $object; } @@ -51,14 +54,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('configs', $data)) { $object->setConfigs($this->denormalizer->denormalize($data['configs'], 'Gyroscops\\Api\\Model\\ConfigMapValueInput', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -68,6 +73,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getConfigs()) { $data['configs'] = $this->normalizer->normalize($object->getConfigs(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ConfigMapJsonldNormalizer.php b/src/Normalizer/ConfigMapJsonldNormalizer.php new file mode 100644 index 00000000..c8e679a1 --- /dev/null +++ b/src/Normalizer/ConfigMapJsonldNormalizer.php @@ -0,0 +1,103 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('@context', $data)) { + $object->setContext($data['@context']); + } + if (\array_key_exists('id', $data)) { + $object->setId2($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + } + if (\array_key_exists('description', $data)) { + $object->setDescription($data['description']); + } + if (\array_key_exists('organization', $data)) { + $object->setOrganization($data['organization']); + } + if (\array_key_exists('workspace', $data)) { + $object->setWorkspace($data['workspace']); + } + if (\array_key_exists('iterator', $data)) { + $object->setIterator($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getIterator()) { + $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigMapNormalizer.php b/src/Normalizer/ConfigMapNormalizer.php new file mode 100644 index 00000000..f06e441d --- /dev/null +++ b/src/Normalizer/ConfigMapNormalizer.php @@ -0,0 +1,94 @@ +setId($data['id']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + } + if (\array_key_exists('description', $data)) { + $object->setDescription($data['description']); + } + if (\array_key_exists('organization', $data)) { + $object->setOrganization($data['organization']); + } + if (\array_key_exists('workspace', $data)) { + $object->setWorkspace($data['workspace']); + } + if (\array_key_exists('iterator', $data)) { + $object->setIterator($data['iterator']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if (null !== $object->getOrganization()) { + $data['organization'] = $object->getOrganization(); + } + if (null !== $object->getWorkspace()) { + $data['workspace'] = $object->getWorkspace(); + } + if (null !== $object->getIterator()) { + $data['iterator'] = $object->getIterator(); + } + + return $data; + } +} diff --git a/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php b/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php index 7a610101..8c36c753 100644 --- a/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ConfigMapValueInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld'; + return 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -63,20 +66,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('iteratorClass', $data)) { $object->setIteratorClass($data['iteratorClass']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getFlags()) { $data['flags'] = $object->getFlags(); } if (null !== $object->getIteratorClass()) { $data['iteratorClass'] = $object->getIteratorClass(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ConfigMapValueInputNormalizer.php b/src/Normalizer/ConfigMapValueInputNormalizer.php index c667b9ed..b7ce81fd 100644 --- a/src/Normalizer/ConfigMapValueInputNormalizer.php +++ b/src/Normalizer/ConfigMapValueInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ConfigMapValueInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ConfigMapValueInput'; + return 'Gyroscops\\Api\\Model\\ConfigMapValueInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ConfigMapValueInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ConfigMapValueInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,20 +57,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('iteratorClass', $data)) { $object->setIteratorClass($data['iteratorClass']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getFlags()) { $data['flags'] = $object->getFlags(); } if (null !== $object->getIteratorClass()) { $data['iteratorClass'] = $object->getIteratorClass(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ContextJsonldNormalizer.php b/src/Normalizer/ContextJsonldNormalizer.php new file mode 100644 index 00000000..edbd0871 --- /dev/null +++ b/src/Normalizer/ContextJsonldNormalizer.php @@ -0,0 +1,76 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('step', $data)) { + $object->setStep($data['step']); + } + if (\array_key_exists('fixedScale', $data)) { + $object->setFixedScale($data['fixedScale']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/ContextNormalizer.php b/src/Normalizer/ContextNormalizer.php new file mode 100644 index 00000000..652073a0 --- /dev/null +++ b/src/Normalizer/ContextNormalizer.php @@ -0,0 +1,67 @@ +setStep($data['step']); + } + if (\array_key_exists('fixedScale', $data)) { + $object->setFixedScale($data['fixedScale']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + + return $data; + } +} diff --git a/src/Normalizer/CredentialsNormalizer.php b/src/Normalizer/CredentialsNormalizer.php index 7829bfce..be34a09e 100644 --- a/src/Normalizer/CredentialsNormalizer.php +++ b/src/Normalizer/CredentialsNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class CredentialsNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\Credentials'; + return 'Gyroscops\\Api\\Model\\Credentials' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Credentials'; + return is_object($data) && 'Gyroscops\\Api\\Model\\Credentials' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('workspace', $data)) { $object->setWorkspace($data['workspace']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUsername()) { $data['username'] = $object->getUsername(); } @@ -68,6 +73,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getWorkspace()) { $data['workspace'] = $object->getWorkspace(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/CurrencyJsonldNormalizer.php b/src/Normalizer/CurrencyJsonldNormalizer.php new file mode 100644 index 00000000..6d5a935b --- /dev/null +++ b/src/Normalizer/CurrencyJsonldNormalizer.php @@ -0,0 +1,94 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('currencyCode', $data)) { + $object->setCurrencyCode($data['currencyCode']); + } + if (\array_key_exists('numericCode', $data)) { + $object->setNumericCode($data['numericCode']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + } + if (\array_key_exists('defaultFractionDigits', $data)) { + $object->setDefaultFractionDigits($data['defaultFractionDigits']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getCurrencyCode()) { + $data['currencyCode'] = $object->getCurrencyCode(); + } + if (null !== $object->getNumericCode()) { + $data['numericCode'] = $object->getNumericCode(); + } + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDefaultFractionDigits()) { + $data['defaultFractionDigits'] = $object->getDefaultFractionDigits(); + } + + return $data; + } +} diff --git a/src/Normalizer/CurrencyNormalizer.php b/src/Normalizer/CurrencyNormalizer.php new file mode 100644 index 00000000..b2be9b93 --- /dev/null +++ b/src/Normalizer/CurrencyNormalizer.php @@ -0,0 +1,85 @@ +setCurrencyCode($data['currencyCode']); + } + if (\array_key_exists('numericCode', $data)) { + $object->setNumericCode($data['numericCode']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + } + if (\array_key_exists('defaultFractionDigits', $data)) { + $object->setDefaultFractionDigits($data['defaultFractionDigits']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getCurrencyCode()) { + $data['currencyCode'] = $object->getCurrencyCode(); + } + if (null !== $object->getNumericCode()) { + $data['numericCode'] = $object->getNumericCode(); + } + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDefaultFractionDigits()) { + $data['defaultFractionDigits'] = $object->getDefaultFractionDigits(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..a0239c92 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..26096a15 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..b26a2983 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php new file mode 100644 index 00000000..4301400b --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ConfigMapJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..afa6b483 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..0f3ed119 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..57b1cee3 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php new file mode 100644 index 00000000..1faad0e5 --- /dev/null +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ConfigMapJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php index fc74588f..206c85c3 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php index f550372b..828c45f5 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php index ca853362..3b6e2fd8 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentEnvironmentsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php index 12ab3c5e..ab4e2550 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentEnvironmentsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200'; + return 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentJsonldNormalizer.php b/src/Normalizer/EnvironmentJsonldNormalizer.php index a9723d0d..f94cc0ea 100644 --- a/src/Normalizer/EnvironmentJsonldNormalizer.php +++ b/src/Normalizer/EnvironmentJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentJsonld'; + return 'Gyroscops\\Api\\Model\\EnvironmentJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -67,20 +70,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setWorkspace($data['workspace']); } if (\array_key_exists('variables', $data)) { - $values = array(); + $values = []; foreach ($data['variables'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableJsonld', 'json', $context); } $object->setVariables($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -94,12 +99,13 @@ public function normalize($object, $format = null, array $context = array()) $data['workspace'] = $object->getWorkspace(); } if (null !== $object->getVariables()) { - $values = array(); + $values = []; foreach ($object->getVariables() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['variables'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentNormalizer.php b/src/Normalizer/EnvironmentNormalizer.php index 3104d12a..98a4c926 100644 --- a/src/Normalizer/EnvironmentNormalizer.php +++ b/src/Normalizer/EnvironmentNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\Environment'; + return 'Gyroscops\\Api\\Model\\Environment' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Environment'; + return is_object($data) && 'Gyroscops\\Api\\Model\\Environment' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -58,20 +61,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setWorkspace($data['workspace']); } if (\array_key_exists('variables', $data)) { - $values = array(); + $values = []; foreach ($data['variables'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\Variable', 'json', $context); } $object->setVariables($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -85,12 +90,13 @@ public function normalize($object, $format = null, array $context = array()) $data['workspace'] = $object->getWorkspace(); } if (null !== $object->getVariables()) { - $values = array(); + $values = []; foreach ($object->getVariables() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['variables'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php index 26cf9ef3..334dcfb9 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php index a3e4a8bc..1d54b269 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php index a9e3bc7b..9f4d8b77 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentSecretIdPutPutResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php index 604da1ee..5d6b8e99 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentSecretIdPutPutResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php index c7be6df8..3389b251 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php index 817cd078..d09d4815 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentSecretsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php index b91602d4..364d40a9 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentSecretsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php index 5f580c76..b294f71a 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentSecretsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200'; + return 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\SecretJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php index f110a14c..94b17332 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php index 369795ec..e98b34d7 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php index 7ad46326..2c9ddd42 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php index af0c2017..b57fbc2c 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentVariableFromConfigMapsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200'; + return 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 385a925a..5e156d87 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php index e3b18189..6bc0c263 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php index 71da200b..7fefdba1 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php index 1d48ce97..d669e74c 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class EnvironmentVariableFromSecretsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200'; + return 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionActionJsonldNormalizer.php b/src/Normalizer/ExecutionActionJsonldNormalizer.php index 0488f60d..5c3cebdb 100644 --- a/src/Normalizer/ExecutionActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionActionJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionActionJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionActionJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionActionJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,25 +54,27 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); - } - elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['execution'] = $object->getExecution(); $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionActionJsonldReadNormalizer.php b/src/Normalizer/ExecutionActionJsonldReadNormalizer.php index a5b93ae1..e945af39 100644 --- a/src/Normalizer/ExecutionActionJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionActionJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionActionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,15 +57,18 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionActionNormalizer.php b/src/Normalizer/ExecutionActionNormalizer.php index 3b5492e1..89fa7a76 100644 --- a/src/Normalizer/ExecutionActionNormalizer.php +++ b/src/Normalizer/ExecutionActionNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionActionNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionAction'; + return 'Gyroscops\\Api\\Model\\ExecutionAction' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionAction'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionAction' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,25 +45,27 @@ public function denormalize($data, $class, $format = null, array $context = arra 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']); - } - 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)) { $object->setId($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['execution'] = $object->getExecution(); $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionActionReadNormalizer.php b/src/Normalizer/ExecutionActionReadNormalizer.php index 807ef4b4..29ae946d 100644 --- a/src/Normalizer/ExecutionActionReadNormalizer.php +++ b/src/Normalizer/ExecutionActionReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionActionRead'; + return 'Gyroscops\\Api\\Model\\ExecutionActionRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionActionRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionActionRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,15 +48,18 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php index f179bcce..85a119fe 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,20 +60,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('pipeline', $data)) { $object->setPipeline($data['pipeline']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getSchedule()) { $data['schedule'] = $object->getSchedule(); } if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php index b1558bea..1557954a 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionDeclarePipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,20 +51,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('pipeline', $data)) { $object->setPipeline($data['pipeline']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getSchedule()) { $data['schedule'] = $object->getSchedule(); } if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php index 8afccea2..52f3996a 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php index 57ed4b5a..0bdfec3e 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,17 +57,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php index 52160e38..797edbb2 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionFinishPipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,17 +48,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php index 0e04f793..4e8451ac 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php index 40e2c11d..c30cc7a6 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,17 +57,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php index 1f76fd4f..f84c59ac 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionInterruptPipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,17 +48,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php index fe7041c2..a9d4cc4d 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionJsonldReadNormalizer.php b/src/Normalizer/ExecutionJsonldReadNormalizer.php index 9a81953a..871b7f0b 100644 --- a/src/Normalizer/ExecutionJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -63,80 +66,71 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('errors', $data)) { $object->setErrors($data['errors']); } - if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { + if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); - } - elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { + } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { $object->setScheduledAt(null); } - if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { + if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); - } - elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { + } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { $object->setStartedAt(null); } - if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { + if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); - } - elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { + } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { $object->setFinishedAt(null); } - if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { + if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); - } - elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { + } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { $object->setInterruptedAt(null); } - if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { + if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); - } - elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { + } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { $object->setResumedAt(null); } - if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { + if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); - } - elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { + } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { $object->setUpdatedAt(null); } - if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { + if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); - } - elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { + } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { $object->setTerminatedAt(null); } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); - } - elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); $data['code'] = $object->getCode(); $data['status'] = $object->getStatus(); @@ -164,6 +158,7 @@ public function normalize($object, $format = null, array $context = array()) $data['pipeline'] = $object->getPipeline(); $data['workflow'] = $object->getWorkflow(); $data['action'] = $object->getAction(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php index 99f74335..fe8b3ac2 100644 --- a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionPipelineJobJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,38 +54,40 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } if (\array_key_exists('steps', $data)) { - $values = array(); + $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $value; } $data['steps'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineJobNormalizer.php b/src/Normalizer/ExecutionPipelineJobNormalizer.php index b880d82c..4d8cdad1 100644 --- a/src/Normalizer/ExecutionPipelineJobNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionPipelineJobNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineJob'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineJob'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,38 +45,40 @@ public function denormalize($data, $class, $format = null, array $context = arra 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']); - } - 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)) { $object->setId($data['id']); } if (\array_key_exists('steps', $data)) { - $values = array(); + $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $value; } $data['steps'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJsonldNormalizer.php index 7b151343..a5f92ed4 100644 --- a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionPipelineJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,38 +54,40 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('execution', $data) && $data['execution'] !== null) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); - } - elseif (\array_key_exists('execution', $data) && $data['execution'] === null) { + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } if (\array_key_exists('steps', $data)) { - $values = array(); + $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['execution'] = $object->getExecution(); if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $value; } $data['steps'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineNormalizer.php b/src/Normalizer/ExecutionPipelineNormalizer.php index 370b11b3..88dec5ed 100644 --- a/src/Normalizer/ExecutionPipelineNormalizer.php +++ b/src/Normalizer/ExecutionPipelineNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionPipelineNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipeline'; + return 'Gyroscops\\Api\\Model\\ExecutionPipeline' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipeline'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipeline' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,38 +45,40 @@ public function denormalize($data, $class, $format = null, array $context = arra 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']); - } - 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)) { $object->setId($data['id']); } if (\array_key_exists('steps', $data)) { - $values = array(); + $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['execution'] = $object->getExecution(); if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $value; } $data['steps'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php index cefd3646..088fc20d 100644 --- a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionPipelineStepJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,15 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = arra if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { - $object->setContext($data['@context']); - } if (\array_key_exists('@id', $data)) { $object->setId($data['@id']); } if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + if (\array_key_exists('@context', $data)) { + $object->setContext($data['@context']); + } if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } @@ -58,28 +61,31 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); } if (\array_key_exists('metrics', $data)) { - $values = array(); + $values = []; foreach ($data['metrics'] as $value) { $values[] = $value; } $object->setMetrics($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); if (null !== $object->getMetrics()) { - $values = array(); + $values = []; foreach ($object->getMetrics() as $value) { $values[] = $value; } $data['metrics'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionPipelineStepNormalizer.php b/src/Normalizer/ExecutionPipelineStepNormalizer.php index 9082aa0d..54e9afc6 100644 --- a/src/Normalizer/ExecutionPipelineStepNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionPipelineStepNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionPipelineStep'; + return 'Gyroscops\\Api\\Model\\ExecutionPipelineStep' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionPipelineStep'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionPipelineStep' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -49,28 +52,31 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); } if (\array_key_exists('metrics', $data)) { - $values = array(); + $values = []; foreach ($data['metrics'] as $value) { $values[] = $value; } $object->setMetrics($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); if (null !== $object->getMetrics()) { - $values = array(); + $values = []; foreach ($object->getMetrics() as $value) { $values[] = $value; } $data['metrics'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionReadNormalizer.php b/src/Normalizer/ExecutionReadNormalizer.php index 2b2fa8aa..57983e34 100644 --- a/src/Normalizer/ExecutionReadNormalizer.php +++ b/src/Normalizer/ExecutionReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionRead'; + return 'Gyroscops\\Api\\Model\\ExecutionRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,80 +57,71 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('errors', $data)) { $object->setErrors($data['errors']); } - if (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] !== null) { + if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); - } - elseif (\array_key_exists('scheduledAt', $data) && $data['scheduledAt'] === null) { + } elseif (\array_key_exists('scheduledAt', $data) && null === $data['scheduledAt']) { $object->setScheduledAt(null); } - if (\array_key_exists('startedAt', $data) && $data['startedAt'] !== null) { + if (\array_key_exists('startedAt', $data) && null !== $data['startedAt']) { $object->setStartedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startedAt'])); - } - elseif (\array_key_exists('startedAt', $data) && $data['startedAt'] === null) { + } elseif (\array_key_exists('startedAt', $data) && null === $data['startedAt']) { $object->setStartedAt(null); } - if (\array_key_exists('finishedAt', $data) && $data['finishedAt'] !== null) { + if (\array_key_exists('finishedAt', $data) && null !== $data['finishedAt']) { $object->setFinishedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['finishedAt'])); - } - elseif (\array_key_exists('finishedAt', $data) && $data['finishedAt'] === null) { + } elseif (\array_key_exists('finishedAt', $data) && null === $data['finishedAt']) { $object->setFinishedAt(null); } - if (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] !== null) { + if (\array_key_exists('interruptedAt', $data) && null !== $data['interruptedAt']) { $object->setInterruptedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['interruptedAt'])); - } - elseif (\array_key_exists('interruptedAt', $data) && $data['interruptedAt'] === null) { + } elseif (\array_key_exists('interruptedAt', $data) && null === $data['interruptedAt']) { $object->setInterruptedAt(null); } - if (\array_key_exists('resumedAt', $data) && $data['resumedAt'] !== null) { + if (\array_key_exists('resumedAt', $data) && null !== $data['resumedAt']) { $object->setResumedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['resumedAt'])); - } - elseif (\array_key_exists('resumedAt', $data) && $data['resumedAt'] === null) { + } elseif (\array_key_exists('resumedAt', $data) && null === $data['resumedAt']) { $object->setResumedAt(null); } - if (\array_key_exists('updatedAt', $data) && $data['updatedAt'] !== null) { + if (\array_key_exists('updatedAt', $data) && null !== $data['updatedAt']) { $object->setUpdatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['updatedAt'])); - } - elseif (\array_key_exists('updatedAt', $data) && $data['updatedAt'] === null) { + } elseif (\array_key_exists('updatedAt', $data) && null === $data['updatedAt']) { $object->setUpdatedAt(null); } - if (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] !== null) { + if (\array_key_exists('terminatedAt', $data) && null !== $data['terminatedAt']) { $object->setTerminatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['terminatedAt'])); - } - elseif (\array_key_exists('terminatedAt', $data) && $data['terminatedAt'] === null) { + } elseif (\array_key_exists('terminatedAt', $data) && null === $data['terminatedAt']) { $object->setTerminatedAt(null); } - if (\array_key_exists('reason', $data) && $data['reason'] !== null) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); - } - elseif (\array_key_exists('reason', $data) && $data['reason'] === null) { + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { $object->setReason(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); $data['code'] = $object->getCode(); $data['status'] = $object->getStatus(); @@ -155,6 +149,7 @@ public function normalize($object, $format = null, array $context = array()) $data['pipeline'] = $object->getPipeline(); $data['workflow'] = $object->getWorkflow(); $data['action'] = $object->getAction(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php index a03f3c7a..e1e02bb7 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionResumePipelineExecutionCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,17 +57,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php index 308e2285..7d4844b0 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionResumePipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,17 +48,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php index 36857cb3..0dfb4028 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionResumePipelineExecutionCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php index 5cb4ce0d..a7c0930c 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionStartPipelineExecutionCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,17 +57,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php index 9374a572..a4cacc0d 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionStartPipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,17 +48,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php index df708424..10452a56 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionStartPipelineExecutionCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php index bcb3228c..6093b375 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,20 +60,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('reason', $data)) { $object->setReason($data['reason']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } if (null !== $object->getReason()) { $data['reason'] = $object->getReason(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php index 1194022f..e8ba1770 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionTerminatePipelineExecutionCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,20 +51,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('reason', $data)) { $object->setReason($data['reason']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } if (null !== $object->getReason()) { $data['reason'] = $object->getReason(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php index 706bbcdb..a7a47e01 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php index 4a8112b5..32ac3fd8 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,20 +60,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('stepsUpdates', $data)) { $object->setStepsUpdates($this->denormalizer->denormalize($data['stepsUpdates'], 'Gyroscops\\Api\\Model\\UpdateListJsonld', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } if (null !== $object->getStepsUpdates()) { $data['stepsUpdates'] = $this->normalizer->normalize($object->getStepsUpdates(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php index fec52226..76458eea 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionUpdatePipelineExecutionStateCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput'; + return 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,20 +51,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('stepsUpdates', $data)) { $object->setStepsUpdates($this->denormalizer->denormalize($data['stepsUpdates'], 'Gyroscops\\Api\\Model\\UpdateList', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getExecution()) { $data['execution'] = $object->getExecution(); } if (null !== $object->getStepsUpdates()) { $data['stepsUpdates'] = $this->normalizer->normalize($object->getStepsUpdates(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php index 4a34843e..5873a3d2 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php index 3fc6da3f..b406501d 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionWorkflowJobActionJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,25 +54,27 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php index eca8916e..e22dc830 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionWorkflowJobActionNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,25 +45,27 @@ public function denormalize($data, $class, $format = null, array $context = arra 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']); - } - 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)) { $object->setId($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php index 433c8d6c..0c0d11c4 100644 --- a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionWorkflowJobJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,36 +57,36 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); $data['workflow'] = $object->getWorkflow(); $data['pipeline'] = $object->getPipeline(); $data['action'] = $object->getAction(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJobNormalizer.php b/src/Normalizer/ExecutionWorkflowJobNormalizer.php index fffc20b4..462f4c1d 100644 --- a/src/Normalizer/ExecutionWorkflowJobNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionWorkflowJobNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,36 +48,36 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId($data['id']); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); $data['workflow'] = $object->getWorkflow(); $data['pipeline'] = $object->getPipeline(); $data['action'] = $object->getAction(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php index 9f7e9926..7781c0e8 100644 --- a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionWorkflowJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -55,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setId2($data['id']); } if (\array_key_exists('jobs', $data)) { - $values = array(); + $values = []; foreach ($data['jobs'] as $value) { $values[] = $value; } @@ -64,22 +67,25 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getJobs()) { - $values = array(); + $values = []; foreach ($object->getJobs() as $value) { $values[] = $value; } $data['jobs'] = $values; } $data['execution'] = $object->getExecution(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ExecutionWorkflowNormalizer.php b/src/Normalizer/ExecutionWorkflowNormalizer.php index af97b2b3..972b81f0 100644 --- a/src/Normalizer/ExecutionWorkflowNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ExecutionWorkflowNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ExecutionWorkflow'; + return 'Gyroscops\\Api\\Model\\ExecutionWorkflow' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ExecutionWorkflow'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ExecutionWorkflow' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -46,7 +49,7 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setId($data['id']); } if (\array_key_exists('jobs', $data)) { - $values = array(); + $values = []; foreach ($data['jobs'] as $value) { $values[] = $value; } @@ -55,22 +58,25 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('execution', $data)) { $object->setExecution($data['execution']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getJobs()) { - $values = array(); + $values = []; foreach ($object->getJobs() as $value) { $values[] = $value; } $data['jobs'] = $values; } $data['execution'] = $object->getExecution(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..0803a45c --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..91bb706b --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..0b207eee --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php new file mode 100644 index 00000000..4550c500 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..abfcf776 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..06c6b29d --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..c91e097c --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php new file mode 100644 index 00000000..5990fa91 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..9e5bdc4a --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..5d907769 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..72ce7b7e --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php new file mode 100644 index 00000000..1c019d1c --- /dev/null +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..4f9ae67b --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..1601c47e --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..623af985 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php new file mode 100644 index 00000000..469086ad --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..85017e6a --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..fc9da862 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..f994190b --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php new file mode 100644 index 00000000..37966195 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..369b0407 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..dfb3d1a3 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..bd58a048 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php new file mode 100644 index 00000000..71c7d810 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..7da399a1 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php new file mode 100644 index 00000000..542eacef --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php new file mode 100644 index 00000000..fdc16358 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php new file mode 100644 index 00000000..822ca802 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php new file mode 100644 index 00000000..247c56ec --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -0,0 +1,87 @@ +setType($data['@type']); + } + if (\array_key_exists('variable', $data)) { + $object->setVariable($data['variable']); + } + if (\array_key_exists('property', $data) && null !== $data['property']) { + $object->setProperty($data['property']); + } elseif (\array_key_exists('property', $data) && null === $data['property']) { + $object->setProperty(null); + } + if (\array_key_exists('required', $data)) { + $object->setRequired($data['required']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getVariable()) { + $data['variable'] = $object->getVariable(); + } + if (null !== $object->getProperty()) { + $data['property'] = $object->getProperty(); + } + if (null !== $object->getRequired()) { + $data['required'] = $object->getRequired(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php new file mode 100644 index 00000000..b574c332 --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php @@ -0,0 +1,93 @@ +setType($data['@type']); + } + if (\array_key_exists('hydra:template', $data)) { + $object->setHydraTemplate($data['hydra:template']); + } + if (\array_key_exists('hydra:variableRepresentation', $data)) { + $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } + if (\array_key_exists('hydra:mapping', $data)) { + $values = []; + foreach ($data['hydra:mapping'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem', 'json', $context); + } + $object->setHydraMapping($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraTemplate()) { + $data['hydra:template'] = $object->getHydraTemplate(); + } + if (null !== $object->getHydraVariableRepresentation()) { + $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); + } + if (null !== $object->getHydraMapping()) { + $values = []; + foreach ($object->getHydraMapping() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:mapping'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php new file mode 100644 index 00000000..c856dccd --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php @@ -0,0 +1,97 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('hydra:first', $data)) { + $object->setHydraFirst($data['hydra:first']); + } + if (\array_key_exists('hydra:last', $data)) { + $object->setHydraLast($data['hydra:last']); + } + if (\array_key_exists('hydra:previous', $data)) { + $object->setHydraPrevious($data['hydra:previous']); + } + if (\array_key_exists('hydra:next', $data)) { + $object->setHydraNext($data['hydra:next']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getId()) { + $data['@id'] = $object->getId(); + } + if (null !== $object->getType()) { + $data['@type'] = $object->getType(); + } + if (null !== $object->getHydraFirst()) { + $data['hydra:first'] = $object->getHydraFirst(); + } + if (null !== $object->getHydraLast()) { + $data['hydra:last'] = $object->getHydraLast(); + } + if (null !== $object->getHydraPrevious()) { + $data['hydra:previous'] = $object->getHydraPrevious(); + } + if (null !== $object->getHydraNext()) { + $data['hydra:next'] = $object->getHydraNext(); + } + + return $data; + } +} diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php new file mode 100644 index 00000000..3a8ce2cf --- /dev/null +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php @@ -0,0 +1,91 @@ +denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead', 'json', $context); + } + $object->setHydraMember($values); + } + if (\array_key_exists('hydra:totalItems', $data)) { + $object->setHydraTotalItems($data['hydra:totalItems']); + } + if (\array_key_exists('hydra:view', $data)) { + $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraView', 'json', $context)); + } + if (\array_key_exists('hydra:search', $data)) { + $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearch', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $values = []; + foreach ($object->getHydraMember() as $value) { + $values[] = $this->normalizer->normalize($value, 'json', $context); + } + $data['hydra:member'] = $values; + if (null !== $object->getHydraTotalItems()) { + $data['hydra:totalItems'] = $object->getHydraTotalItems(); + } + if (null !== $object->getHydraView()) { + $data['hydra:view'] = $this->normalizer->normalize($object->getHydraView(), 'json', $context); + } + if (null !== $object->getHydraSearch()) { + $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/JaneObjectNormalizer.php b/src/Normalizer/JaneObjectNormalizer.php index 1b636d19..c998b596 100644 --- a/src/Normalizer/JaneObjectNormalizer.php +++ b/src/Normalizer/JaneObjectNormalizer.php @@ -9,12 +9,15 @@ use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; - protected $normalizers = array('Gyroscops\\Api\\Model\\AbstractPipeline' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ActionRead' => 'Gyroscops\\Api\\Normalizer\\ActionReadNormalizer', 'Gyroscops\\Api\\Model\\ActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInput' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInput' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Environment' => 'Gyroscops\\Api\\Normalizer\\EnvironmentNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonld' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipeline' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStep' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflow' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\Organization' => 'Gyroscops\\Api\\Normalizer\\OrganizationNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonld' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilation' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineIdJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStep' => 'Gyroscops\\Api\\Normalizer\\PipelineStepNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbe' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\Probe' => 'Gyroscops\\Api\\Normalizer\\ProbeNormalizer', 'Gyroscops\\Api\\Model\\ProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\ProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestJsonldReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\Schedule' => 'Gyroscops\\Api\\Normalizer\\ScheduleNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleIdJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Secret' => 'Gyroscops\\Api\\Normalizer\\SecretNormalizer', 'Gyroscops\\Api\\Model\\SecretConfigMapInput' => 'Gyroscops\\Api\\Normalizer\\SecretConfigMapInputNormalizer', 'Gyroscops\\Api\\Model\\SecretConfigMapInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretConfigMapInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInput' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretValueInput' => 'Gyroscops\\Api\\Normalizer\\SecretValueInputNormalizer', 'Gyroscops\\Api\\Model\\SecretValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\StepInput' => 'Gyroscops\\Api\\Normalizer\\StepInputNormalizer', 'Gyroscops\\Api\\Model\\StepInputJsonld' => 'Gyroscops\\Api\\Normalizer\\StepInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\TraversableJsonld' => 'Gyroscops\\Api\\Normalizer\\TraversableJsonldNormalizer', 'Gyroscops\\Api\\Model\\UpdateList' => 'Gyroscops\\Api\\Normalizer\\UpdateListNormalizer', 'Gyroscops\\Api\\Model\\UpdateListJsonld' => 'Gyroscops\\Api\\Normalizer\\UpdateListJsonldNormalizer', 'Gyroscops\\Api\\Model\\User' => 'Gyroscops\\Api\\Normalizer\\UserNormalizer', 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput' => 'Gyroscops\\Api\\Normalizer\\UserUserChangePasswordInputNormalizer', 'Gyroscops\\Api\\Model\\UserJsonld' => 'Gyroscops\\Api\\Normalizer\\UserJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorization' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserIdJsonld' => 'Gyroscops\\Api\\Normalizer\\UserIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Variable' => 'Gyroscops\\Api\\Normalizer\\VariableNormalizer', 'Gyroscops\\Api\\Model\\VariableJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMap' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecret' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipeline' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\Workspace' => 'Gyroscops\\Api\\Normalizer\\WorkspaceNormalizer', 'Gyroscops\\Api\\Model\\WorkspaceJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkspaceJsonldNormalizer', 'Gyroscops\\Api\\Model\\Token' => 'Gyroscops\\Api\\Normalizer\\TokenNormalizer', 'Gyroscops\\Api\\Model\\Credentials' => 'Gyroscops\\Api\\Normalizer\\CredentialsNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Gyroscops\\Api\\Runtime\\Normalizer\\ReferenceNormalizer'), $normalizersCache = array(); + protected $normalizers = ['Gyroscops\\Api\\Model\\AbstractPipeline' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ActionRead' => 'Gyroscops\\Api\\Normalizer\\ActionReadNormalizer', 'Gyroscops\\Api\\Model\\ActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstance' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceAkeneoInstanceInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceAkeneoInstanceInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthStateInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthStateInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthTokenInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthTokenInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInput' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\BigDecimal' => 'Gyroscops\\Api\\Normalizer\\BigDecimalNormalizer', 'Gyroscops\\Api\\Model\\BigDecimalJsonld' => 'Gyroscops\\Api\\Normalizer\\BigDecimalJsonldNormalizer', 'Gyroscops\\Api\\Model\\BigInteger' => 'Gyroscops\\Api\\Normalizer\\BigIntegerNormalizer', 'Gyroscops\\Api\\Model\\BigIntegerJsonld' => 'Gyroscops\\Api\\Normalizer\\BigIntegerJsonldNormalizer', 'Gyroscops\\Api\\Model\\BigNumber' => 'Gyroscops\\Api\\Normalizer\\BigNumberNormalizer', 'Gyroscops\\Api\\Model\\BigNumberJsonld' => 'Gyroscops\\Api\\Normalizer\\BigNumberJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMap' => 'Gyroscops\\Api\\Normalizer\\ConfigMapNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInput' => 'Gyroscops\\Api\\Normalizer\\ConfigMapConfigMapInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapConfigMapInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInput' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Context' => 'Gyroscops\\Api\\Normalizer\\ContextNormalizer', 'Gyroscops\\Api\\Model\\ContextJsonld' => 'Gyroscops\\Api\\Normalizer\\ContextJsonldNormalizer', 'Gyroscops\\Api\\Model\\Currency' => 'Gyroscops\\Api\\Normalizer\\CurrencyNormalizer', 'Gyroscops\\Api\\Model\\CurrencyJsonld' => 'Gyroscops\\Api\\Normalizer\\CurrencyJsonldNormalizer', 'Gyroscops\\Api\\Model\\Environment' => 'Gyroscops\\Api\\Normalizer\\EnvironmentNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonld' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipeline' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStep' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflow' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\Money' => 'Gyroscops\\Api\\Normalizer\\MoneyNormalizer', 'Gyroscops\\Api\\Model\\MoneyJsonld' => 'Gyroscops\\Api\\Normalizer\\MoneyJsonldNormalizer', 'Gyroscops\\Api\\Model\\Offer' => 'Gyroscops\\Api\\Normalizer\\OfferNormalizer', 'Gyroscops\\Api\\Model\\OfferJsonld' => 'Gyroscops\\Api\\Normalizer\\OfferJsonldNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\Option' => 'Gyroscops\\Api\\Normalizer\\OptionNormalizer', 'Gyroscops\\Api\\Model\\OptionJsonld' => 'Gyroscops\\Api\\Normalizer\\OptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\Organization' => 'Gyroscops\\Api\\Normalizer\\OrganizationNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonld' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilation' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineIdJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStep' => 'Gyroscops\\Api\\Normalizer\\PipelineStepNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbe' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\Price' => 'Gyroscops\\Api\\Normalizer\\PriceNormalizer', 'Gyroscops\\Api\\Model\\PriceJsonld' => 'Gyroscops\\Api\\Normalizer\\PriceJsonldNormalizer', 'Gyroscops\\Api\\Model\\Probe' => 'Gyroscops\\Api\\Normalizer\\ProbeNormalizer', 'Gyroscops\\Api\\Model\\ProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\ProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestJsonldReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\Schedule' => 'Gyroscops\\Api\\Normalizer\\ScheduleNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleIdJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Secret' => 'Gyroscops\\Api\\Normalizer\\SecretNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInput' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretInput' => 'Gyroscops\\Api\\Normalizer\\SecretInputNormalizer', 'Gyroscops\\Api\\Model\\SecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\StepInput' => 'Gyroscops\\Api\\Normalizer\\StepInputNormalizer', 'Gyroscops\\Api\\Model\\StepInputJsonld' => 'Gyroscops\\Api\\Normalizer\\StepInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Subscription' => 'Gyroscops\\Api\\Normalizer\\SubscriptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOption' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\TraversableJsonld' => 'Gyroscops\\Api\\Normalizer\\TraversableJsonldNormalizer', 'Gyroscops\\Api\\Model\\UpdateList' => 'Gyroscops\\Api\\Normalizer\\UpdateListNormalizer', 'Gyroscops\\Api\\Model\\UpdateListJsonld' => 'Gyroscops\\Api\\Normalizer\\UpdateListJsonldNormalizer', 'Gyroscops\\Api\\Model\\User' => 'Gyroscops\\Api\\Normalizer\\UserNormalizer', 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput' => 'Gyroscops\\Api\\Normalizer\\UserUserChangePasswordInputNormalizer', 'Gyroscops\\Api\\Model\\UserJsonld' => 'Gyroscops\\Api\\Normalizer\\UserJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorization' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserIdJsonld' => 'Gyroscops\\Api\\Normalizer\\UserIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Variable' => 'Gyroscops\\Api\\Normalizer\\VariableNormalizer', 'Gyroscops\\Api\\Model\\VariableJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMap' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecret' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipeline' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\Workspace' => 'Gyroscops\\Api\\Normalizer\\WorkspaceNormalizer', 'Gyroscops\\Api\\Model\\WorkspaceJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkspaceJsonldNormalizer', 'Gyroscops\\Api\\Model\\Token' => 'Gyroscops\\Api\\Normalizer\\TokenNormalizer', 'Gyroscops\\Api\\Model\\Credentials' => 'Gyroscops\\Api\\Normalizer\\CredentialsNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBody' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Gyroscops\\Api\\Runtime\\Normalizer\\ReferenceNormalizer']; + protected $normalizersCache = []; + /** * @return bool */ @@ -22,6 +25,7 @@ public function supportsDenormalization($data, $type, $format = null) { return array_key_exists($type, $this->normalizers); } + /** * @return bool */ @@ -29,34 +33,41 @@ public function supportsNormalization($data, $format = null) { return is_object($data) && array_key_exists(get_class($data), $this->normalizers); } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { $normalizerClass = $this->normalizers[get_class($object)]; $normalizer = $this->getNormalizer($normalizerClass); + return $normalizer->normalize($object, $format, $context); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { $denormalizerClass = $this->normalizers[$class]; $denormalizer = $this->getNormalizer($denormalizerClass); + return $denormalizer->denormalize($data, $class, $format, $context); } + private function getNormalizer(string $normalizerClass) { return $this->normalizersCache[$normalizerClass] ?? $this->initNormalizer($normalizerClass); } + private function initNormalizer(string $normalizerClass) { $normalizer = new $normalizerClass(); $normalizer->setNormalizer($this->normalizer); $normalizer->setDenormalizer($this->denormalizer); $this->normalizersCache[$normalizerClass] = $normalizer; + return $normalizer; } -} \ No newline at end of file +} diff --git a/src/Normalizer/MoneyJsonldNormalizer.php b/src/Normalizer/MoneyJsonldNormalizer.php new file mode 100644 index 00000000..a9305706 --- /dev/null +++ b/src/Normalizer/MoneyJsonldNormalizer.php @@ -0,0 +1,125 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('amount', $data)) { + $object->setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\BigDecimalJsonld', 'json', $context)); + } + if (\array_key_exists('currency', $data)) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Gyroscops\\Api\\Model\\CurrencyJsonld', 'json', $context)); + } + if (\array_key_exists('context', $data)) { + $object->setContext2($this->denormalizer->denormalize($data['context'], 'Gyroscops\\Api\\Model\\ContextJsonld', 'json', $context)); + } + if (\array_key_exists('minorAmount', $data)) { + $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], 'Gyroscops\\Api\\Model\\BigDecimalJsonld', 'json', $context)); + } + if (\array_key_exists('unscaledAmount', $data)) { + $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], 'Gyroscops\\Api\\Model\\BigIntegerJsonld', 'json', $context)); + } + if (\array_key_exists('amounts', $data)) { + $values = []; + foreach ($data['amounts'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumberJsonld', 'json', $context); + } + $object->setAmounts($values); + } + if (\array_key_exists('sign', $data)) { + $object->setSign($data['sign']); + } + if (\array_key_exists('zero', $data)) { + $object->setZero($data['zero']); + } + if (\array_key_exists('negative', $data)) { + $object->setNegative($data['negative']); + } + if (\array_key_exists('negativeOrZero', $data)) { + $object->setNegativeOrZero($data['negativeOrZero']); + } + if (\array_key_exists('positive', $data)) { + $object->setPositive($data['positive']); + } + if (\array_key_exists('positiveOrZero', $data)) { + $object->setPositiveOrZero($data['positiveOrZero']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getAmount()) { + $data['amount'] = $this->normalizer->normalize($object->getAmount(), 'json', $context); + } + if (null !== $object->getCurrency()) { + $data['currency'] = $this->normalizer->normalize($object->getCurrency(), 'json', $context); + } + if (null !== $object->getContext2()) { + $data['context'] = $this->normalizer->normalize($object->getContext2(), 'json', $context); + } + if (null !== $object->getMinorAmount()) { + $data['minorAmount'] = $this->normalizer->normalize($object->getMinorAmount(), 'json', $context); + } + if (null !== $object->getUnscaledAmount()) { + $data['unscaledAmount'] = $this->normalizer->normalize($object->getUnscaledAmount(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/MoneyNormalizer.php b/src/Normalizer/MoneyNormalizer.php new file mode 100644 index 00000000..638a6b1a --- /dev/null +++ b/src/Normalizer/MoneyNormalizer.php @@ -0,0 +1,116 @@ +setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\BigDecimal', 'json', $context)); + } + if (\array_key_exists('currency', $data)) { + $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Gyroscops\\Api\\Model\\Currency', 'json', $context)); + } + if (\array_key_exists('context', $data)) { + $object->setContext($this->denormalizer->denormalize($data['context'], 'Gyroscops\\Api\\Model\\Context', 'json', $context)); + } + if (\array_key_exists('minorAmount', $data)) { + $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], 'Gyroscops\\Api\\Model\\BigDecimal', 'json', $context)); + } + if (\array_key_exists('unscaledAmount', $data)) { + $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], 'Gyroscops\\Api\\Model\\BigInteger', 'json', $context)); + } + if (\array_key_exists('amounts', $data)) { + $values = []; + foreach ($data['amounts'] as $value) { + $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumber', 'json', $context); + } + $object->setAmounts($values); + } + if (\array_key_exists('sign', $data)) { + $object->setSign($data['sign']); + } + if (\array_key_exists('zero', $data)) { + $object->setZero($data['zero']); + } + if (\array_key_exists('negative', $data)) { + $object->setNegative($data['negative']); + } + if (\array_key_exists('negativeOrZero', $data)) { + $object->setNegativeOrZero($data['negativeOrZero']); + } + if (\array_key_exists('positive', $data)) { + $object->setPositive($data['positive']); + } + if (\array_key_exists('positiveOrZero', $data)) { + $object->setPositiveOrZero($data['positiveOrZero']); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getAmount()) { + $data['amount'] = $this->normalizer->normalize($object->getAmount(), 'json', $context); + } + if (null !== $object->getCurrency()) { + $data['currency'] = $this->normalizer->normalize($object->getCurrency(), 'json', $context); + } + if (null !== $object->getContext()) { + $data['context'] = $this->normalizer->normalize($object->getContext(), 'json', $context); + } + if (null !== $object->getMinorAmount()) { + $data['minorAmount'] = $this->normalizer->normalize($object->getMinorAmount(), 'json', $context); + } + if (null !== $object->getUnscaledAmount()) { + $data['unscaledAmount'] = $this->normalizer->normalize($object->getUnscaledAmount(), 'json', $context); + } + + return $data; + } +} diff --git a/src/Normalizer/OfferJsonldNormalizer.php b/src/Normalizer/OfferJsonldNormalizer.php new file mode 100644 index 00000000..05e1d993 --- /dev/null +++ b/src/Normalizer/OfferJsonldNormalizer.php @@ -0,0 +1,107 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('@context', $data)) { + $object->setContext($data['@context']); + } + if (\array_key_exists('options', $data)) { + $values = []; + foreach ($data['options'] as $value) { + $values[] = $value; + } + $object->setOptions($values); + } + if (\array_key_exists('id', $data)) { + $object->setId2($data['id']); + } + if (\array_key_exists('sku', $data)) { + $object->setSku($data['sku']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + } + if (\array_key_exists('slug', $data)) { + $object->setSlug($data['slug']); + } + if (\array_key_exists('description', $data)) { + $object->setDescription($data['description']); + } + if (\array_key_exists('price', $data)) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getOptions()) { + $values = []; + foreach ($object->getOptions() as $value) { + $values[] = $value; + } + $data['options'] = $values; + } + $data['sku'] = $object->getSku(); + $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); + $data['description'] = $object->getDescription(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/OfferNormalizer.php b/src/Normalizer/OfferNormalizer.php new file mode 100644 index 00000000..eac96ae3 --- /dev/null +++ b/src/Normalizer/OfferNormalizer.php @@ -0,0 +1,98 @@ +setOptions($values); + } + if (\array_key_exists('id', $data)) { + $object->setId($data['id']); + } + if (\array_key_exists('sku', $data)) { + $object->setSku($data['sku']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + } + if (\array_key_exists('slug', $data)) { + $object->setSlug($data['slug']); + } + if (\array_key_exists('description', $data)) { + $object->setDescription($data['description']); + } + if (\array_key_exists('price', $data)) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getOptions()) { + $values = []; + foreach ($object->getOptions() as $value) { + $values[] = $value; + } + $data['options'] = $values; + } + $data['sku'] = $object->getSku(); + $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); + $data['description'] = $object->getDescription(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php index c6082367..e3d5fb50 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class OnPremiseRequestJsonldOnPremiseRequestReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead'; + return 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -69,14 +72,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('createdAt', $data)) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); if (null !== $object->getEmail()) { @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCreatedAt()) { $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php index 0b86bf51..f584f64f 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite'; + return 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite'; + return is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -63,20 +66,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('message', $data)) { $object->setMessage($data['message']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); if (null !== $object->getEmail()) { $data['email'] = $object->getEmail(); } $data['message'] = $object->getMessage(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php index fae7cbb2..db0f6806 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class OnPremiseRequestOnPremiseRequestReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead'; + return 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('createdAt', $data)) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); if (null !== $object->getEmail()) { @@ -77,6 +82,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCreatedAt()) { $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php index 18eb7b55..c5debea0 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class OnPremiseRequestOnPremiseRequestWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite'; + return 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite'; + return is_object($data) && 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,20 +57,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('message', $data)) { $object->setMessage($data['message']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); if (null !== $object->getEmail()) { $data['email'] = $object->getEmail(); } $data['message'] = $object->getMessage(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OptionJsonldNormalizer.php b/src/Normalizer/OptionJsonldNormalizer.php new file mode 100644 index 00000000..70fe3139 --- /dev/null +++ b/src/Normalizer/OptionJsonldNormalizer.php @@ -0,0 +1,96 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('offer', $data) && null !== $data['offer']) { + $object->setOffer($data['offer']); + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + $object->setOffer(null); + } + if (\array_key_exists('id', $data)) { + $object->setId2($data['id']); + } + if (\array_key_exists('sku', $data)) { + $object->setSku($data['sku']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + } + if (\array_key_exists('slug', $data)) { + $object->setSlug($data['slug']); + } + if (\array_key_exists('description', $data)) { + $object->setDescription($data['description']); + } + if (\array_key_exists('price', $data)) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['offer'] = $object->getOffer(); + $data['sku'] = $object->getSku(); + $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); + $data['description'] = $object->getDescription(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/OptionNormalizer.php b/src/Normalizer/OptionNormalizer.php new file mode 100644 index 00000000..0051f28a --- /dev/null +++ b/src/Normalizer/OptionNormalizer.php @@ -0,0 +1,90 @@ +setOffer($data['offer']); + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + $object->setOffer(null); + } + if (\array_key_exists('id', $data)) { + $object->setId($data['id']); + } + if (\array_key_exists('sku', $data)) { + $object->setSku($data['sku']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + } + if (\array_key_exists('slug', $data)) { + $object->setSlug($data['slug']); + } + if (\array_key_exists('description', $data)) { + $object->setDescription($data['description']); + } + if (\array_key_exists('price', $data)) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['offer'] = $object->getOffer(); + $data['sku'] = $object->getSku(); + $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); + $data['description'] = $object->getDescription(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/OrganizationJsonldNormalizer.php b/src/Normalizer/OrganizationJsonldNormalizer.php index 6cc0e740..2d9d43cd 100644 --- a/src/Normalizer/OrganizationJsonldNormalizer.php +++ b/src/Normalizer/OrganizationJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class OrganizationJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\OrganizationJsonld'; + return 'Gyroscops\\Api\\Model\\OrganizationJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\OrganizationJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\OrganizationJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -55,7 +58,7 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setId2($data['id']); } if (\array_key_exists('authorizations', $data)) { - $values = array(); + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } @@ -68,36 +71,38 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setSlug($data['slug']); } if (\array_key_exists('users', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); } if (\array_key_exists('externalCollaborators', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['externalCollaborators'] as $value_2) { $values_2[] = $value_2; } $object->setExternalCollaborators($values_2); } if (\array_key_exists('workspaces', $data)) { - $values_3 = array(); + $values_3 = []; foreach ($data['workspaces'] as $value_3) { $values_3[] = $value_3; } $object->setWorkspaces($values_3); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getAuthorizations()) { - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } @@ -106,26 +111,27 @@ public function normalize($object, $format = null, array $context = array()) $data['name'] = $object->getName(); $data['slug'] = $object->getSlug(); if (null !== $object->getUsers()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getUsers() as $value_1) { $values_1[] = $value_1; } $data['users'] = $values_1; } if (null !== $object->getExternalCollaborators()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getExternalCollaborators() as $value_2) { $values_2[] = $value_2; } $data['externalCollaborators'] = $values_2; } if (null !== $object->getWorkspaces()) { - $values_3 = array(); + $values_3 = []; foreach ($object->getWorkspaces() as $value_3) { $values_3[] = $value_3; } $data['workspaces'] = $values_3; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/OrganizationNormalizer.php b/src/Normalizer/OrganizationNormalizer.php index 6b9ffa0b..b8358705 100644 --- a/src/Normalizer/OrganizationNormalizer.php +++ b/src/Normalizer/OrganizationNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class OrganizationNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\Organization'; + return 'Gyroscops\\Api\\Model\\Organization' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Organization'; + return is_object($data) && 'Gyroscops\\Api\\Model\\Organization' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -46,7 +49,7 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setId($data['id']); } if (\array_key_exists('authorizations', $data)) { - $values = array(); + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } @@ -59,36 +62,38 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setSlug($data['slug']); } if (\array_key_exists('users', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); } if (\array_key_exists('externalCollaborators', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['externalCollaborators'] as $value_2) { $values_2[] = $value_2; } $object->setExternalCollaborators($values_2); } if (\array_key_exists('workspaces', $data)) { - $values_3 = array(); + $values_3 = []; foreach ($data['workspaces'] as $value_3) { $values_3[] = $value_3; } $object->setWorkspaces($values_3); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getAuthorizations()) { - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } @@ -97,26 +102,27 @@ public function normalize($object, $format = null, array $context = array()) $data['name'] = $object->getName(); $data['slug'] = $object->getSlug(); if (null !== $object->getUsers()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getUsers() as $value_1) { $values_1[] = $value_1; } $data['users'] = $values_1; } if (null !== $object->getExternalCollaborators()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getExternalCollaborators() as $value_2) { $values_2[] = $value_2; } $data['externalCollaborators'] = $values_2; } if (null !== $object->getWorkspaces()) { - $values_3 = array(); + $values_3 = []; foreach ($object->getWorkspaces() as $value_3) { $values_3[] = $value_3; } $data['workspaces'] = $values_3; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php index 3d2a754c..269e8f4f 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddAfterPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -64,9 +67,9 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -75,20 +78,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setConfiguration($values); } if (\array_key_exists('probes', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -102,9 +107,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -113,12 +118,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php index 2e713c72..ef72b2b5 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddAfterPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -55,9 +58,9 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -66,20 +69,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setConfiguration($values); } if (\array_key_exists('probes', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -93,9 +98,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -104,12 +109,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php index 0046d0ad..86830df0 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddAfterPipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php index f44c28b8..aa24ede0 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddBeforePipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -64,9 +67,9 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -75,20 +78,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setConfiguration($values); } if (\array_key_exists('probes', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -102,9 +107,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -113,12 +118,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php index 46b32d34..df67b5e3 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddBeforePipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -55,9 +58,9 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -66,20 +69,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setConfiguration($values); } if (\array_key_exists('probes', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -93,9 +98,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -104,12 +109,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php index 30e6c6e1..fb054ab3 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddBeforePipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php index e708df3f..cba148c9 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -58,20 +61,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setNamespace($data['namespace']); } if (\array_key_exists('paths', $data)) { - $values = array(); + $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -79,12 +84,13 @@ public function normalize($object, $format = null, array $context = array()) $data['namespace'] = $object->getNamespace(); } if (null !== $object->getPaths()) { - $values = array(); + $values = []; foreach ($object->getPaths() as $value) { $values[] = $value; } $data['paths'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php index e97c2abd..49b51f86 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -49,20 +52,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setNamespace($data['namespace']); } if (\array_key_exists('paths', $data)) { - $values = array(); + $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -70,12 +75,13 @@ public function normalize($object, $format = null, array $context = array()) $data['namespace'] = $object->getNamespace(); } if (null !== $object->getPaths()) { - $values = array(); + $values = []; foreach ($object->getPaths() as $value) { $values[] = $value; } $data['paths'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php index 3aa6d54e..35c30dbf 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php index ecd5720d..1654e32f 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddPipelineStepProbCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('probe', $data)) { $object->setProbe($this->denormalizer->denormalize($data['probe'], 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $object->getId2(); } @@ -77,6 +82,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getProbe()) { $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php index 445c8143..be4584bb 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddPipelineStepProbCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('probe', $data)) { $object->setProbe($this->denormalizer->denormalize($data['probe'], 'Gyroscops\\Api\\Model\\Probe', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -68,6 +73,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getProbe()) { $data['probe'] = $this->normalizer->normalize($object->getProbe(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php index 71eca6a0..ed637c65 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAddPipelineStepProbeCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php index c2492ee2..67425a82 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAppendPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -61,9 +64,9 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -72,20 +75,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setConfiguration($values); } if (\array_key_exists('probes', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -96,9 +101,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -107,12 +112,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php index 74865831..f188a4fe 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAppendPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,9 +55,9 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('configuration', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -63,20 +66,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setConfiguration($values); } if (\array_key_exists('probes', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -87,9 +92,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -98,12 +103,13 @@ public function normalize($object, $format = null, array $context = array()) $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php index 1bc8a2b3..c2f4c4b0 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineAppendPipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilationJsonldNormalizer.php b/src/Normalizer/PipelineCompilationJsonldNormalizer.php index 4c3b8dc5..cacbb467 100644 --- a/src/Normalizer/PipelineCompilationJsonldNormalizer.php +++ b/src/Normalizer/PipelineCompilationJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineCompilationJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,29 +63,29 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('pipeline', $data)) { $object->setPipeline($data['pipeline']); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); - } - elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } if (\array_key_exists('owner', $data)) { $object->setOwner($data['owner']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); if (null !== $object->getCreatedAt()) { $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); @@ -97,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getOwner()) { $data['owner'] = $object->getOwner(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilationNormalizer.php b/src/Normalizer/PipelineCompilationNormalizer.php index 55d40653..5338b51d 100644 --- a/src/Normalizer/PipelineCompilationNormalizer.php +++ b/src/Normalizer/PipelineCompilationNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineCompilationNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineCompilation'; + return 'Gyroscops\\Api\\Model\\PipelineCompilation' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineCompilation'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilation' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,29 +54,29 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('pipeline', $data)) { $object->setPipeline($data['pipeline']); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); - } - elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } if (\array_key_exists('owner', $data)) { $object->setOwner($data['owner']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); if (null !== $object->getCreatedAt()) { $data['createdAt'] = $object->getCreatedAt()->format('Y-m-d\\TH:i:sP'); @@ -88,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getOwner()) { $data['owner'] = $object->getOwner(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php index 87f4bf1d..612871fc 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineCompilePipelineCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,17 +57,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('pipeline', $data)) { $object->setPipeline($data['pipeline']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php index 34bdfdaf..f8c5ee99 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineCompilePipelineCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,17 +48,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('pipeline', $data)) { $object->setPipeline($data['pipeline']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php index d3268c61..a365a9af 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineCompilePipelineCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php index 4c2f613b..c47c3752 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineDeclarePipelineCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,34 +63,35 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('workspace', $data)) { $object->setWorkspace($data['workspace']); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } if (\array_key_exists('steps', $data)) { - $values = array(); + $values = []; foreach ($data['steps'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepInputJsonld', 'json', $context); } $object->setSteps($values); } if (\array_key_exists('autoloads', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['autoloads'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\AutoloadInputJsonld', 'json', $context); } $object->setAutoloads($values_1); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getLabel()) { $data['label'] = $object->getLabel(); } @@ -101,19 +105,20 @@ public function normalize($object, $format = null, array $context = array()) $data['organization'] = $object->getOrganization(); } if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['steps'] = $values; } if (null !== $object->getAutoloads()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoloads() as $value_1) { $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); } $data['autoloads'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php index 7603c1d2..39a1cf1e 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineDeclarePipelineCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,34 +54,35 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('workspace', $data)) { $object->setWorkspace($data['workspace']); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } if (\array_key_exists('steps', $data)) { - $values = array(); + $values = []; foreach ($data['steps'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepInput', 'json', $context); } $object->setSteps($values); } if (\array_key_exists('autoloads', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['autoloads'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\AutoloadInput', 'json', $context); } $object->setAutoloads($values_1); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getLabel()) { $data['label'] = $object->getLabel(); } @@ -92,19 +96,20 @@ public function normalize($object, $format = null, array $context = array()) $data['organization'] = $object->getOrganization(); } if (null !== $object->getSteps()) { - $values = array(); + $values = []; foreach ($object->getSteps() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['steps'] = $values; } if (null !== $object->getAutoloads()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoloads() as $value_1) { $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); } $data['autoloads'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php index 715d3982..9fe539dd 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineDeclarePipelineCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineIdJsonldNormalizer.php b/src/Normalizer/PipelineIdJsonldNormalizer.php index 6085d296..5fd60857 100644 --- a/src/Normalizer/PipelineIdJsonldNormalizer.php +++ b/src/Normalizer/PipelineIdJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineIdJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineIdJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineIdJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineIdJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineJsonldReadNormalizer.php b/src/Normalizer/PipelineJsonldReadNormalizer.php index e92ef76b..3a099484 100644 --- a/src/Normalizer/PipelineJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,22 +45,21 @@ public function denormalize($data, $class, $format = null, array $context = arra if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { - $object->setContext($data['@context']); - } if (\array_key_exists('@id', $data)) { $object->setId($data['@id']); } if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + if (\array_key_exists('@context', $data)) { + $object->setContext($data['@context']); + } if (\array_key_exists('isSoftDeleted', $data)) { $object->setIsSoftDeleted($data['isSoftDeleted']); } - if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { + if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - } - elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { + } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { $object->setCompiledAt(null); } if (\array_key_exists('id', $data)) { @@ -73,34 +75,36 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setRuntimeType($data['runtimeType']); } if (\array_key_exists('runtime', $data)) { - $values = array(); + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); } if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); } if (\array_key_exists('steps', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getIsSoftDeleted()) { $data['isSoftDeleted'] = $object->getIsSoftDeleted(); } @@ -111,23 +115,24 @@ public function normalize($object, $format = null, array $context = array()) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php index 44d77e3f..02b478e5 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('code', $data)) { $object->setCode($data['code']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -77,6 +82,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php index c885af1e..bb8402e5 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineMoveAfterPipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('code', $data)) { $object->setCode($data['code']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -68,6 +73,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php index ca125a6a..75aecde6 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php index 2c1bf752..5faa7fb9 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('code', $data)) { $object->setCode($data['code']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -77,6 +82,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php index 6624fec0..b8cc99ae 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineMoveBeforePipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('code', $data)) { $object->setCode($data['code']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -68,6 +73,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php index ab47a941..992a8c35 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReadNormalizer.php b/src/Normalizer/PipelineReadNormalizer.php index ba16bb8d..eaf945ab 100644 --- a/src/Normalizer/PipelineReadNormalizer.php +++ b/src/Normalizer/PipelineReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineRead'; + return 'Gyroscops\\Api\\Model\\PipelineRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,10 +48,9 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('isSoftDeleted', $data)) { $object->setIsSoftDeleted($data['isSoftDeleted']); } - if (\array_key_exists('compiledAt', $data) && $data['compiledAt'] !== null) { + if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); - } - elseif (\array_key_exists('compiledAt', $data) && $data['compiledAt'] === null) { + } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { $object->setCompiledAt(null); } if (\array_key_exists('id', $data)) { @@ -64,34 +66,36 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setRuntimeType($data['runtimeType']); } if (\array_key_exists('runtime', $data)) { - $values = array(); + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); } if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); } if (\array_key_exists('steps', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getIsSoftDeleted()) { $data['isSoftDeleted'] = $object->getIsSoftDeleted(); } @@ -102,23 +106,24 @@ public function normalize($object, $format = null, array $context = array()) $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php index d6339df5..071d994d 100644 --- a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php index 8512980f..75d2689a 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineReorderPipelineStepsCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -55,30 +58,33 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setPipeline($data['pipeline']); } if (\array_key_exists('codes', $data)) { - $values = array(); + $values = []; foreach ($data['codes'] as $value) { $values[] = $value; } $object->setCodes($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getCodes()) { - $values = array(); + $values = []; foreach ($object->getCodes() as $value) { $values[] = $value; } $data['codes'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php index 401b29ba..a255cc81 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineReorderPipelineStepsCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -46,30 +49,33 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setPipeline($data['pipeline']); } if (\array_key_exists('codes', $data)) { - $values = array(); + $values = []; foreach ($data['codes'] as $value) { $values[] = $value; } $object->setCodes($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getCodes()) { - $values = array(); + $values = []; foreach ($object->getCodes() as $value) { $values[] = $value; } $data['codes'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php index 8d4f99dd..b38e778e 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineReorderPipelineStepsCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php index b4073676..598e3851 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineReplacePipelineStepCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -64,27 +67,29 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('configuration', $data)) { - $values = array(); + $values = []; foreach ($data['configuration'] as $value) { $values[] = $value; } $object->setConfiguration($values); } if (\array_key_exists('probes', $data)) { - $values_1 = array(); + $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); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -98,19 +103,20 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $value) { $values[] = $value; } $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getProbes() as $value_1) { $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); } $data['probes'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php index b52f8535..27f763ba 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineReplacePipelineStepCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput'; + return 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -55,27 +58,29 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('configuration', $data)) { - $values = array(); + $values = []; foreach ($data['configuration'] as $value) { $values[] = $value; } $object->setConfiguration($values); } if (\array_key_exists('probes', $data)) { - $values_1 = array(); + $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); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -89,19 +94,20 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfiguration()) { - $values = array(); + $values = []; foreach ($object->getConfiguration() as $value) { $values[] = $value; } $data['configuration'] = $values; } if (null !== $object->getProbes()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getProbes() as $value_1) { $values_1[] = $this->normalizer->normalize($value_1, 'json', $context); } $data['probes'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php index 6ec47d0d..f226afc7 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineReplacePipelineStepCommandJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead'; + return 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineStepJsonldNormalizer.php b/src/Normalizer/PipelineStepJsonldNormalizer.php index d0486ee9..d3b6a501 100644 --- a/src/Normalizer/PipelineStepJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineStepJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineStepJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineStepJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStepJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -67,43 +70,46 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); } if (\array_key_exists('probes', $data)) { - $values = array(); + $values = []; foreach ($data['probes'] as $value) { $values[] = $value; } $object->setProbes($values); } if (\array_key_exists('configuration', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['configuration'] as $value_1) { $values_1[] = $value_1; } $object->setConfiguration($values_1); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['code'] = $object->getCode(); $data['order'] = $object->getOrder(); $data['label'] = $object->getLabel(); $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); if (null !== $object->getProbes()) { - $values = array(); + $values = []; foreach ($object->getProbes() as $value) { $values[] = $value; } $data['probes'] = $values; } - $values_1 = array(); + $values_1 = []; foreach ($object->getConfiguration() as $value_1) { $values_1[] = $value_1; } $data['configuration'] = $values_1; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineStepNormalizer.php b/src/Normalizer/PipelineStepNormalizer.php index e6c6e52e..c61f9a7a 100644 --- a/src/Normalizer/PipelineStepNormalizer.php +++ b/src/Normalizer/PipelineStepNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineStepNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineStep'; + return 'Gyroscops\\Api\\Model\\PipelineStep' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStep'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStep' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -58,43 +61,46 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); } if (\array_key_exists('probes', $data)) { - $values = array(); + $values = []; foreach ($data['probes'] as $value) { $values[] = $value; } $object->setProbes($values); } if (\array_key_exists('configuration', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['configuration'] as $value_1) { $values_1[] = $value_1; } $object->setConfiguration($values_1); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['code'] = $object->getCode(); $data['order'] = $object->getOrder(); $data['label'] = $object->getLabel(); $data['pipeline'] = $this->normalizer->normalize($object->getPipeline(), 'json', $context); if (null !== $object->getProbes()) { - $values = array(); + $values = []; foreach ($object->getProbes() as $value) { $values[] = $value; } $data['probes'] = $values; } - $values_1 = array(); + $values_1 = []; foreach ($object->getConfiguration() as $value_1) { $values_1[] = $value_1; } $data['configuration'] = $values_1; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php b/src/Normalizer/PipelineStepProbeJsonldNormalizer.php index ab6645e0..2d6a38d2 100644 --- a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepProbeJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineStepProbeJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld'; + return 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -66,18 +69,21 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('step', $data)) { $object->setStep($data['step']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['code'] = $object->getCode(); $data['order'] = $object->getOrder(); $data['label'] = $object->getLabel(); $data['step'] = $object->getStep(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PipelineStepProbeNormalizer.php b/src/Normalizer/PipelineStepProbeNormalizer.php index 84836359..16380bb5 100644 --- a/src/Normalizer/PipelineStepProbeNormalizer.php +++ b/src/Normalizer/PipelineStepProbeNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class PipelineStepProbeNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\PipelineStepProbe'; + return 'Gyroscops\\Api\\Model\\PipelineStepProbe' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\PipelineStepProbe'; + return is_object($data) && 'Gyroscops\\Api\\Model\\PipelineStepProbe' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,18 +60,21 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('step', $data)) { $object->setStep($data['step']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['code'] = $object->getCode(); $data['order'] = $object->getOrder(); $data['label'] = $object->getLabel(); $data['step'] = $object->getStep(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/PriceJsonldNormalizer.php b/src/Normalizer/PriceJsonldNormalizer.php new file mode 100644 index 00000000..ab00e5d9 --- /dev/null +++ b/src/Normalizer/PriceJsonldNormalizer.php @@ -0,0 +1,78 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('price', $data) && null !== $data['price']) { + $object->setPrice($data['price']); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPrice()) { + $data['price'] = $object->getPrice(); + } + + return $data; + } +} diff --git a/src/Normalizer/PriceNormalizer.php b/src/Normalizer/PriceNormalizer.php new file mode 100644 index 00000000..9e132939 --- /dev/null +++ b/src/Normalizer/PriceNormalizer.php @@ -0,0 +1,69 @@ +setPrice($data['price']); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getPrice()) { + $data['price'] = $object->getPrice(); + } + + return $data; + } +} diff --git a/src/Normalizer/ProbeJsonldNormalizer.php b/src/Normalizer/ProbeJsonldNormalizer.php index a670c7cb..f7a6b3bb 100644 --- a/src/Normalizer/ProbeJsonldNormalizer.php +++ b/src/Normalizer/ProbeJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ProbeJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ProbeJsonld'; + return 'Gyroscops\\Api\\Model\\ProbeJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ProbeJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ProbeJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,20 +60,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('label', $data)) { $object->setLabel($data['label']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } if (null !== $object->getLabel()) { $data['label'] = $object->getLabel(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ProbeNormalizer.php b/src/Normalizer/ProbeNormalizer.php index e87c6f06..e2c944be 100644 --- a/src/Normalizer/ProbeNormalizer.php +++ b/src/Normalizer/ProbeNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ProbeNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\Probe'; + return 'Gyroscops\\Api\\Model\\Probe' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Probe'; + return is_object($data) && 'Gyroscops\\Api\\Model\\Probe' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,20 +51,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('label', $data)) { $object->setLabel($data['label']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } if (null !== $object->getLabel()) { $data['label'] = $object->getLabel(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php index 565bf6f1..032eee00 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralCodeJsonldReferralCodeReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead'; + return 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,36 +57,38 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } if (\array_key_exists('code', $data)) { $object->setCode($data['code']); } if (\array_key_exists('referralRequests', $data)) { - $values = array(); + $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php index 0a36173d..20804cab 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralCodeJsonldReferralCodeWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite'; + return 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,23 +54,25 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php index 61c31a82..75e04490 100644 --- a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralCodeReferralCodeReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead'; + return 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,36 +48,38 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId($data['id']); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } if (\array_key_exists('code', $data)) { $object->setCode($data['code']); } if (\array_key_exists('referralRequests', $data)) { - $values = array(); + $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php b/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php index 9392a4fa..63d8657e 100644 --- a/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php +++ b/src/Normalizer/ReferralCodeReferralCodeWriteNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralCodeReferralCodeWriteNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite'; + return 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,23 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = arra 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']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php index d0680fbb..7431b2e0 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php index cfdb3cba..f053b3f1 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralCodesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php index 43a67d8a..1fbb5cb2 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralCodesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralCodesGetResponse200Normalizer.php b/src/Normalizer/ReferralCodesGetResponse200Normalizer.php index 8afb31ba..2955da17 100644 --- a/src/Normalizer/ReferralCodesGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralCodesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200'; + return 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php index b364c948..81eec7d0 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php index 3da858b0..c59b822d 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php index 7cd559e9..10198e6a 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php index 515b3337..0424c484 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralOnPremiseRequestsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200'; + return 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php index f4eb0773..a421ebe6 100644 --- a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralRequestJsonldReferralRequestReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead'; + return 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -72,29 +75,29 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('creationDate', $data)) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); } - if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); - } - elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { $object->setReferralCode(null); } - if (\array_key_exists('approver', $data) && $data['approver'] !== null) { + if (\array_key_exists('approver', $data) && null !== $data['approver']) { $object->setApprover($data['approver']); - } - elseif (\array_key_exists('approver', $data) && $data['approver'] === null) { + } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { $object->setApprover(null); } if (\array_key_exists('status', $data)) { $object->setStatus($data['status']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['email'] = $object->getEmail(); $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); @@ -112,6 +115,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getStatus()) { $data['status'] = $object->getStatus(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php index 7a70d429..44b12d0a 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralRequestReferralRequestInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld'; + return 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,8 +63,8 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('lastName', $data)) { $object->setLastName($data['lastName']); } - if (\array_key_exists('userName', $data)) { - $object->setUserName($data['userName']); + if (\array_key_exists('username', $data)) { + $object->setUsername($data['username']); } if (\array_key_exists('companyName', $data)) { $object->setCompanyName($data['companyName']); @@ -69,14 +72,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('referralCode', $data)) { $object->setReferralCode($data['referralCode']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getEmail()) { $data['email'] = $object->getEmail(); } @@ -86,8 +91,8 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getLastName()) { $data['lastName'] = $object->getLastName(); } - if (null !== $object->getUserName()) { - $data['userName'] = $object->getUserName(); + if (null !== $object->getUsername()) { + $data['username'] = $object->getUsername(); } if (null !== $object->getCompanyName()) { $data['companyName'] = $object->getCompanyName(); @@ -95,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getReferralCode()) { $data['referralCode'] = $object->getReferralCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php index 90ef0b87..bf09525a 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralRequestReferralRequestInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput'; + return 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,8 +54,8 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('lastName', $data)) { $object->setLastName($data['lastName']); } - if (\array_key_exists('userName', $data)) { - $object->setUserName($data['userName']); + if (\array_key_exists('username', $data)) { + $object->setUsername($data['username']); } if (\array_key_exists('companyName', $data)) { $object->setCompanyName($data['companyName']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('referralCode', $data)) { $object->setReferralCode($data['referralCode']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getEmail()) { $data['email'] = $object->getEmail(); } @@ -77,8 +82,8 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getLastName()) { $data['lastName'] = $object->getLastName(); } - if (null !== $object->getUserName()) { - $data['userName'] = $object->getUserName(); + if (null !== $object->getUsername()) { + $data['username'] = $object->getUsername(); } if (null !== $object->getCompanyName()) { $data['companyName'] = $object->getCompanyName(); @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getReferralCode()) { $data['referralCode'] = $object->getReferralCode(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php index 9e1677f1..3359bd48 100644 --- a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralRequestReferralRequestReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead'; + return 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -63,29 +66,29 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('creationDate', $data)) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); } - if (\array_key_exists('referralCode', $data) && $data['referralCode'] !== null) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); - } - elseif (\array_key_exists('referralCode', $data) && $data['referralCode'] === null) { + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { $object->setReferralCode(null); } - if (\array_key_exists('approver', $data) && $data['approver'] !== null) { + if (\array_key_exists('approver', $data) && null !== $data['approver']) { $object->setApprover($data['approver']); - } - elseif (\array_key_exists('approver', $data) && $data['approver'] === null) { + } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { $object->setApprover(null); } if (\array_key_exists('status', $data)) { $object->setStatus($data['status']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['email'] = $object->getEmail(); $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); @@ -103,6 +106,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getStatus()) { $data['status'] = $object->getStatus(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php index b69030a3..efccf841 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php index ffcd1f5d..832d8c3e 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralRequestsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php index 31ed9573..284968f4 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralRequestsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php b/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php index 8a53cb3d..f3f41d68 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferralRequestsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200'; + return 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index c982ae04..7768ad0e 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php index 800069a9..d99e875c 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeActionsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php index 9cbe78cb..30d68358 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeActionsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php index 79d5c786..e58fc756 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeActionsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ActionJsonldRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 57f247ae..b6e8e6a1 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php index 37c6d571..f2365479 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php index 69a0906f..f8b33277 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php index 15774f27..68945ab3 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 234c7c5f..f2aa736e 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php index 7c981bd7..cc6b8a6a 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php index 798346dc..33458f9f 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php index b051400b..cef00cc2 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionPipelinesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 0a734754..d4fa1e1b 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php index 0c9ad0b4..2c665893 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php index fbb3f5d1..989d6bb6 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php index 34d95c05..0801138a 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 825f83aa..c26d2b34 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php index a5b2722f..1bd0bffd 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php index f978b521..9221e84f 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php index 2dfc1d92..17f96c4a 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index f867bb3b..a9ecc215 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php index a80d23d3..ebb0cd2a 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php index c7764a8e..d68cb03c 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php index ca0ab87c..8b613bdb 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 27690a6c..8f37071c 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php index e8a7ce8c..96927a11 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php index f640538a..fd97028e 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php index f76d12da..23a7d401 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 60204465..6e1087ec 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php index 97a61268..a4617662 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php index b3333381..e26c5dc7 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php index ba0a68b3..b2804a4a 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionPipelineJobsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 942aacfa..6c5594a5 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php index 5d5452d7..8cbd6f6c 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php index afb7e5ab..3a1fd46c 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php index ff288453..7227bf0b 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 98b309ca..37372e7e 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php index 47d393ba..9d035679 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php index 69022071..76dd5ffc 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php index c5ab4374..05d0f617 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 703091d3..e0d4e881 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php index d08113cf..48298d34 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php index 9e6ab3cc..57c98b23 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php index 77ca51e5..5bd06680 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeExecutionsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionJsonldRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 90584f11..6c35b2c6 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php index 1d0b3cbd..5cdb1ce5 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php index edfadcd2..f2a4863a 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php index 57f99aa9..ce7198eb 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineIdCompilationsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 92f7e727..3a2e1a81 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php index 4cb97cb2..89cc38e4 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php index 6864f0ff..889a1025 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php index 3cdde556..9c1e85de 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepIdProbesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php index d4ed4d38..8db9350e 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php index 438d064e..b72663c2 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php index d6bae0b4..3ef46a8e 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepProbesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php index 4d860ab1..7538c75e 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepProbesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 2a3c1c1b..433dda1f 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php index e19a07f5..d94fa19c 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php index 6d71de70..e9c74b57 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php index ea793d07..8b7b4ec3 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelineStepsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineStepJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php index eed58e66..87adc252 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php index 341bee51..eb8cc568 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php index 63b77bb2..b916a44a 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelinesCompilationGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php index 8228523a..2a8aaf33 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelinesCompilationGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 0a648c2b..f821e572 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php index 5e023bbf..b9f832af 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelinesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php index abbabb97..4b454df3 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelinesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php index b606f774..32ffd1a6 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimePipelinesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\PipelineJsonldRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index dc976c0e..faf2326e 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php index ccef1e35..d0183455 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php index 6f7e76b7..5ceda3f5 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php index 443d25da..857414ea 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeScheduleIdExecutionsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ExecutionJsonldRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 032774b8..1c9bb4e2 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php index 4755af7f..c413dac2 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php index 0d322675..e258e0e9 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php index 78a69146..f808ab64 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php index ce55a94a..4bd8feb0 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php index bee1c390..6e7c3b81 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeSchedulesGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php index 227a6df2..1ef1ba46 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeSchedulesGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php index 91b2c3a1..96e6bf80 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeSchedulesGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ScheduleJsonld', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 4b2a1d19..ee64333f 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php index acf23f42..dca9a020 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php index d15b34f3..1c1dab7d 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php index c770166f..86cf36d6 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeWorkflowIdJobsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 1b397bf4..2de317b6 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,23 +51,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('variable', $data)) { $object->setVariable($data['variable']); } - if (\array_key_exists('property', $data) && $data['property'] !== null) { + if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); - } - elseif (\array_key_exists('property', $data) && $data['property'] === null) { + } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } if (\array_key_exists('required', $data)) { $object->setRequired($data['required']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -77,6 +81,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRequired()) { $data['required'] = $object->getRequired(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php index 335b8630..79808861 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeWorkflowsGetResponse200HydraSearchNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,20 +55,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); } if (\array_key_exists('hydra:mapping', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getType()) { $data['@type'] = $object->getType(); } @@ -76,12 +81,13 @@ public function normalize($object, $format = null, array $context = array()) $data['hydra:variableRepresentation'] = $object->getHydraVariableRepresentation(); } if (null !== $object->getHydraMapping()) { - $values = array(); + $values = []; foreach ($object->getHydraMapping() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['hydra:mapping'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php index c4b2353d..1537c56b 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeWorkflowsGetResponse200HydraViewNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:next', $data)) { $object->setHydraNext($data['hydra:next']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['@id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraNext()) { $data['hydra:next'] = $object->getHydraNext(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php index 3543bdbb..4ff0edbb 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class RuntimeWorkflowsGetResponse200Normalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200'; + return 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200'; + return is_object($data) && 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -43,7 +46,7 @@ public function denormalize($data, $class, $format = null, array $context = arra return $object; } if (\array_key_exists('hydra:member', $data)) { - $values = array(); + $values = []; foreach ($data['hydra:member'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJsonldRead', 'json', $context); } @@ -58,15 +61,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('hydra:search', $data)) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); - $values = array(); + $data = []; + $values = []; foreach ($object->getHydraMember() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } @@ -80,6 +85,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getHydraSearch()) { $data['hydra:search'] = $this->normalizer->normalize($object->getHydraSearch(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php index 7fe90173..1d57ff44 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,20 +60,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('organization', $data)) { $object->setOrganization($data['organization']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php index 4df0d983..f32b11fc 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,20 +51,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('organization', $data)) { $object->setOrganization($data['organization']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php index 4354408e..1e6e84ad 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('user', $data)) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); } @@ -77,6 +82,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php index 5c8346c5..8ccaf7ab 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleImmediateCommandNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('user', $data)) { $object->setUser($data['user']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -68,6 +73,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php index 20ed19cb..171102f1 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,20 +60,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('date', $data)) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getDate()) { $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php index 1fe4a5a0..17dacfd1 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,20 +51,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('date', $data)) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } if (null !== $object->getDate()) { $data['date'] = $object->getDate()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php index 6a29b45a..b8177f4b 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -63,14 +66,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('user', $data)) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); } @@ -83,6 +88,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php index a3494d3d..d2005a1c 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleOnceCommandNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,14 +57,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('user', $data)) { $object->setUser($data['user']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -74,6 +79,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php index f546e28a..50066b70 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -63,14 +66,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('recurrences', $data)) { $object->setRecurrences($data['recurrences']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -83,6 +88,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRecurrences()) { $data['recurrences'] = $object->getRecurrences(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php index 819776b6..18361d71 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInput'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,14 +57,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('recurrences', $data)) { $object->setRecurrences($data['recurrences']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -74,6 +79,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getRecurrences()) { $data['recurrences'] = $object->getRecurrences(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php index f0d9d6aa..377e851f 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -69,14 +72,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('user', $data)) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); } @@ -95,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php index 5eb2142e..4ed8d938 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleTimesCommandNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('user', $data)) { $object->setUser($data['user']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php index afc70533..37049af7 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -63,14 +66,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('end', $data)) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -83,6 +88,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getEnd()) { $data['end'] = $object->getEnd()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php index 29f8c6ca..c65bc477 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInput'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,14 +57,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('end', $data)) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); } @@ -74,6 +79,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getEnd()) { $data['end'] = $object->getEnd()->format('Y-m-d\\TH:i:sP'); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php index 679a7a59..8b7e9774 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -69,14 +72,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('user', $data)) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId2()) { $data['id'] = $this->normalizer->normalize($object->getId2(), 'json', $context); } @@ -95,6 +100,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $this->normalizer->normalize($object->getUser(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php index 68832560..21dec3ac 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleDeclarePipelineScheduleUntilCommandNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand'; + return 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,14 +63,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('user', $data)) { $object->setUser($data['user']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getId()) { $data['id'] = $object->getId(); } @@ -86,6 +91,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getUser()) { $data['user'] = $object->getUser(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleIdJsonldNormalizer.php b/src/Normalizer/ScheduleIdJsonldNormalizer.php index 8d3f8849..bd103e33 100644 --- a/src/Normalizer/ScheduleIdJsonldNormalizer.php +++ b/src/Normalizer/ScheduleIdJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleIdJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleIdJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleIdJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleIdJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleJsonldNormalizer.php b/src/Normalizer/ScheduleJsonldNormalizer.php index a3c3827c..3e666de4 100644 --- a/src/Normalizer/ScheduleJsonldNormalizer.php +++ b/src/Normalizer/ScheduleJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\ScheduleJsonld'; + return 'Gyroscops\\Api\\Model\\ScheduleJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\ScheduleJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\ScheduleJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,47 +60,41 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('type', $data)) { $object->setType2($data['type']); } - if (\array_key_exists('startAt', $data) && $data['startAt'] !== null) { + if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); - } - elseif (\array_key_exists('startAt', $data) && $data['startAt'] === null) { + } elseif (\array_key_exists('startAt', $data) && null === $data['startAt']) { $object->setStartAt(null); } - if (\array_key_exists('interval', $data) && $data['interval'] !== null) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); - } - elseif (\array_key_exists('interval', $data) && $data['interval'] === null) { + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { $object->setInterval(null); } - if (\array_key_exists('endAt', $data) && $data['endAt'] !== null) { + if (\array_key_exists('endAt', $data) && null !== $data['endAt']) { $object->setEndAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['endAt'])); - } - elseif (\array_key_exists('endAt', $data) && $data['endAt'] === null) { + } elseif (\array_key_exists('endAt', $data) && null === $data['endAt']) { $object->setEndAt(null); } - if (\array_key_exists('recurrences', $data) && $data['recurrences'] !== null) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); - } - elseif (\array_key_exists('recurrences', $data) && $data['recurrences'] === null) { + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { $object->setRecurrences(null); } if (\array_key_exists('executions', $data)) { - $values = array(); + $values = []; foreach ($data['executions'] as $value) { $values[] = $value; } $object->setExecutions($values); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } if (\array_key_exists('owner', $data)) { @@ -109,14 +106,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('organization', $data)) { $object->setOrganization($data['organization']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); if (null !== $object->getType2()) { $data['type'] = $object->getType2(); @@ -134,7 +133,7 @@ public function normalize($object, $format = null, array $context = array()) $data['recurrences'] = $object->getRecurrences(); } if (null !== $object->getExecutions()) { - $values = array(); + $values = []; foreach ($object->getExecutions() as $value) { $values[] = $value; } @@ -149,6 +148,7 @@ public function normalize($object, $format = null, array $context = array()) $data['owner'] = $object->getOwner(); $data['workspace'] = $object->getWorkspace(); $data['organization'] = $object->getOrganization(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/ScheduleNormalizer.php b/src/Normalizer/ScheduleNormalizer.php index 3cb735af..31063d65 100644 --- a/src/Normalizer/ScheduleNormalizer.php +++ b/src/Normalizer/ScheduleNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ScheduleNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\Schedule'; + return 'Gyroscops\\Api\\Model\\Schedule' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Schedule'; + return is_object($data) && 'Gyroscops\\Api\\Model\\Schedule' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,47 +51,41 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('type', $data)) { $object->setType($data['type']); } - if (\array_key_exists('startAt', $data) && $data['startAt'] !== null) { + if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); - } - elseif (\array_key_exists('startAt', $data) && $data['startAt'] === null) { + } elseif (\array_key_exists('startAt', $data) && null === $data['startAt']) { $object->setStartAt(null); } - if (\array_key_exists('interval', $data) && $data['interval'] !== null) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); - } - elseif (\array_key_exists('interval', $data) && $data['interval'] === null) { + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { $object->setInterval(null); } - if (\array_key_exists('endAt', $data) && $data['endAt'] !== null) { + if (\array_key_exists('endAt', $data) && null !== $data['endAt']) { $object->setEndAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['endAt'])); - } - elseif (\array_key_exists('endAt', $data) && $data['endAt'] === null) { + } elseif (\array_key_exists('endAt', $data) && null === $data['endAt']) { $object->setEndAt(null); } - if (\array_key_exists('recurrences', $data) && $data['recurrences'] !== null) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); - } - elseif (\array_key_exists('recurrences', $data) && $data['recurrences'] === null) { + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { $object->setRecurrences(null); } if (\array_key_exists('executions', $data)) { - $values = array(); + $values = []; foreach ($data['executions'] as $value) { $values[] = $value; } $object->setExecutions($values); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } if (\array_key_exists('owner', $data)) { @@ -100,14 +97,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('organization', $data)) { $object->setOrganization($data['organization']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); if (null !== $object->getType()) { $data['type'] = $object->getType(); @@ -125,7 +124,7 @@ public function normalize($object, $format = null, array $context = array()) $data['recurrences'] = $object->getRecurrences(); } if (null !== $object->getExecutions()) { - $values = array(); + $values = []; foreach ($object->getExecutions() as $value) { $values[] = $value; } @@ -140,6 +139,7 @@ public function normalize($object, $format = null, array $context = array()) $data['owner'] = $object->getOwner(); $data['workspace'] = $object->getWorkspace(); $data['organization'] = $object->getOrganization(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretInputJsonldNormalizer.php b/src/Normalizer/SecretInputJsonldNormalizer.php new file mode 100644 index 00000000..e209e334 --- /dev/null +++ b/src/Normalizer/SecretInputJsonldNormalizer.php @@ -0,0 +1,96 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('name', $data)) { + $object->setName($data['name']); + } + if (\array_key_exists('description', $data)) { + $object->setDescription($data['description']); + } + if (\array_key_exists('contents', $data)) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/SecretInputNormalizer.php b/src/Normalizer/SecretInputNormalizer.php new file mode 100644 index 00000000..65768b06 --- /dev/null +++ b/src/Normalizer/SecretInputNormalizer.php @@ -0,0 +1,87 @@ +setName($data['name']); + } + if (\array_key_exists('description', $data)) { + $object->setDescription($data['description']); + } + if (\array_key_exists('contents', $data)) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + if (null !== $object->getName()) { + $data['name'] = $object->getName(); + } + if (null !== $object->getDescription()) { + $data['description'] = $object->getDescription(); + } + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; + } + + return $data; + } +} diff --git a/src/Normalizer/SecretJsonldNormalizer.php b/src/Normalizer/SecretJsonldNormalizer.php index b8bea080..77e9c209 100644 --- a/src/Normalizer/SecretJsonldNormalizer.php +++ b/src/Normalizer/SecretJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class SecretJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\SecretJsonld'; + return 'Gyroscops\\Api\\Model\\SecretJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\SecretJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -63,20 +66,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('organization', $data)) { $object->setOrganization($data['organization']); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } if (\array_key_exists('iterator', $data)) { $object->setIterator($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -92,6 +99,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getIterator()) { $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretNormalizer.php b/src/Normalizer/SecretNormalizer.php index f2816628..19d0ac96 100644 --- a/src/Normalizer/SecretNormalizer.php +++ b/src/Normalizer/SecretNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class SecretNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\Secret'; + return 'Gyroscops\\Api\\Model\\Secret' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Secret'; + return is_object($data) && 'Gyroscops\\Api\\Model\\Secret' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,20 +57,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('organization', $data)) { $object->setOrganization($data['organization']); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } if (\array_key_exists('iterator', $data)) { $object->setIterator($data['iterator']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } @@ -83,6 +90,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getIterator()) { $data['iterator'] = $object->getIterator(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretSecretInputJsonldNormalizer.php b/src/Normalizer/SecretSecretInputJsonldNormalizer.php index 83705b08..0f09bb9a 100644 --- a/src/Normalizer/SecretSecretInputJsonldNormalizer.php +++ b/src/Normalizer/SecretSecretInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class SecretSecretInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld'; + return 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,26 +60,37 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('description', $data)) { $object->setDescription($data['description']); } - if (\array_key_exists('secrets', $data)) { - $object->setSecrets($this->denormalizer->denormalize($data['secrets'], 'Gyroscops\\Api\\Model\\SecretValueInputJsonld', 'json', $context)); + if (\array_key_exists('contents', $data)) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } if (null !== $object->getDescription()) { $data['description'] = $object->getDescription(); } - if (null !== $object->getSecrets()) { - $data['secrets'] = $this->normalizer->normalize($object->getSecrets(), 'json', $context); + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SecretSecretInputNormalizer.php b/src/Normalizer/SecretSecretInputNormalizer.php index 7524c4eb..a5d9f88e 100644 --- a/src/Normalizer/SecretSecretInputNormalizer.php +++ b/src/Normalizer/SecretSecretInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class SecretSecretInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\SecretSecretInput'; + return 'Gyroscops\\Api\\Model\\SecretSecretInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\SecretSecretInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\SecretSecretInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,26 +51,37 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('description', $data)) { $object->setDescription($data['description']); } - if (\array_key_exists('secrets', $data)) { - $object->setSecrets($this->denormalizer->denormalize($data['secrets'], 'Gyroscops\\Api\\Model\\SecretValueInput', 'json', $context)); + if (\array_key_exists('contents', $data)) { + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['contents'] as $key => $value) { + $values[$key] = $value; + } + $object->setContents($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getName()) { $data['name'] = $object->getName(); } if (null !== $object->getDescription()) { $data['description'] = $object->getDescription(); } - if (null !== $object->getSecrets()) { - $data['secrets'] = $this->normalizer->normalize($object->getSecrets(), 'json', $context); + if (null !== $object->getContents()) { + $values = []; + foreach ($object->getContents() as $key => $value) { + $values[$key] = $value; + } + $data['contents'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/StepInputJsonldNormalizer.php b/src/Normalizer/StepInputJsonldNormalizer.php index 8c7fcd99..3798a51c 100644 --- a/src/Normalizer/StepInputJsonldNormalizer.php +++ b/src/Normalizer/StepInputJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class StepInputJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\StepInputJsonld'; + return 'Gyroscops\\Api\\Model\\StepInputJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\StepInputJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\StepInputJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -58,9 +61,9 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('config', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['config'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -69,20 +72,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setConfig($values); } if (\array_key_exists('probes', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } @@ -90,9 +95,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfig()) { - $values = array(); + $values = []; foreach ($object->getConfig() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -101,12 +106,13 @@ public function normalize($object, $format = null, array $context = array()) $data['config'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/StepInputNormalizer.php b/src/Normalizer/StepInputNormalizer.php index 5d50a2ff..2429537a 100644 --- a/src/Normalizer/StepInputNormalizer.php +++ b/src/Normalizer/StepInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class StepInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\StepInput'; + return 'Gyroscops\\Api\\Model\\StepInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\StepInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\StepInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -49,9 +52,9 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('config', $data)) { - $values = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['config'] as $key => $value) { - $values_1 = new \ArrayObject(array(), \ArrayObject::ARRAY_AS_PROPS); + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -60,20 +63,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setConfig($values); } if (\array_key_exists('probes', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCode()) { $data['code'] = $object->getCode(); } @@ -81,9 +86,9 @@ public function normalize($object, $format = null, array $context = array()) $data['label'] = $object->getLabel(); } if (null !== $object->getConfig()) { - $values = array(); + $values = []; foreach ($object->getConfig() as $key => $value) { - $values_1 = array(); + $values_1 = []; foreach ($value as $key_1 => $value_1) { $values_1[$key_1] = $value_1; } @@ -92,12 +97,13 @@ public function normalize($object, $format = null, array $context = array()) $data['config'] = $values; } if (null !== $object->getProbes()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getProbes() as $value_2) { $values_2[] = $this->normalizer->normalize($value_2, 'json', $context); } $data['probes'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/SubscriptionJsonldNormalizer.php b/src/Normalizer/SubscriptionJsonldNormalizer.php new file mode 100644 index 00000000..c4525e4a --- /dev/null +++ b/src/Normalizer/SubscriptionJsonldNormalizer.php @@ -0,0 +1,117 @@ +setContext($data['@context']); + } + if (\array_key_exists('@id', $data)) { + $object->setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('id', $data)) { + $object->setId2($data['id']); + } + if (\array_key_exists('organization', $data)) { + $object->setOrganization($data['organization']); + } + if (\array_key_exists('offer', $data) && null !== $data['offer']) { + $object->setOffer($data['offer']); + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + $object->setOffer(null); + } + if (\array_key_exists('options', $data)) { + $values = []; + foreach ($data['options'] as $value) { + $values[] = $value; + } + $object->setOptions($values); + } + if (\array_key_exists('cost', $data)) { + $object->setCost($this->denormalizer->denormalize($data['cost'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } + if (\array_key_exists('periods', $data)) { + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['periods'] as $key => $value_1) { + $values_1[$key] = $value_1; + } + $object->setPeriods($values_1); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['organization'] = $object->getOrganization(); + if (null !== $object->getOffer()) { + $data['offer'] = $object->getOffer(); + } + if (null !== $object->getOptions()) { + $values = []; + foreach ($object->getOptions() as $value) { + $values[] = $value; + } + $data['options'] = $values; + } + $data['cost'] = $this->normalizer->normalize($object->getCost(), 'json', $context); + if (null !== $object->getPeriods()) { + $values_1 = []; + foreach ($object->getPeriods() as $key => $value_1) { + $values_1[$key] = $value_1; + } + $data['periods'] = $values_1; + } + + return $data; + } +} diff --git a/src/Normalizer/SubscriptionNormalizer.php b/src/Normalizer/SubscriptionNormalizer.php new file mode 100644 index 00000000..9c02002d --- /dev/null +++ b/src/Normalizer/SubscriptionNormalizer.php @@ -0,0 +1,108 @@ +setId($data['id']); + } + if (\array_key_exists('organization', $data)) { + $object->setOrganization($data['organization']); + } + if (\array_key_exists('offer', $data) && null !== $data['offer']) { + $object->setOffer($data['offer']); + } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { + $object->setOffer(null); + } + if (\array_key_exists('options', $data)) { + $values = []; + foreach ($data['options'] as $value) { + $values[] = $value; + } + $object->setOptions($values); + } + if (\array_key_exists('cost', $data)) { + $object->setCost($this->denormalizer->denormalize($data['cost'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } + if (\array_key_exists('periods', $data)) { + $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); + foreach ($data['periods'] as $key => $value_1) { + $values_1[$key] = $value_1; + } + $object->setPeriods($values_1); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['organization'] = $object->getOrganization(); + if (null !== $object->getOffer()) { + $data['offer'] = $object->getOffer(); + } + if (null !== $object->getOptions()) { + $values = []; + foreach ($object->getOptions() as $value) { + $values[] = $value; + } + $data['options'] = $values; + } + $data['cost'] = $this->normalizer->normalize($object->getCost(), 'json', $context); + if (null !== $object->getPeriods()) { + $values_1 = []; + foreach ($object->getPeriods() as $key => $value_1) { + $values_1[$key] = $value_1; + } + $data['periods'] = $values_1; + } + + return $data; + } +} diff --git a/src/Normalizer/SubscriptionOptionJsonldNormalizer.php b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php new file mode 100644 index 00000000..64df5123 --- /dev/null +++ b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php @@ -0,0 +1,86 @@ +setId($data['@id']); + } + if (\array_key_exists('@type', $data)) { + $object->setType($data['@type']); + } + if (\array_key_exists('id', $data)) { + $object->setId2($data['id']); + } + if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { + $object->setSubscription($data['subscription']); + } elseif (\array_key_exists('subscription', $data) && null === $data['subscription']) { + $object->setSubscription(null); + } + if (\array_key_exists('option', $data) && null !== $data['option']) { + $object->setOption($data['option']); + } elseif (\array_key_exists('option', $data) && null === $data['option']) { + $object->setOption(null); + } + if (\array_key_exists('price', $data)) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['subscription'] = $object->getSubscription(); + $data['option'] = $object->getOption(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/SubscriptionOptionNormalizer.php b/src/Normalizer/SubscriptionOptionNormalizer.php new file mode 100644 index 00000000..77d76010 --- /dev/null +++ b/src/Normalizer/SubscriptionOptionNormalizer.php @@ -0,0 +1,80 @@ +setId($data['id']); + } + if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { + $object->setSubscription($data['subscription']); + } elseif (\array_key_exists('subscription', $data) && null === $data['subscription']) { + $object->setSubscription(null); + } + if (\array_key_exists('option', $data) && null !== $data['option']) { + $object->setOption($data['option']); + } elseif (\array_key_exists('option', $data) && null === $data['option']) { + $object->setOption(null); + } + if (\array_key_exists('price', $data)) { + $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } + + return $object; + } + + /** + * @return array|string|int|float|bool|\ArrayObject|null + */ + public function normalize($object, $format = null, array $context = []) + { + $data = []; + $data['subscription'] = $object->getSubscription(); + $data['option'] = $object->getOption(); + $data['price'] = $this->normalizer->normalize($object->getPrice(), 'json', $context); + + return $data; + } +} diff --git a/src/Normalizer/TokenNormalizer.php b/src/Normalizer/TokenNormalizer.php index 8a1b5aa5..aa8194fc 100644 --- a/src/Normalizer/TokenNormalizer.php +++ b/src/Normalizer/TokenNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class TokenNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\Token'; + return 'Gyroscops\\Api\\Model\\Token' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Token'; + return is_object($data) && 'Gyroscops\\Api\\Model\\Token' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,14 +48,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('token', $data)) { $object->setToken($data['token']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/TraversableJsonldNormalizer.php b/src/Normalizer/TraversableJsonldNormalizer.php index 37144078..a4acc36e 100644 --- a/src/Normalizer/TraversableJsonldNormalizer.php +++ b/src/Normalizer/TraversableJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class TraversableJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\TraversableJsonld'; + return 'Gyroscops\\Api\\Model\\TraversableJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\TraversableJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\TraversableJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UpdateListJsonldNormalizer.php b/src/Normalizer/UpdateListJsonldNormalizer.php index d70f7bfd..01f991b0 100644 --- a/src/Normalizer/UpdateListJsonldNormalizer.php +++ b/src/Normalizer/UpdateListJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class UpdateListJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\UpdateListJsonld'; + return 'Gyroscops\\Api\\Model\\UpdateListJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UpdateListJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\UpdateListJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,17 +57,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('iterator', $data)) { $object->setIterator($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getIterator()) { $data['iterator'] = $this->normalizer->normalize($object->getIterator(), 'json', $context); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UpdateListNormalizer.php b/src/Normalizer/UpdateListNormalizer.php index 1b45dcff..82fb131b 100644 --- a/src/Normalizer/UpdateListNormalizer.php +++ b/src/Normalizer/UpdateListNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class UpdateListNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\UpdateList'; + return 'Gyroscops\\Api\\Model\\UpdateList' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UpdateList'; + return is_object($data) && 'Gyroscops\\Api\\Model\\UpdateList' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,17 +48,20 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('iterator', $data)) { $object->setIterator($data['iterator']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getIterator()) { $data['iterator'] = $object->getIterator(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserAuthorizationJsonldNormalizer.php b/src/Normalizer/UserAuthorizationJsonldNormalizer.php index 7d8b4c3a..97aadb81 100644 --- a/src/Normalizer/UserAuthorizationJsonldNormalizer.php +++ b/src/Normalizer/UserAuthorizationJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class UserAuthorizationJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld'; + return 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,51 +57,51 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); - } - elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } if (\array_key_exists('resource', $data)) { $object->setResource($data['resource']); } if (\array_key_exists('authorizations', $data)) { - $values = array(); + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['user'] = $object->getUser(); $data['workspace'] = $object->getWorkspace(); $data['organization'] = $object->getOrganization(); $data['resource'] = $object->getResource(); - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } $data['authorizations'] = $values; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserAuthorizationNormalizer.php b/src/Normalizer/UserAuthorizationNormalizer.php index 2ba78b12..61083136 100644 --- a/src/Normalizer/UserAuthorizationNormalizer.php +++ b/src/Normalizer/UserAuthorizationNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class UserAuthorizationNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\UserAuthorization'; + return 'Gyroscops\\Api\\Model\\UserAuthorization' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UserAuthorization'; + return is_object($data) && 'Gyroscops\\Api\\Model\\UserAuthorization' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,51 +48,51 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId($data['id']); } - if (\array_key_exists('user', $data) && $data['user'] !== null) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); - } - elseif (\array_key_exists('user', $data) && $data['user'] === null) { + } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('workspace', $data) && $data['workspace'] !== null) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); - } - elseif (\array_key_exists('workspace', $data) && $data['workspace'] === null) { + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); - } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } if (\array_key_exists('resource', $data)) { $object->setResource($data['resource']); } if (\array_key_exists('authorizations', $data)) { - $values = array(); + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['user'] = $object->getUser(); $data['workspace'] = $object->getWorkspace(); $data['organization'] = $object->getOrganization(); $data['resource'] = $object->getResource(); - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } $data['authorizations'] = $values; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserIdJsonldNormalizer.php b/src/Normalizer/UserIdJsonldNormalizer.php index 7b7cf100..d8ca7526 100644 --- a/src/Normalizer/UserIdJsonldNormalizer.php +++ b/src/Normalizer/UserIdJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class UserIdJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\UserIdJsonld'; + return 'Gyroscops\\Api\\Model\\UserIdJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UserIdJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\UserIdJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,17 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserJsonldNormalizer.php b/src/Normalizer/UserJsonldNormalizer.php index cdd23dc2..51b80647 100644 --- a/src/Normalizer/UserJsonldNormalizer.php +++ b/src/Normalizer/UserJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class UserJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\UserJsonld'; + return 'Gyroscops\\Api\\Model\\UserJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UserJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\UserJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -73,55 +76,58 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setEnabled($data['enabled']); } if (\array_key_exists('roles', $data)) { - $values = array(); + $values = []; foreach ($data['roles'] as $value) { - $values[] = $value; + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; } $object->setRoles($values); } if (\array_key_exists('authorizations', $data)) { - $values_1 = array(); - foreach ($data['authorizations'] as $value_1) { - $values_1[] = $value_1; + $values_2 = []; + foreach ($data['authorizations'] as $value_2) { + $values_2[] = $value_2; } - $object->setAuthorizations($values_1); + $object->setAuthorizations($values_2); } if (\array_key_exists('organization', $data)) { $object->setOrganization($data['organization']); } if (\array_key_exists('additionalOrganizations', $data)) { - $values_2 = array(); - foreach ($data['additionalOrganizations'] as $value_2) { - $values_2[] = $value_2; + $values_3 = []; + foreach ($data['additionalOrganizations'] as $value_3) { + $values_3[] = $value_3; } - $object->setAdditionalOrganizations($values_2); + $object->setAdditionalOrganizations($values_3); } if (\array_key_exists('workspaces', $data)) { - $values_3 = array(); - foreach ($data['workspaces'] as $value_3) { - $values_3[] = $value_3; + $values_4 = []; + foreach ($data['workspaces'] as $value_4) { + $values_4[] = $value_4; } - $object->setWorkspaces($values_3); + $object->setWorkspaces($values_4); } - if (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] !== null) { + if (\array_key_exists('currentWorkspace', $data) && null !== $data['currentWorkspace']) { $object->setCurrentWorkspace($data['currentWorkspace']); - } - elseif (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] === null) { + } elseif (\array_key_exists('currentWorkspace', $data) && null === $data['currentWorkspace']) { $object->setCurrentWorkspace(null); } if (\array_key_exists('referralCodes', $data)) { - $values_4 = array(); - foreach ($data['referralCodes'] as $value_4) { - $values_4[] = $value_4; + $values_5 = []; + foreach ($data['referralCodes'] as $value_5) { + $values_5[] = $value_5; } - $object->setReferralCodes($values_4); + $object->setReferralCodes($values_5); } if (\array_key_exists('acceptedReferralRequests', $data)) { - $values_5 = array(); - foreach ($data['acceptedReferralRequests'] as $value_5) { - $values_5[] = $value_5; + $values_6 = []; + foreach ($data['acceptedReferralRequests'] as $value_6) { + $values_6[] = $value_6; } - $object->setAcceptedReferralRequests($values_5); + $object->setAcceptedReferralRequests($values_6); } if (\array_key_exists('userIdentifier', $data)) { $object->setUserIdentifier($data['userIdentifier']); @@ -130,20 +136,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setSalt($data['salt']); } if (\array_key_exists('workspace', $data)) { - $values_6 = array(); - foreach ($data['workspace'] as $value_6) { - $values_6[] = $value_6; + $values_7 = []; + foreach ($data['workspace'] as $value_7) { + $values_7[] = $value_7; } - $object->setWorkspace($values_6); + $object->setWorkspace($values_7); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); $data['username'] = $object->getUsername(); @@ -157,46 +165,51 @@ public function normalize($object, $format = null, array $context = array()) $data['enabled'] = $object->getEnabled(); } if (null !== $object->getRoles()) { - $values = array(); + $values = []; foreach ($object->getRoles() as $value) { - $values[] = $value; + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; } $data['roles'] = $values; } if (null !== $object->getAuthorizations()) { - $values_1 = array(); - foreach ($object->getAuthorizations() as $value_1) { - $values_1[] = $value_1; + $values_2 = []; + foreach ($object->getAuthorizations() as $value_2) { + $values_2[] = $value_2; } - $data['authorizations'] = $values_1; + $data['authorizations'] = $values_2; } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } if (null !== $object->getAdditionalOrganizations()) { - $values_2 = array(); - foreach ($object->getAdditionalOrganizations() as $value_2) { - $values_2[] = $value_2; + $values_3 = []; + foreach ($object->getAdditionalOrganizations() as $value_3) { + $values_3[] = $value_3; } - $data['additionalOrganizations'] = $values_2; + $data['additionalOrganizations'] = $values_3; } if (null !== $object->getWorkspaces()) { - $values_3 = array(); - foreach ($object->getWorkspaces() as $value_3) { - $values_3[] = $value_3; + $values_4 = []; + foreach ($object->getWorkspaces() as $value_4) { + $values_4[] = $value_4; } - $data['workspaces'] = $values_3; + $data['workspaces'] = $values_4; } if (null !== $object->getCurrentWorkspace()) { $data['currentWorkspace'] = $object->getCurrentWorkspace(); } if (null !== $object->getWorkspace()) { - $values_4 = array(); - foreach ($object->getWorkspace() as $value_4) { - $values_4[] = $value_4; + $values_5 = []; + foreach ($object->getWorkspace() as $value_5) { + $values_5[] = $value_5; } - $data['workspace'] = $values_4; + $data['workspace'] = $values_5; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserNormalizer.php b/src/Normalizer/UserNormalizer.php index 0575a502..e0050af6 100644 --- a/src/Normalizer/UserNormalizer.php +++ b/src/Normalizer/UserNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class UserNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\User'; + return 'Gyroscops\\Api\\Model\\User' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\User'; + return is_object($data) && 'Gyroscops\\Api\\Model\\User' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -64,55 +67,58 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setEnabled($data['enabled']); } if (\array_key_exists('roles', $data)) { - $values = array(); + $values = []; foreach ($data['roles'] as $value) { - $values[] = $value; + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; } $object->setRoles($values); } if (\array_key_exists('authorizations', $data)) { - $values_1 = array(); - foreach ($data['authorizations'] as $value_1) { - $values_1[] = $value_1; + $values_2 = []; + foreach ($data['authorizations'] as $value_2) { + $values_2[] = $value_2; } - $object->setAuthorizations($values_1); + $object->setAuthorizations($values_2); } if (\array_key_exists('organization', $data)) { $object->setOrganization($data['organization']); } if (\array_key_exists('additionalOrganizations', $data)) { - $values_2 = array(); - foreach ($data['additionalOrganizations'] as $value_2) { - $values_2[] = $value_2; + $values_3 = []; + foreach ($data['additionalOrganizations'] as $value_3) { + $values_3[] = $value_3; } - $object->setAdditionalOrganizations($values_2); + $object->setAdditionalOrganizations($values_3); } if (\array_key_exists('workspaces', $data)) { - $values_3 = array(); - foreach ($data['workspaces'] as $value_3) { - $values_3[] = $value_3; + $values_4 = []; + foreach ($data['workspaces'] as $value_4) { + $values_4[] = $value_4; } - $object->setWorkspaces($values_3); + $object->setWorkspaces($values_4); } - if (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] !== null) { + if (\array_key_exists('currentWorkspace', $data) && null !== $data['currentWorkspace']) { $object->setCurrentWorkspace($data['currentWorkspace']); - } - elseif (\array_key_exists('currentWorkspace', $data) && $data['currentWorkspace'] === null) { + } elseif (\array_key_exists('currentWorkspace', $data) && null === $data['currentWorkspace']) { $object->setCurrentWorkspace(null); } if (\array_key_exists('referralCodes', $data)) { - $values_4 = array(); - foreach ($data['referralCodes'] as $value_4) { - $values_4[] = $value_4; + $values_5 = []; + foreach ($data['referralCodes'] as $value_5) { + $values_5[] = $value_5; } - $object->setReferralCodes($values_4); + $object->setReferralCodes($values_5); } if (\array_key_exists('acceptedReferralRequests', $data)) { - $values_5 = array(); - foreach ($data['acceptedReferralRequests'] as $value_5) { - $values_5[] = $value_5; + $values_6 = []; + foreach ($data['acceptedReferralRequests'] as $value_6) { + $values_6[] = $value_6; } - $object->setAcceptedReferralRequests($values_5); + $object->setAcceptedReferralRequests($values_6); } if (\array_key_exists('userIdentifier', $data)) { $object->setUserIdentifier($data['userIdentifier']); @@ -121,20 +127,22 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setSalt($data['salt']); } if (\array_key_exists('workspace', $data)) { - $values_6 = array(); - foreach ($data['workspace'] as $value_6) { - $values_6[] = $value_6; + $values_7 = []; + foreach ($data['workspace'] as $value_7) { + $values_7[] = $value_7; } - $object->setWorkspace($values_6); + $object->setWorkspace($values_7); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['firstName'] = $object->getFirstName(); $data['lastName'] = $object->getLastName(); $data['username'] = $object->getUsername(); @@ -148,46 +156,51 @@ public function normalize($object, $format = null, array $context = array()) $data['enabled'] = $object->getEnabled(); } if (null !== $object->getRoles()) { - $values = array(); + $values = []; foreach ($object->getRoles() as $value) { - $values[] = $value; + $values_1 = []; + foreach ($value as $value_1) { + $values_1[] = $value_1; + } + $values[] = $values_1; } $data['roles'] = $values; } if (null !== $object->getAuthorizations()) { - $values_1 = array(); - foreach ($object->getAuthorizations() as $value_1) { - $values_1[] = $value_1; + $values_2 = []; + foreach ($object->getAuthorizations() as $value_2) { + $values_2[] = $value_2; } - $data['authorizations'] = $values_1; + $data['authorizations'] = $values_2; } if (null !== $object->getOrganization()) { $data['organization'] = $object->getOrganization(); } if (null !== $object->getAdditionalOrganizations()) { - $values_2 = array(); - foreach ($object->getAdditionalOrganizations() as $value_2) { - $values_2[] = $value_2; + $values_3 = []; + foreach ($object->getAdditionalOrganizations() as $value_3) { + $values_3[] = $value_3; } - $data['additionalOrganizations'] = $values_2; + $data['additionalOrganizations'] = $values_3; } if (null !== $object->getWorkspaces()) { - $values_3 = array(); - foreach ($object->getWorkspaces() as $value_3) { - $values_3[] = $value_3; + $values_4 = []; + foreach ($object->getWorkspaces() as $value_4) { + $values_4[] = $value_4; } - $data['workspaces'] = $values_3; + $data['workspaces'] = $values_4; } if (null !== $object->getCurrentWorkspace()) { $data['currentWorkspace'] = $object->getCurrentWorkspace(); } if (null !== $object->getWorkspace()) { - $values_4 = array(); - foreach ($object->getWorkspace() as $value_4) { - $values_4[] = $value_4; + $values_5 = []; + foreach ($object->getWorkspace() as $value_5) { + $values_5[] = $value_5; } - $data['workspace'] = $values_4; + $data['workspace'] = $values_5; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/UserUserChangePasswordInputNormalizer.php b/src/Normalizer/UserUserChangePasswordInputNormalizer.php index 61bb796f..6f29c7d6 100644 --- a/src/Normalizer/UserUserChangePasswordInputNormalizer.php +++ b/src/Normalizer/UserUserChangePasswordInputNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class UserUserChangePasswordInputNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput'; + return 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput'; + return is_object($data) && 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,14 +54,16 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('confirmPassword', $data)) { $object->setConfirmPassword($data['confirmPassword']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getCurrentPassword()) { $data['currentPassword'] = $object->getCurrentPassword(); } @@ -68,6 +73,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getConfirmPassword()) { $data['confirmPassword'] = $object->getConfirmPassword(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php b/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php index ac421ce8..e0e68378 100644 --- a/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php +++ b/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class VariableFromConfigMapJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld'; + return 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,10 +54,9 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('configMap', $data) && $data['configMap'] !== null) { + if (\array_key_exists('configMap', $data) && null !== $data['configMap']) { $object->setConfigMap($data['configMap']); - } - elseif (\array_key_exists('configMap', $data) && $data['configMap'] === null) { + } elseif (\array_key_exists('configMap', $data) && null === $data['configMap']) { $object->setConfigMap(null); } if (\array_key_exists('item', $data)) { @@ -63,23 +65,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); - } - elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } if (\array_key_exists('name', $data)) { $object->setName($data['name']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getConfigMap()) { $data['configMap'] = $object->getConfigMap(); } @@ -92,6 +95,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableFromConfigMapNormalizer.php b/src/Normalizer/VariableFromConfigMapNormalizer.php index b2d78b06..84407fbb 100644 --- a/src/Normalizer/VariableFromConfigMapNormalizer.php +++ b/src/Normalizer/VariableFromConfigMapNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class VariableFromConfigMapNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\VariableFromConfigMap'; + return 'Gyroscops\\Api\\Model\\VariableFromConfigMap' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromConfigMap'; + return is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromConfigMap' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,10 +45,9 @@ public function denormalize($data, $class, $format = null, array $context = arra if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('configMap', $data) && $data['configMap'] !== null) { + if (\array_key_exists('configMap', $data) && null !== $data['configMap']) { $object->setConfigMap($data['configMap']); - } - elseif (\array_key_exists('configMap', $data) && $data['configMap'] === null) { + } elseif (\array_key_exists('configMap', $data) && null === $data['configMap']) { $object->setConfigMap(null); } if (\array_key_exists('item', $data)) { @@ -54,23 +56,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId($data['id']); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); - } - elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } if (\array_key_exists('name', $data)) { $object->setName($data['name']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getConfigMap()) { $data['configMap'] = $object->getConfigMap(); } @@ -83,6 +86,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableFromSecretJsonldNormalizer.php b/src/Normalizer/VariableFromSecretJsonldNormalizer.php index f5807a00..db4abbda 100644 --- a/src/Normalizer/VariableFromSecretJsonldNormalizer.php +++ b/src/Normalizer/VariableFromSecretJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class VariableFromSecretJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld'; + return 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,10 +54,9 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('secret', $data) && $data['secret'] !== null) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($data['secret']); - } - elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } if (\array_key_exists('item', $data)) { @@ -63,23 +65,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); - } - elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } if (\array_key_exists('name', $data)) { $object->setName($data['name']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getSecret()) { $data['secret'] = $object->getSecret(); } @@ -92,6 +95,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableFromSecretNormalizer.php b/src/Normalizer/VariableFromSecretNormalizer.php index 4e278c51..b133375d 100644 --- a/src/Normalizer/VariableFromSecretNormalizer.php +++ b/src/Normalizer/VariableFromSecretNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class VariableFromSecretNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\VariableFromSecret'; + return 'Gyroscops\\Api\\Model\\VariableFromSecret' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableFromSecret'; + return is_object($data) && 'Gyroscops\\Api\\Model\\VariableFromSecret' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,10 +45,9 @@ public function denormalize($data, $class, $format = null, array $context = arra if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('secret', $data) && $data['secret'] !== null) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($data['secret']); - } - elseif (\array_key_exists('secret', $data) && $data['secret'] === null) { + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } if (\array_key_exists('item', $data)) { @@ -54,23 +56,24 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId($data['id']); } - if (\array_key_exists('environment', $data) && $data['environment'] !== null) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); - } - elseif (\array_key_exists('environment', $data) && $data['environment'] === null) { + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } if (\array_key_exists('name', $data)) { $object->setName($data['name']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getSecret()) { $data['secret'] = $object->getSecret(); } @@ -83,6 +86,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableJsonldNormalizer.php b/src/Normalizer/VariableJsonldNormalizer.php index b263cbfb..a11fd272 100644 --- a/src/Normalizer/VariableJsonldNormalizer.php +++ b/src/Normalizer/VariableJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class VariableJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\VariableJsonld'; + return 'Gyroscops\\Api\\Model\\VariableJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\VariableJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\VariableJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -60,20 +63,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('name', $data)) { $object->setName($data['name']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getEnvironment()) { $data['environment'] = $object->getEnvironment(); } if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/VariableNormalizer.php b/src/Normalizer/VariableNormalizer.php index 7b1c6c15..cc29fc8d 100644 --- a/src/Normalizer/VariableNormalizer.php +++ b/src/Normalizer/VariableNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class VariableNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\Variable'; + return 'Gyroscops\\Api\\Model\\Variable' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Variable'; + return is_object($data) && 'Gyroscops\\Api\\Model\\Variable' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,20 +54,23 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('name', $data)) { $object->setName($data['name']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; if (null !== $object->getEnvironment()) { $data['environment'] = $object->getEnvironment(); } if (null !== $object->getName()) { $data['name'] = $object->getName(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldNormalizer.php index c01dd682..fc28b840 100644 --- a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobActionJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,25 +54,27 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php index 8b57efcf..06a00dd9 100644 --- a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobActionJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -54,15 +57,18 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobActionNormalizer.php b/src/Normalizer/WorkflowJobActionNormalizer.php index 6430824a..035a39b8 100644 --- a/src/Normalizer/WorkflowJobActionNormalizer.php +++ b/src/Normalizer/WorkflowJobActionNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobActionNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobAction'; + return 'Gyroscops\\Api\\Model\\WorkflowJobAction' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobAction'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobAction' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,25 +45,27 @@ public function denormalize($data, $class, $format = null, array $context = arra 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']); - } - 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)) { $object->setId($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobActionReadNormalizer.php b/src/Normalizer/WorkflowJobActionReadNormalizer.php index 04c5d494..101d8a9a 100644 --- a/src/Normalizer/WorkflowJobActionReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobActionReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobActionRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobActionRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobActionRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobActionRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -45,15 +48,18 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('id', $data)) { $object->setId($data['id']); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobJsonldReadNormalizer.php index 72892432..699eeb8e 100644 --- a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,41 +45,40 @@ public function denormalize($data, $class, $format = null, array $context = arra if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { - $object->setContext($data['@context']); - } if (\array_key_exists('@id', $data)) { $object->setId($data['@id']); } if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { - $object->setWorkflow($data['workflow']); + if (\array_key_exists('@context', $data)) { + $object->setContext($data['@context']); } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { + $object->setWorkflow($data['workflow']); + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['workflow'] = $object->getWorkflow(); if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); @@ -84,6 +86,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getAction()) { $data['action'] = $object->getAction(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php index 6647db80..c0b69ae0 100644 --- a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobPipelineJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld'; + return 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -51,10 +54,9 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } - if (\array_key_exists('job', $data) && $data['job'] !== null) { + if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); - } - elseif (\array_key_exists('job', $data) && $data['job'] === null) { + } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } if (\array_key_exists('id', $data)) { @@ -70,56 +72,59 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setRuntimeType($data['runtimeType']); } if (\array_key_exists('runtime', $data)) { - $values = array(); + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); } if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); } if (\array_key_exists('steps', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId2(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php index 55013ff9..54682fb6 100644 --- a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobPipelineJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -64,55 +67,58 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setRuntimeType($data['runtimeType']); } if (\array_key_exists('runtime', $data)) { - $values = array(); + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); } if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); } if (\array_key_exists('steps', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobPipelineNormalizer.php b/src/Normalizer/WorkflowJobPipelineNormalizer.php index 50175d9d..80d8d61f 100644 --- a/src/Normalizer/WorkflowJobPipelineNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobPipelineNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobPipeline'; + return 'Gyroscops\\Api\\Model\\WorkflowJobPipeline' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobPipeline'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipeline' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,10 +45,9 @@ public function denormalize($data, $class, $format = null, array $context = arra 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']); - } - 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)) { @@ -61,56 +63,59 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setRuntimeType($data['runtimeType']); } if (\array_key_exists('runtime', $data)) { - $values = array(); + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); } if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); } if (\array_key_exists('steps', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['job'] = $object->getJob(); $data['id'] = $object->getId(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineReadNormalizer.php index 28e76204..a3f2fd65 100644 --- a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobPipelineReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -55,55 +58,58 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setRuntimeType($data['runtimeType']); } if (\array_key_exists('runtime', $data)) { - $values = array(); + $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); } if (\array_key_exists('autoload', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); } if (\array_key_exists('steps', $data)) { - $values_2 = array(); + $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); $data['runtimeType'] = $object->getRuntimeType(); - $values = array(); + $values = []; foreach ($object->getRuntime() as $value) { $values[] = $value; } $data['runtime'] = $values; - $values_1 = array(); + $values_1 = []; foreach ($object->getAutoload() as $value_1) { $values_1[] = $value_1; } $data['autoload'] = $values_1; if (null !== $object->getSteps()) { - $values_2 = array(); + $values_2 = []; foreach ($object->getSteps() as $value_2) { $values_2[] = $value_2; } $data['steps'] = $values_2; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJobReadNormalizer.php b/src/Normalizer/WorkflowJobReadNormalizer.php index 9798b06b..f7ad832b 100644 --- a/src/Normalizer/WorkflowJobReadNormalizer.php +++ b/src/Normalizer/WorkflowJobReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJobReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJobRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJobRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJobRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJobRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,32 +45,31 @@ public function denormalize($data, $class, $format = null, array $context = arra if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('workflow', $data) && $data['workflow'] !== null) { + if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); - } - elseif (\array_key_exists('workflow', $data) && $data['workflow'] === null) { + } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('pipeline', $data) && $data['pipeline'] !== null) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); - } - elseif (\array_key_exists('pipeline', $data) && $data['pipeline'] === null) { + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { $object->setPipeline(null); } - if (\array_key_exists('action', $data) && $data['action'] !== null) { + if (\array_key_exists('action', $data) && null !== $data['action']) { $object->setAction($data['action']); - } - elseif (\array_key_exists('action', $data) && $data['action'] === null) { + } elseif (\array_key_exists('action', $data) && null === $data['action']) { $object->setAction(null); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['workflow'] = $object->getWorkflow(); if (null !== $object->getPipeline()) { $data['pipeline'] = $object->getPipeline(); @@ -75,6 +77,7 @@ public function normalize($object, $format = null, array $context = array()) if (null !== $object->getAction()) { $data['action'] = $object->getAction(); } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowJsonldReadNormalizer.php b/src/Normalizer/WorkflowJsonldReadNormalizer.php index b92c9a42..20faac1c 100644 --- a/src/Normalizer/WorkflowJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJsonldReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowJsonldReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowJsonldRead'; + return 'Gyroscops\\Api\\Model\\WorkflowJsonldRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowJsonldRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowJsonldRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -42,15 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = arra if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { - $object->setContext($data['@context']); - } if (\array_key_exists('@id', $data)) { $object->setId($data['@id']); } if (\array_key_exists('@type', $data)) { $object->setType($data['@type']); } + if (\array_key_exists('@context', $data)) { + $object->setContext($data['@context']); + } if (\array_key_exists('id', $data)) { $object->setId2($data['id']); } @@ -61,30 +64,33 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('jobs', $data)) { - $values = array(); + $values = []; foreach ($data['jobs'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); } $object->setJobs($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId2(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); if (null !== $object->getJobs()) { - $values = array(); + $values = []; foreach ($object->getJobs() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['jobs'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkflowReadNormalizer.php b/src/Normalizer/WorkflowReadNormalizer.php index 60d1dc26..3c514749 100644 --- a/src/Normalizer/WorkflowReadNormalizer.php +++ b/src/Normalizer/WorkflowReadNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkflowReadNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkflowRead'; + return 'Gyroscops\\Api\\Model\\WorkflowRead' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkflowRead'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkflowRead' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -52,30 +55,33 @@ public function denormalize($data, $class, $format = null, array $context = arra $object->setLabel($data['label']); } if (\array_key_exists('jobs', $data)) { - $values = array(); + $values = []; foreach ($data['jobs'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json', $context); } $object->setJobs($values); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['id'] = $object->getId(); $data['code'] = $object->getCode(); $data['label'] = $object->getLabel(); if (null !== $object->getJobs()) { - $values = array(); + $values = []; foreach ($object->getJobs() as $value) { $values[] = $this->normalizer->normalize($value, 'json', $context); } $data['jobs'] = $values; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkspaceJsonldNormalizer.php b/src/Normalizer/WorkspaceJsonldNormalizer.php index 8d84cb08..f9450c1a 100644 --- a/src/Normalizer/WorkspaceJsonldNormalizer.php +++ b/src/Normalizer/WorkspaceJsonldNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkspaceJsonldNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\WorkspaceJsonld'; + return 'Gyroscops\\Api\\Model\\WorkspaceJsonld' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\WorkspaceJsonld'; + return is_object($data) && 'Gyroscops\\Api\\Model\\WorkspaceJsonld' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -57,50 +60,56 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('name', $data)) { $object->setName($data['name']); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); + if (\array_key_exists('slug', $data)) { + $object->setSlug($data['slug']); } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } if (\array_key_exists('authorizations', $data)) { - $values = array(); + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); } if (\array_key_exists('users', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); $data['organization'] = $object->getOrganization(); if (null !== $object->getAuthorizations()) { - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } $data['authorizations'] = $values; } if (null !== $object->getUsers()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getUsers() as $value_1) { $values_1[] = $value_1; } $data['users'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Normalizer/WorkspaceNormalizer.php b/src/Normalizer/WorkspaceNormalizer.php index 4b3aea5b..d00c9d69 100644 --- a/src/Normalizer/WorkspaceNormalizer.php +++ b/src/Normalizer/WorkspaceNormalizer.php @@ -2,35 +2,38 @@ namespace Gyroscops\Api\Normalizer; -use Jane\Component\JsonSchemaRuntime\Reference; use Gyroscops\Api\Runtime\Normalizer\CheckArray; -use Symfony\Component\Serializer\Exception\InvalidArgumentException; +use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class WorkspaceNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface { use DenormalizerAwareTrait; use NormalizerAwareTrait; use CheckArray; + /** * @return bool */ public function supportsDenormalization($data, $type, $format = null) { - return $type === 'Gyroscops\\Api\\Model\\Workspace'; + return 'Gyroscops\\Api\\Model\\Workspace' === $type; } + public function supportsNormalization($data, $format = null) { - return is_object($data) && get_class($data) === 'Gyroscops\\Api\\Model\\Workspace'; + return is_object($data) && 'Gyroscops\\Api\\Model\\Workspace' === get_class($data); } + /** * @return mixed */ - public function denormalize($data, $class, $format = null, array $context = array()) + public function denormalize($data, $class, $format = null, array $context = []) { if (isset($data['$ref'])) { return new Reference($data['$ref'], $context['document-origin']); @@ -48,50 +51,56 @@ public function denormalize($data, $class, $format = null, array $context = arra if (\array_key_exists('name', $data)) { $object->setName($data['name']); } - if (\array_key_exists('organization', $data) && $data['organization'] !== null) { - $object->setOrganization($data['organization']); + if (\array_key_exists('slug', $data)) { + $object->setSlug($data['slug']); } - elseif (\array_key_exists('organization', $data) && $data['organization'] === null) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { + $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } if (\array_key_exists('authorizations', $data)) { - $values = array(); + $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); } if (\array_key_exists('users', $data)) { - $values_1 = array(); + $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); } + return $object; } + /** * @return array|string|int|float|bool|\ArrayObject|null */ - public function normalize($object, $format = null, array $context = array()) + public function normalize($object, $format = null, array $context = []) { - $data = array(); + $data = []; $data['name'] = $object->getName(); + $data['slug'] = $object->getSlug(); $data['organization'] = $object->getOrganization(); if (null !== $object->getAuthorizations()) { - $values = array(); + $values = []; foreach ($object->getAuthorizations() as $value) { $values[] = $value; } $data['authorizations'] = $values; } if (null !== $object->getUsers()) { - $values_1 = array(); + $values_1 = []; foreach ($object->getUsers() as $value_1) { $values_1[] = $value_1; } $data['users'] = $values_1; } + return $data; } -} \ No newline at end of file +} diff --git a/src/Runtime/Client/BaseEndpoint.php b/src/Runtime/Client/BaseEndpoint.php index a629313b..b17af10f 100644 --- a/src/Runtime/Client/BaseEndpoint.php +++ b/src/Runtime/Client/BaseEndpoint.php @@ -5,61 +5,78 @@ use Http\Message\MultipartStream\MultipartStreamBuilder; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Serializer\SerializerInterface; + abstract class BaseEndpoint implements Endpoint { protected $queryParameters = []; protected $headerParameters = []; protected $body; - public abstract function getMethod() : string; - public abstract function getBody(SerializerInterface $serializer, $streamFactory = null) : array; - public abstract function getUri() : string; - public abstract function getAuthenticationScopes() : array; - protected abstract function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null); - protected function getExtraHeaders() : array + + abstract public function getMethod(): string; + + abstract public function getBody(SerializerInterface $serializer, $streamFactory = null): array; + + abstract public function getUri(): string; + + abstract public function getAuthenticationScopes(): array; + + abstract protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null); + + protected function getExtraHeaders(): array { return []; } - public function getQueryString() : string + + public function getQueryString(): string { $optionsResolved = $this->getQueryOptionsResolver()->resolve($this->queryParameters); $optionsResolved = array_map(function ($value) { return null !== $value ? $value : ''; }, $optionsResolved); + return http_build_query($optionsResolved, '', '&', PHP_QUERY_RFC3986); } - public function getHeaders(array $baseHeaders = []) : array + + public function getHeaders(array $baseHeaders = []): array { return array_merge($this->getExtraHeaders(), $baseHeaders, $this->getHeadersOptionsResolver()->resolve($this->headerParameters)); } - protected function getQueryOptionsResolver() : OptionsResolver + + protected function getQueryOptionsResolver(): OptionsResolver { return new OptionsResolver(); } - protected function getHeadersOptionsResolver() : OptionsResolver + + protected function getHeadersOptionsResolver(): OptionsResolver { return new OptionsResolver(); } + // ---------------------------------------------------------------------------------------------------- // Used for OpenApi2 compatibility - protected function getFormBody() : array + protected function getFormBody(): array { return [['Content-Type' => ['application/x-www-form-urlencoded']], http_build_query($this->getFormOptionsResolver()->resolve($this->formParameters))]; } - protected function getMultipartBody($streamFactory = null) : array + + protected function getMultipartBody($streamFactory = null): array { $bodyBuilder = new MultipartStreamBuilder($streamFactory); $formParameters = $this->getFormOptionsResolver()->resolve($this->formParameters); foreach ($formParameters as $key => $value) { $bodyBuilder->addResource($key, $value); } - return [['Content-Type' => ['multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '"')]], $bodyBuilder->build()]; + + return [['Content-Type' => ['multipart/form-data; boundary="'.($bodyBuilder->getBoundary().'"')]], $bodyBuilder->build()]; } - protected function getFormOptionsResolver() : OptionsResolver + + protected function getFormOptionsResolver(): OptionsResolver { return new OptionsResolver(); } - protected function getSerializedBody(SerializerInterface $serializer) : array + + protected function getSerializedBody(SerializerInterface $serializer): array { return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; } -} \ No newline at end of file +} diff --git a/src/Runtime/Client/Client.php b/src/Runtime/Client/Client.php index 88bee2a6..491a78ad 100644 --- a/src/Runtime/Client/Client.php +++ b/src/Runtime/Client/Client.php @@ -8,6 +8,7 @@ use Psr\Http\Message\StreamFactoryInterface; use Psr\Http\Message\StreamInterface; use Symfony\Component\Serializer\SerializerInterface; + abstract class Client { public const FETCH_RESPONSE = 'response'; @@ -28,6 +29,7 @@ abstract class Client * @var StreamFactoryInterface */ protected $streamFactory; + public function __construct(ClientInterface $httpClient, RequestFactoryInterface $requestFactory, SerializerInterface $serializer, StreamFactoryInterface $streamFactory) { $this->httpClient = $httpClient; @@ -35,12 +37,13 @@ public function __construct(ClientInterface $httpClient, RequestFactoryInterface $this->serializer = $serializer; $this->streamFactory = $streamFactory; } + public function executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_OBJECT) { [$bodyHeaders, $body] = $endpoint->getBody($this->serializer, $this->streamFactory); $queryString = $endpoint->getQueryString(); $uriGlue = false === strpos($endpoint->getUri(), '?') ? '?' : '&'; - $uri = $queryString !== '' ? $endpoint->getUri() . $uriGlue . $queryString : $endpoint->getUri(); + $uri = '' !== $queryString ? $endpoint->getUri().$uriGlue.$queryString : $endpoint->getUri(); $request = $this->requestFactory->createRequest($endpoint->getMethod(), $uri); if ($body) { if ($body instanceof StreamInterface) { @@ -64,6 +67,7 @@ public function executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_ } $request = $request->withHeader(AuthenticationRegistry::SCOPES_HEADER, $scopes); } + return $endpoint->parseResponse($this->httpClient->sendRequest($request), $this->serializer, $fetch); } -} \ No newline at end of file +} diff --git a/src/Runtime/Client/CustomQueryResolver.php b/src/Runtime/Client/CustomQueryResolver.php index f129c7b8..82c6a0b3 100644 --- a/src/Runtime/Client/CustomQueryResolver.php +++ b/src/Runtime/Client/CustomQueryResolver.php @@ -3,7 +3,8 @@ namespace Gyroscops\Api\Runtime\Client; use Symfony\Component\OptionsResolver\Options; + interface CustomQueryResolver { public function __invoke(Options $options, $value); -} \ No newline at end of file +} diff --git a/src/Runtime/Client/Endpoint.php b/src/Runtime/Client/Endpoint.php index 0ee54c85..cab4ee67 100644 --- a/src/Runtime/Client/Endpoint.php +++ b/src/Runtime/Client/Endpoint.php @@ -4,6 +4,7 @@ use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; + interface Endpoint { /** @@ -12,31 +13,37 @@ interface Endpoint * Return value consist of an array where the first item will be a list of headers to add on the request (like the Content Type) * And the second value consist of the body object. */ - public function getBody(SerializerInterface $serializer, $streamFactory = null) : array; + public function getBody(SerializerInterface $serializer, $streamFactory = null): array; + /** * Get the query string of an endpoint without the starting ? (like foo=foo&bar=bar). */ - public function getQueryString() : string; + public function getQueryString(): string; + /** * Get the URI of an endpoint (like /foo-uri). */ - public function getUri() : string; + public function getUri(): string; + /** * Get the HTTP method of an endpoint (like GET, POST, ...). */ - public function getMethod() : string; + public function getMethod(): string; + /** * Get the headers of an endpoint. */ - public function getHeaders(array $baseHeaders = []) : array; + public function getHeaders(array $baseHeaders = []): array; + /** * Get security scopes of an endpoint. */ - public function getAuthenticationScopes() : array; + public function getAuthenticationScopes(): array; + /** * Parse and transform a PSR7 Response into a different object. * * Implementations may vary depending the status code of the response and the fetch mode used. */ public function parseResponse(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT); -} \ No newline at end of file +} diff --git a/src/Runtime/Client/EndpointTrait.php b/src/Runtime/Client/EndpointTrait.php index a17c46a3..89d2b619 100644 --- a/src/Runtime/Client/EndpointTrait.php +++ b/src/Runtime/Client/EndpointTrait.php @@ -5,18 +5,21 @@ use Jane\Component\OpenApiRuntime\Client\Exception\InvalidFetchModeException; use Psr\Http\Message\ResponseInterface; use Symfony\Component\Serializer\SerializerInterface; + trait EndpointTrait { - protected abstract function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null); + abstract protected function transformResponseBody(string $body, int $status, SerializerInterface $serializer, ?string $contentType = null); + public function parseResponse(ResponseInterface $response, SerializerInterface $serializer, string $fetchMode = Client::FETCH_OBJECT) { - if ($fetchMode === Client::FETCH_OBJECT) { + if (Client::FETCH_OBJECT === $fetchMode) { $contentType = $response->hasHeader('Content-Type') ? current($response->getHeader('Content-Type')) : null; + return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer, $contentType); } - if ($fetchMode === Client::FETCH_RESPONSE) { + if (Client::FETCH_RESPONSE === $fetchMode) { return $response; } throw new InvalidFetchModeException(sprintf('Fetch mode %s is not supported', $fetchMode)); } -} \ No newline at end of file +} diff --git a/src/Runtime/Normalizer/CheckArray.php b/src/Runtime/Normalizer/CheckArray.php index 559358c4..6b2c0089 100644 --- a/src/Runtime/Normalizer/CheckArray.php +++ b/src/Runtime/Normalizer/CheckArray.php @@ -4,10 +4,10 @@ trait CheckArray { - public function isOnlyNumericKeys(array $array) : bool + public function isOnlyNumericKeys(array $array): bool { return count(array_filter($array, function ($key) { return is_numeric($key); }, ARRAY_FILTER_USE_KEY)) === count($array); } -} \ No newline at end of file +} diff --git a/src/Runtime/Normalizer/ReferenceNormalizer.php b/src/Runtime/Normalizer/ReferenceNormalizer.php index 0338acb0..e8b65896 100644 --- a/src/Runtime/Normalizer/ReferenceNormalizer.php +++ b/src/Runtime/Normalizer/ReferenceNormalizer.php @@ -4,6 +4,7 @@ use Jane\Component\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Normalizer\NormalizerInterface; + class ReferenceNormalizer implements NormalizerInterface { /** @@ -13,8 +14,10 @@ public function normalize($object, $format = null, array $context = []) { $ref = []; $ref['$ref'] = (string) $object->getReferenceUri(); + return $ref; } + /** * {@inheritdoc} */ @@ -22,4 +25,4 @@ public function supportsNormalization($data, $format = null) { return $data instanceof Reference; } -} \ No newline at end of file +} From 62f89d4778d1e86dc2712299eaaf4736957d4ed6 Mon Sep 17 00:00:00 2001 From: sebprt Date: Thu, 6 Oct 2022 09:41:08 +0200 Subject: [PATCH 2/3] Added strict and use-fixer options --- jane/open_api.php | 2 + src/Client.php | 338 +++++++++--------- ...AddAfterPipelineStepPipelineCollection.php | 4 +- ...ddBeforePipelineStepPipelineCollection.php | 4 +- .../AddComposerPipelinePipelineCollection.php | 4 +- ...AddPipelineStepProbePipelineCollection.php | 4 +- .../AppendPipelineStepPipelineCollection.php | 4 +- src/Endpoint/ChangePasswordUserItem.php | 2 +- .../DeclareExecutionExecutionCollection.php | 4 +- .../DeclarePipelinePipelineCollection.php | 4 +- .../FinishExecutionExecutionCollection.php | 4 +- .../InterruptExecutionExecutionCollection.php | 4 +- ...oveAfterPipelineStepPipelineCollection.php | 4 +- ...veBeforePipelineStepPipelineCollection.php | 4 +- src/Endpoint/PatchOfferItem.php | 2 +- src/Endpoint/PatchOrganizationItem.php | 2 +- src/Endpoint/PatchSubscriptionItem.php | 2 +- src/Endpoint/PatchUserAuthorizationItem.php | 2 +- src/Endpoint/PatchUserItem.php | 2 +- src/Endpoint/PatchWorkspaceItem.php | 2 +- .../PipelineCompilationPipelineCollection.php | 4 +- src/Endpoint/PostAkeneoInstanceCollection.php | 4 +- .../PostAkeneoLinkedAccountCollection.php | 4 +- .../PostAkeneoOauthTokenCollection.php | 4 +- src/Endpoint/PostConfigMapCollection.php | 4 +- src/Endpoint/PostEnvironmentCollection.php | 4 +- .../PostOnPremiseRequestCollection.php | 4 +- src/Endpoint/PostOrganizationCollection.php | 4 +- src/Endpoint/PostReferralCodeCollection.php | 4 +- .../PostReferralRequestCollection.php | 4 +- src/Endpoint/PostSecretCollection.php | 4 +- src/Endpoint/PostSubscriptionCollection.php | 4 +- .../PostUserAuthorizationCollection.php | 4 +- src/Endpoint/PostUserCollection.php | 4 +- .../PostVariableFromConfigMapCollection.php | 4 +- .../PostVariableFromSecretCollection.php | 4 +- src/Endpoint/PostWorkspaceCollection.php | 4 +- ...eoOauthTokenAkeneoOauthTokenCollection.php | 4 +- src/Endpoint/PutOfferItem.php | 6 +- src/Endpoint/PutOrganizationItem.php | 6 +- src/Endpoint/PutSubscriptionItem.php | 6 +- src/Endpoint/PutUserAuthorizationItem.php | 6 +- src/Endpoint/PutUserItem.php | 6 +- src/Endpoint/PutWorkspaceItem.php | 6 +- ...ReorderPipelineStepsPipelineCollection.php | 4 +- .../ReplacePipelineStepPipelineCollection.php | 4 +- .../ResumeExecutionExecutionCollection.php | 4 +- .../ScheduleImmediateScheduleCollection.php | 4 +- .../ScheduleOnceScheduleCollection.php | 4 +- .../ScheduleTimesScheduleCollection.php | 4 +- .../ScheduleUntilScheduleCollection.php | 4 +- .../StartExecutionExecutionCollection.php | 4 +- .../TerminateExecutionExecutionCollection.php | 4 +- ...pdateExecutionStateExecutionCollection.php | 4 +- src/Model/AbstractPipeline.php | 54 +-- src/Model/AbstractPipelineJsonld.php | 68 ++-- src/Model/ActionJsonldRead.php | 20 +- src/Model/ActionRead.php | 6 +- src/Model/AkeneoInstance.php | 44 +-- .../AkeneoInstanceAkeneoInstanceInput.php | 18 +- ...keneoInstanceAkeneoInstanceInputJsonld.php | 32 +- src/Model/AkeneoInstanceJsonld.php | 58 +-- src/Model/AkeneoLinkedAccount.php | 24 +- ...LinkedAccountAkeneoLinkedAccountsInput.php | 24 +- ...AccountAkeneoLinkedAccountsInputJsonld.php | 38 +- src/Model/AkeneoLinkedAccountJsonld.php | 38 +- src/Model/AkeneoOauthTokenJsonldRead.php | 42 +-- src/Model/AkeneoOauthTokenOauthStateInput.php | 16 +- .../AkeneoOauthTokenOauthStateInputJsonld.php | 30 +- ...eoOauthTokenOauthStateOutputJsonldRead.php | 14 +- src/Model/AkeneoOauthTokenOauthTokenInput.php | 18 +- .../AkeneoOauthTokenOauthTokenInputJsonld.php | 30 +- ...eoOauthTokenOauthTokenOutputJsonldRead.php | 12 +- src/Model/AkeneoOauthTokenRead.php | 28 +- src/Model/AuthenticationMeGetResponse200.php | 28 +- ...henticationMeGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...uthenticationMeGetResponse200HydraView.php | 36 +- ...enticationOfferIdOptionsGetResponse200.php | 28 +- ...fferIdOptionsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...nOfferIdOptionsGetResponse200HydraView.php | 36 +- .../AuthenticationOffersGetResponse200.php | 28 +- ...icationOffersGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...nticationOffersGetResponse200HydraView.php | 36 +- ...nizationIdAuthorizationsGetResponse200.php | 28 +- ...uthorizationsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...dAuthorizationsGetResponse200HydraView.php | 36 +- ...nIdExternalCollaboratorsGetResponse200.php | 28 +- ...CollaboratorsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...alCollaboratorsGetResponse200HydraView.php | 36 +- ...ationOrganizationIdUsersGetResponse200.php | 28 +- ...zationIdUsersGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...nizationIdUsersGetResponse200HydraView.php | 36 +- ...OrganizationIdWorkspacesGetResponse200.php | 28 +- ...nIdWorkspacesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...ionIdWorkspacesGetResponse200HydraView.php | 36 +- ...henticationOrganizationsGetResponse200.php | 28 +- ...OrganizationsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...onOrganizationsGetResponse200HydraView.php | 36 +- ...henticationSubscriptionsGetResponse200.php | 28 +- ...SubscriptionsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...onSubscriptionsGetResponse200HydraView.php | 36 +- ...onSubscriptionsIdOptionsGetResponse200.php | 28 +- ...ionsIdOptionsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...ptionsIdOptionsGetResponse200HydraView.php | 36 +- ...cationUserAuthorizationsGetResponse200.php | 28 +- ...uthorizationsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...rAuthorizationsGetResponse200HydraView.php | 36 +- ...tionUserIdAuthorizationsGetResponse200.php | 28 +- ...uthorizationsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...dAuthorizationsGetResponse200HydraView.php | 36 +- .../AuthenticationUsersGetResponse200.php | 28 +- ...ticationUsersGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...enticationUsersGetResponse200HydraView.php | 36 +- ...orkspaceIdAuthorizationsGetResponse200.php | 28 +- ...uthorizationsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...dAuthorizationsGetResponse200HydraView.php | 36 +- ...ticationWorkspaceIdUsersGetResponse200.php | 28 +- ...kspaceIdUsersGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...orkspaceIdUsersGetResponse200HydraView.php | 36 +- ...AuthenticationWorkspacesGetResponse200.php | 28 +- ...ionWorkspacesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...ationWorkspacesGetResponse200HydraView.php | 36 +- src/Model/AutoloadInput.php | 16 +- src/Model/AutoloadInputJsonld.php | 30 +- src/Model/BigDecimal.php | 66 ++-- src/Model/BigDecimalJsonld.php | 80 ++--- src/Model/BigInteger.php | 60 ++-- src/Model/BigIntegerJsonld.php | 74 ++-- src/Model/BigNumber.php | 36 +- src/Model/BigNumberJsonld.php | 50 +-- src/Model/ConfigMap.php | 32 +- src/Model/ConfigMapConfigMapInput.php | 18 +- src/Model/ConfigMapConfigMapInputJsonld.php | 32 +- src/Model/ConfigMapJsonld.php | 50 +-- src/Model/ConfigMapValueInput.php | 16 +- src/Model/ConfigMapValueInputJsonld.php | 30 +- src/Model/Context.php | 12 +- src/Model/ContextJsonld.php | 26 +- src/Model/Credentials.php | 18 +- src/Model/Currency.php | 24 +- src/Model/CurrencyJsonld.php | 38 +- src/Model/Environment.php | 40 +-- ...nvironmentConfigMapIdPutPutResponse200.php | 28 +- ...onfigMapIdPutPutResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...tConfigMapIdPutPutResponse200HydraView.php | 36 +- .../EnvironmentConfigMapsGetResponse200.php | 28 +- ...entConfigMapsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...nmentConfigMapsGetResponse200HydraView.php | 36 +- .../EnvironmentEnvironmentsGetResponse200.php | 28 +- ...tEnvironmentsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...entEnvironmentsGetResponse200HydraView.php | 36 +- src/Model/EnvironmentJsonld.php | 54 +-- .../EnvironmentSecretIdPutPutResponse200.php | 28 +- ...ntSecretIdPutPutResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...mentSecretIdPutPutResponse200HydraView.php | 36 +- .../EnvironmentSecretsGetResponse200.php | 28 +- ...onmentSecretsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...ironmentSecretsGetResponse200HydraView.php | 36 +- ...ntVariableFromConfigMapsGetResponse200.php | 28 +- ...romConfigMapsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...eFromConfigMapsGetResponse200HydraView.php | 36 +- ...nmentVariableFromSecretsGetResponse200.php | 28 +- ...leFromSecretsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...ableFromSecretsGetResponse200HydraView.php | 36 +- src/Model/ExecutionAction.php | 6 +- src/Model/ExecutionActionJsonld.php | 20 +- src/Model/ExecutionActionJsonldRead.php | 20 +- src/Model/ExecutionActionRead.php | 6 +- ...onDeclarePipelineExecutionCommandInput.php | 12 +- ...arePipelineExecutionCommandInputJsonld.php | 26 +- ...larePipelineExecutionCommandJsonldRead.php | 14 +- ...ionFinishPipelineExecutionCommandInput.php | 6 +- ...ishPipelineExecutionCommandInputJsonld.php | 20 +- ...nishPipelineExecutionCommandJsonldRead.php | 14 +- ...InterruptPipelineExecutionCommandInput.php | 6 +- ...uptPipelineExecutionCommandInputJsonld.php | 20 +- ...ruptPipelineExecutionCommandJsonldRead.php | 14 +- src/Model/ExecutionJsonldRead.php | 38 +- src/Model/ExecutionPipeline.php | 16 +- src/Model/ExecutionPipelineJob.php | 16 +- src/Model/ExecutionPipelineJobJsonld.php | 30 +- src/Model/ExecutionPipelineJsonld.php | 30 +- src/Model/ExecutionPipelineStep.php | 22 +- src/Model/ExecutionPipelineStepJsonld.php | 36 +- src/Model/ExecutionRead.php | 24 +- ...ionResumePipelineExecutionCommandInput.php | 6 +- ...umePipelineExecutionCommandInputJsonld.php | 20 +- ...sumePipelineExecutionCommandJsonldRead.php | 14 +- ...tionStartPipelineExecutionCommandInput.php | 6 +- ...artPipelineExecutionCommandInputJsonld.php | 20 +- ...tartPipelineExecutionCommandJsonldRead.php | 14 +- ...TerminatePipelineExecutionCommandInput.php | 12 +- ...atePipelineExecutionCommandInputJsonld.php | 26 +- ...natePipelineExecutionCommandJsonldRead.php | 14 +- ...datePipelineExecutionStateCommandInput.php | 12 +- ...pelineExecutionStateCommandInputJsonld.php | 26 +- ...ipelineExecutionStateCommandJsonldRead.php | 14 +- src/Model/ExecutionWorkflow.php | 22 +- src/Model/ExecutionWorkflowJob.php | 6 +- src/Model/ExecutionWorkflowJobAction.php | 6 +- .../ExecutionWorkflowJobActionJsonld.php | 20 +- src/Model/ExecutionWorkflowJobJsonld.php | 20 +- src/Model/ExecutionWorkflowJsonld.php | 36 +- ...wayAkeneoInstanceFromUrlGetResponse200.php | 28 +- ...stanceFromUrlGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...InstanceFromUrlGetResponse200HydraView.php | 36 +- ...AkeneoInstanceOauthStateGetResponse200.php | 28 +- ...nceOauthStateGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...tanceOauthStateGetResponse200HydraView.php | 36 +- .../GatewayAkeneoInstancesGetResponse200.php | 28 +- ...eneoInstancesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...AkeneoInstancesGetResponse200HydraView.php | 36 +- ...inkedAccountAkeneoUserIdGetResponse200.php | 28 +- ...tAkeneoUserIdGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...untAkeneoUserIdGetResponse200HydraView.php | 36 +- ...ewayAkeneoLinkedAccountsGetResponse200.php | 28 +- ...inkedAccountsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...oLinkedAccountsGetResponse200HydraView.php | 36 +- ...GatewayAkeneoOauthStatesGetResponse200.php | 28 +- ...eoOauthStatesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...eneoOauthStatesGetResponse200HydraView.php | 36 +- src/Model/GatewayAkeneoOauthTokenPutBody.php | 28 +- ...ewayAkeneoOauthTokenPutBodyHydraSearch.php | 28 +- ...okenPutBodyHydraSearchHydraMappingItem.php | 18 +- ...atewayAkeneoOauthTokenPutBodyHydraView.php | 36 +- .../GatewayAkeneoOauthTokenPutResponse200.php | 28 +- ...neoOauthTokenPutResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...keneoOauthTokenPutResponse200HydraView.php | 36 +- src/Model/Money.php | 76 ++-- src/Model/MoneyJsonld.php | 90 ++--- src/Model/Offer.php | 46 +-- src/Model/OfferJsonld.php | 60 ++-- ...emiseRequestJsonldOnPremiseRequestRead.php | 50 +-- ...miseRequestJsonldOnPremiseRequestWrite.php | 38 +- .../OnPremiseRequestOnPremiseRequestRead.php | 36 +- .../OnPremiseRequestOnPremiseRequestWrite.php | 24 +- src/Model/Option.php | 36 +- src/Model/OptionJsonld.php | 48 +-- src/Model/Organization.php | 58 +-- src/Model/OrganizationJsonld.php | 72 ++-- ...pelineAddAfterPipelineStepCommandInput.php | 44 +-- ...AddAfterPipelineStepCommandInputJsonld.php | 58 +-- ...eAddAfterPipelineStepCommandJsonldRead.php | 14 +- ...elineAddBeforePipelineStepCommandInput.php | 44 +-- ...ddBeforePipelineStepCommandInputJsonld.php | 58 +-- ...AddBeforePipelineStepCommandJsonldRead.php | 14 +- ...pelineComposerPSR4AutoloadCommandInput.php | 22 +- ...ComposerPSR4AutoloadCommandInputJsonld.php | 36 +- ...eComposerPSR4AutoloadCommandJsonldRead.php | 14 +- ...ipelineAddPipelineStepProbCommandInput.php | 18 +- ...eAddPipelineStepProbCommandInputJsonld.php | 32 +- ...eAddPipelineStepProbeCommandJsonldRead.php | 14 +- ...PipelineAppendPipelineStepCommandInput.php | 38 +- ...neAppendPipelineStepCommandInputJsonld.php | 52 +-- ...ineAppendPipelineStepCommandJsonldRead.php | 14 +- src/Model/PipelineCompilation.php | 24 +- src/Model/PipelineCompilationJsonld.php | 38 +- .../PipelineCompilePipelineCommandInput.php | 6 +- ...elineCompilePipelineCommandInputJsonld.php | 20 +- ...pelineCompilePipelineCommandJsonldRead.php | 14 +- .../PipelineDeclarePipelineCommandInput.php | 38 +- ...elineDeclarePipelineCommandInputJsonld.php | 52 +-- ...pelineDeclarePipelineCommandJsonldRead.php | 14 +- src/Model/PipelineIdJsonld.php | 14 +- src/Model/PipelineJsonldRead.php | 74 ++-- ...elineMoveAfterPipelineStepCommandInput.php | 18 +- ...oveAfterPipelineStepCommandInputJsonld.php | 32 +- ...MoveAfterPipelineStepCommandJsonldRead.php | 14 +- ...lineMoveBeforePipelineStepCommandInput.php | 18 +- ...veBeforePipelineStepCommandInputJsonld.php | 32 +- ...oveBeforePipelineStepCommandJsonldRead.php | 14 +- src/Model/PipelineRead.php | 60 ++-- ...movePipelineStepProbeCommandJsonldRead.php | 14 +- ...pelineReorderPipelineStepsCommandInput.php | 16 +- ...ReorderPipelineStepsCommandInputJsonld.php | 30 +- ...eReorderPipelineStepsCommandJsonldRead.php | 14 +- ...ipelineReplacePipelineStepCommandInput.php | 44 +-- ...eReplacePipelineStepCommandInputJsonld.php | 58 +-- ...neReplacePipelineStepCommandJsonldRead.php | 14 +- src/Model/PipelineStep.php | 50 +-- src/Model/PipelineStepJsonld.php | 64 ++-- src/Model/PipelineStepProbe.php | 30 +- src/Model/PipelineStepProbeJsonld.php | 44 +-- src/Model/PriceJsonld.php | 14 +- src/Model/Probe.php | 12 +- src/Model/ProbeJsonld.php | 26 +- .../ReferralCodeJsonldReferralCodeRead.php | 36 +- .../ReferralCodeJsonldReferralCodeWrite.php | 14 +- src/Model/ReferralCodeReferralCodeRead.php | 22 +- src/Model/ReferralCodesGetResponse200.php | 28 +- ...ReferralCodesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- .../ReferralCodesGetResponse200HydraView.php | 36 +- ...eferralOnPremiseRequestsGetResponse200.php | 28 +- ...emiseRequestsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...PremiseRequestsGetResponse200HydraView.php | 36 +- ...ferralRequestJsonldReferralRequestRead.php | 62 ++-- .../ReferralRequestReferralRequestInput.php | 36 +- ...erralRequestReferralRequestInputJsonld.php | 50 +-- .../ReferralRequestReferralRequestRead.php | 48 +-- src/Model/ReferralRequestsGetResponse200.php | 28 +- ...erralRequestsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...eferralRequestsGetResponse200HydraView.php | 36 +- src/Model/RuntimeActionsGetResponse200.php | 28 +- ...untimeActionsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- .../RuntimeActionsGetResponse200HydraView.php | 36 +- ...ExecutionPipelineIdStepsGetResponse200.php | 28 +- ...pelineIdStepsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...PipelineIdStepsGetResponse200HydraView.php | 36 +- ...cutionExecutionPipelinesGetResponse200.php | 28 +- ...tionPipelinesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...cutionPipelinesGetResponse200HydraView.php | 36 +- ...nExecutionWorkflowIdJobsGetResponse200.php | 28 +- ...orkflowIdJobsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...nWorkflowIdJobsGetResponse200HydraView.php | 36 +- ...cutionExecutionWorkflowsGetResponse200.php | 28 +- ...tionWorkflowsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...cutionWorkflowsGetResponse200HydraView.php | 36 +- ...eExecutionIdWorkflowJobsGetResponse200.php | 28 +- ...dWorkflowJobsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...nIdWorkflowJobsGetResponse200HydraView.php | 36 +- ...cutionPipelineJobIdStepsGetResponse200.php | 28 +- ...ineJobIdStepsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...elineJobIdStepsGetResponse200HydraView.php | 36 +- ...imeExecutionPipelineJobsGetResponse200.php | 28 +- ...nPipelineJobsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...ionPipelineJobsGetResponse200HydraView.php | 36 +- ...rkflowJobIdPipelineStepsGetResponse200.php | 28 +- ...PipelineStepsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...IdPipelineStepsGetResponse200HydraView.php | 36 +- ...lowExecutionWorkflowJobsGetResponse200.php | 28 +- ...nWorkflowJobsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...ionWorkflowJobsGetResponse200HydraView.php | 36 +- src/Model/RuntimeExecutionsGetResponse200.php | 28 +- ...imeExecutionsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...ntimeExecutionsGetResponse200HydraView.php | 36 +- ...mePipelineIdCompilationsGetResponse200.php | 28 +- ...dCompilationsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...eIdCompilationsGetResponse200HydraView.php | 36 +- ...timePipelineStepIdProbesGetResponse200.php | 28 +- ...eStepIdProbesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...ineStepIdProbesGetResponse200HydraView.php | 36 +- ...untimePipelineStepProbesGetResponse200.php | 28 +- ...ineStepProbesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...elineStepProbesGetResponse200HydraView.php | 36 +- .../RuntimePipelineStepsGetResponse200.php | 28 +- ...PipelineStepsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...mePipelineStepsGetResponse200HydraView.php | 36 +- ...timePipelinesCompilationGetResponse200.php | 28 +- ...esCompilationGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...inesCompilationGetResponse200HydraView.php | 36 +- src/Model/RuntimePipelinesGetResponse200.php | 28 +- ...timePipelinesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...untimePipelinesGetResponse200HydraView.php | 36 +- ...timeScheduleIdExecutionsGetResponse200.php | 28 +- ...eIdExecutionsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...uleIdExecutionsGetResponse200HydraView.php | 36 +- ...meScheduleIdWorkflowJobsGetResponse200.php | 28 +- ...dWorkflowJobsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...eIdWorkflowJobsGetResponse200HydraView.php | 36 +- src/Model/RuntimeSchedulesGetResponse200.php | 28 +- ...timeSchedulesGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...untimeSchedulesGetResponse200HydraView.php | 36 +- .../RuntimeWorkflowIdJobsGetResponse200.php | 28 +- ...orkflowIdJobsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...eWorkflowIdJobsGetResponse200HydraView.php | 36 +- src/Model/RuntimeWorkflowsGetResponse200.php | 28 +- ...timeWorkflowsGetResponse200HydraSearch.php | 28 +- ...Response200HydraSearchHydraMappingItem.php | 18 +- ...untimeWorkflowsGetResponse200HydraView.php | 36 +- src/Model/Schedule.php | 40 +-- ...eclarePipelineScheduleImmediateCommand.php | 6 +- ...ePipelineScheduleImmediateCommandInput.php | 12 +- ...ineScheduleImmediateCommandInputJsonld.php | 26 +- ...PipelineScheduleImmediateCommandJsonld.php | 32 +- ...duleDeclarePipelineScheduleOnceCommand.php | 12 +- ...eclarePipelineScheduleOnceCommandInput.php | 12 +- ...PipelineScheduleOnceCommandInputJsonld.php | 26 +- ...clarePipelineScheduleOnceCommandJsonld.php | 38 +- ...uleDeclarePipelineScheduleTimesCommand.php | 24 +- ...clarePipelineScheduleTimesCommandInput.php | 24 +- ...ipelineScheduleTimesCommandInputJsonld.php | 38 +- ...larePipelineScheduleTimesCommandJsonld.php | 50 +-- ...uleDeclarePipelineScheduleUntilCommand.php | 24 +- ...clarePipelineScheduleUntilCommandInput.php | 24 +- ...ipelineScheduleUntilCommandInputJsonld.php | 38 +- ...larePipelineScheduleUntilCommandJsonld.php | 50 +-- src/Model/ScheduleIdJsonld.php | 14 +- src/Model/ScheduleJsonld.php | 54 +-- src/Model/Secret.php | 26 +- src/Model/SecretInput.php | 22 +- src/Model/SecretInputJsonld.php | 36 +- src/Model/SecretJsonld.php | 44 +-- src/Model/SecretSecretInput.php | 22 +- src/Model/SecretSecretInputJsonld.php | 36 +- src/Model/StepInput.php | 32 +- src/Model/StepInputJsonld.php | 46 +-- src/Model/Subscription.php | 38 +- src/Model/SubscriptionJsonld.php | 52 +-- src/Model/SubscriptionOption.php | 12 +- src/Model/SubscriptionOptionJsonld.php | 24 +- src/Model/Token.php | 6 +- src/Model/TraversableJsonld.php | 14 +- src/Model/UpdateList.php | 2 +- src/Model/UpdateListJsonld.php | 20 +- src/Model/User.php | 130 +++---- src/Model/UserAuthorization.php | 22 +- src/Model/UserAuthorizationJsonld.php | 36 +- src/Model/UserIdJsonld.php | 14 +- src/Model/UserJsonld.php | 144 ++++---- src/Model/UserUserChangePasswordInput.php | 18 +- src/Model/Variable.php | 18 +- src/Model/VariableFromConfigMap.php | 18 +- src/Model/VariableFromConfigMapJsonld.php | 32 +- src/Model/VariableFromSecret.php | 18 +- src/Model/VariableFromSecretJsonld.php | 32 +- src/Model/VariableJsonld.php | 32 +- src/Model/WorkflowJobAction.php | 6 +- src/Model/WorkflowJobActionJsonld.php | 20 +- src/Model/WorkflowJobActionJsonldRead.php | 20 +- src/Model/WorkflowJobActionRead.php | 6 +- src/Model/WorkflowJobJsonldRead.php | 14 +- src/Model/WorkflowJobPipeline.php | 54 +-- src/Model/WorkflowJobPipelineJsonld.php | 68 ++-- src/Model/WorkflowJobPipelineJsonldRead.php | 68 ++-- src/Model/WorkflowJobPipelineRead.php | 54 +-- src/Model/WorkflowJsonldRead.php | 42 +-- src/Model/WorkflowRead.php | 28 +- src/Model/Workspace.php | 38 +- src/Model/WorkspaceJsonld.php | 52 +-- .../AbstractPipelineJsonldNormalizer.php | 40 ++- src/Normalizer/AbstractPipelineNormalizer.php | 28 +- src/Normalizer/ActionJsonldReadNormalizer.php | 16 +- src/Normalizer/ActionReadNormalizer.php | 4 +- ...nceAkeneoInstanceInputJsonldNormalizer.php | 24 +- ...oInstanceAkeneoInstanceInputNormalizer.php | 12 +- .../AkeneoInstanceJsonldNormalizer.php | 36 +- src/Normalizer/AkeneoInstanceNormalizer.php | 24 +- ...neoLinkedAccountsInputJsonldNormalizer.php | 28 +- ...untAkeneoLinkedAccountsInputNormalizer.php | 16 +- .../AkeneoLinkedAccountJsonldNormalizer.php | 28 +- .../AkeneoLinkedAccountNormalizer.php | 16 +- .../AkeneoOauthTokenJsonldReadNormalizer.php | 28 +- ...thTokenOauthStateInputJsonldNormalizer.php | 20 +- ...neoOauthTokenOauthStateInputNormalizer.php | 8 +- ...enOauthStateOutputJsonldReadNormalizer.php | 12 +- ...thTokenOauthTokenInputJsonldNormalizer.php | 20 +- ...neoOauthTokenOauthTokenInputNormalizer.php | 12 +- ...enOauthTokenOutputJsonldReadNormalizer.php | 8 +- .../AkeneoOauthTokenReadNormalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...nMeGetResponse200HydraSearchNormalizer.php | 16 +- ...ionMeGetResponse200HydraViewNormalizer.php | 24 +- ...thenticationMeGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...OfferIdOptionsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...ersGetResponse200HydraSearchNormalizer.php | 16 +- ...ffersGetResponse200HydraViewNormalizer.php | 24 +- ...ticationOffersGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...AuthorizationsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...orsGetResponse200HydraSearchNormalizer.php | 16 +- ...atorsGetResponse200HydraViewNormalizer.php | 24 +- ...lCollaboratorsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...ersGetResponse200HydraSearchNormalizer.php | 16 +- ...UsersGetResponse200HydraViewNormalizer.php | 24 +- ...izationIdUsersGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...cesGetResponse200HydraSearchNormalizer.php | 16 +- ...pacesGetResponse200HydraViewNormalizer.php | 24 +- ...onIdWorkspacesGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...nOrganizationsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...nSubscriptionsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...tionsIdOptionsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...AuthorizationsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...AuthorizationsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...ersGetResponse200HydraSearchNormalizer.php | 16 +- ...UsersGetResponse200HydraViewNormalizer.php | 24 +- ...nticationUsersGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...AuthorizationsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...ersGetResponse200HydraSearchNormalizer.php | 16 +- ...UsersGetResponse200HydraViewNormalizer.php | 24 +- ...rkspaceIdUsersGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...cesGetResponse200HydraSearchNormalizer.php | 16 +- ...pacesGetResponse200HydraViewNormalizer.php | 24 +- ...tionWorkspacesGetResponse200Normalizer.php | 16 +- .../AutoloadInputJsonldNormalizer.php | 20 +- src/Normalizer/AutoloadInputNormalizer.php | 8 +- src/Normalizer/BigDecimalJsonldNormalizer.php | 56 ++- src/Normalizer/BigDecimalNormalizer.php | 44 ++- src/Normalizer/BigIntegerJsonldNormalizer.php | 52 ++- src/Normalizer/BigIntegerNormalizer.php | 40 ++- src/Normalizer/BigNumberJsonldNormalizer.php | 36 +- src/Normalizer/BigNumberNormalizer.php | 24 +- ...onfigMapConfigMapInputJsonldNormalizer.php | 24 +- .../ConfigMapConfigMapInputNormalizer.php | 12 +- src/Normalizer/ConfigMapJsonldNormalizer.php | 36 +- src/Normalizer/ConfigMapNormalizer.php | 24 +- .../ConfigMapValueInputJsonldNormalizer.php | 28 +- .../ConfigMapValueInputNormalizer.php | 16 +- src/Normalizer/ContextJsonldNormalizer.php | 20 +- src/Normalizer/ContextNormalizer.php | 8 +- src/Normalizer/CredentialsNormalizer.php | 12 +- src/Normalizer/CurrencyJsonldNormalizer.php | 28 +- src/Normalizer/CurrencyNormalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...PutPutResponse200HydraSearchNormalizer.php | 16 +- ...IdPutPutResponse200HydraViewNormalizer.php | 24 +- ...ConfigMapIdPutPutResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...apsGetResponse200HydraSearchNormalizer.php | 16 +- ...gMapsGetResponse200HydraViewNormalizer.php | 24 +- ...mentConfigMapsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...ntsGetResponse200HydraSearchNormalizer.php | 16 +- ...mentsGetResponse200HydraViewNormalizer.php | 24 +- ...ntEnvironmentsGetResponse200Normalizer.php | 16 +- .../EnvironmentJsonldNormalizer.php | 36 +- src/Normalizer/EnvironmentNormalizer.php | 24 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...PutPutResponse200HydraSearchNormalizer.php | 16 +- ...IdPutPutResponse200HydraViewNormalizer.php | 24 +- ...entSecretIdPutPutResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...etsGetResponse200HydraSearchNormalizer.php | 16 +- ...cretsGetResponse200HydraViewNormalizer.php | 24 +- ...ronmentSecretsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...apsGetResponse200HydraSearchNormalizer.php | 16 +- ...gMapsGetResponse200HydraViewNormalizer.php | 24 +- ...FromConfigMapsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...etsGetResponse200HydraSearchNormalizer.php | 16 +- ...cretsGetResponse200HydraViewNormalizer.php | 24 +- ...bleFromSecretsGetResponse200Normalizer.php | 16 +- .../ExecutionActionJsonldNormalizer.php | 16 +- .../ExecutionActionJsonldReadNormalizer.php | 16 +- src/Normalizer/ExecutionActionNormalizer.php | 4 +- .../ExecutionActionReadNormalizer.php | 4 +- ...eExecutionCommandInputJsonldNormalizer.php | 20 +- ...ipelineExecutionCommandInputNormalizer.php | 8 +- ...neExecutionCommandJsonldReadNormalizer.php | 12 +- ...eExecutionCommandInputJsonldNormalizer.php | 16 +- ...ipelineExecutionCommandInputNormalizer.php | 4 +- ...neExecutionCommandJsonldReadNormalizer.php | 12 +- ...eExecutionCommandInputJsonldNormalizer.php | 16 +- ...ipelineExecutionCommandInputNormalizer.php | 4 +- ...neExecutionCommandJsonldReadNormalizer.php | 12 +- .../ExecutionJsonldReadNormalizer.php | 28 +- .../ExecutionPipelineJobJsonldNormalizer.php | 20 +- .../ExecutionPipelineJobNormalizer.php | 8 +- .../ExecutionPipelineJsonldNormalizer.php | 20 +- .../ExecutionPipelineNormalizer.php | 8 +- .../ExecutionPipelineStepJsonldNormalizer.php | 24 +- .../ExecutionPipelineStepNormalizer.php | 12 +- src/Normalizer/ExecutionReadNormalizer.php | 16 +- ...eExecutionCommandInputJsonldNormalizer.php | 16 +- ...ipelineExecutionCommandInputNormalizer.php | 4 +- ...neExecutionCommandJsonldReadNormalizer.php | 12 +- ...eExecutionCommandInputJsonldNormalizer.php | 16 +- ...ipelineExecutionCommandInputNormalizer.php | 4 +- ...neExecutionCommandJsonldReadNormalizer.php | 12 +- ...eExecutionCommandInputJsonldNormalizer.php | 20 +- ...ipelineExecutionCommandInputNormalizer.php | 8 +- ...neExecutionCommandJsonldReadNormalizer.php | 12 +- ...utionStateCommandInputJsonldNormalizer.php | 20 +- ...neExecutionStateCommandInputNormalizer.php | 8 +- ...cutionStateCommandJsonldReadNormalizer.php | 12 +- ...utionWorkflowJobActionJsonldNormalizer.php | 16 +- .../ExecutionWorkflowJobActionNormalizer.php | 4 +- .../ExecutionWorkflowJobJsonldNormalizer.php | 16 +- .../ExecutionWorkflowJobNormalizer.php | 4 +- .../ExecutionWorkflowJsonldNormalizer.php | 24 +- .../ExecutionWorkflowNormalizer.php | 12 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...UrlGetResponse200HydraSearchNormalizer.php | 16 +- ...omUrlGetResponse200HydraViewNormalizer.php | 24 +- ...nstanceFromUrlGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...ateGetResponse200HydraSearchNormalizer.php | 16 +- ...StateGetResponse200HydraViewNormalizer.php | 24 +- ...anceOauthStateGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...cesGetResponse200HydraSearchNormalizer.php | 16 +- ...ancesGetResponse200HydraViewNormalizer.php | 24 +- ...keneoInstancesGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...rIdGetResponse200HydraSearchNormalizer.php | 16 +- ...serIdGetResponse200HydraViewNormalizer.php | 24 +- ...ntAkeneoUserIdGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...ntsGetResponse200HydraSearchNormalizer.php | 16 +- ...ountsGetResponse200HydraViewNormalizer.php | 24 +- ...LinkedAccountsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...tesGetResponse200HydraSearchNormalizer.php | 16 +- ...tatesGetResponse200HydraViewNormalizer.php | 24 +- ...neoOauthStatesGetResponse200Normalizer.php | 16 +- ...yHydraSearchHydraMappingItemNormalizer.php | 12 +- ...OauthTokenPutBodyHydraSearchNormalizer.php | 16 +- ...eoOauthTokenPutBodyHydraViewNormalizer.php | 24 +- ...tewayAkeneoOauthTokenPutBodyNormalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...kenPutResponse200HydraSearchNormalizer.php | 16 +- ...TokenPutResponse200HydraViewNormalizer.php | 24 +- ...eneoOauthTokenPutResponse200Normalizer.php | 16 +- src/Normalizer/MoneyJsonldNormalizer.php | 60 +++- src/Normalizer/MoneyNormalizer.php | 48 ++- src/Normalizer/OfferJsonldNormalizer.php | 40 ++- src/Normalizer/OfferNormalizer.php | 28 +- ...stJsonldOnPremiseRequestReadNormalizer.php | 36 +- ...tJsonldOnPremiseRequestWriteNormalizer.php | 28 +- ...eRequestOnPremiseRequestReadNormalizer.php | 24 +- ...RequestOnPremiseRequestWriteNormalizer.php | 16 +- src/Normalizer/OptionJsonldNormalizer.php | 32 +- src/Normalizer/OptionNormalizer.php | 24 +- .../OrganizationJsonldNormalizer.php | 40 ++- src/Normalizer/OrganizationNormalizer.php | 28 +- ...pelineStepCommandInputJsonldNormalizer.php | 36 +- ...fterPipelineStepCommandInputNormalizer.php | 24 +- ...ipelineStepCommandJsonldReadNormalizer.php | 12 +- ...pelineStepCommandInputJsonldNormalizer.php | 36 +- ...forePipelineStepCommandInputNormalizer.php | 24 +- ...ipelineStepCommandJsonldReadNormalizer.php | 12 +- ...R4AutoloadCommandInputJsonldNormalizer.php | 24 +- ...oserPSR4AutoloadCommandInputNormalizer.php | 12 +- ...SR4AutoloadCommandJsonldReadNormalizer.php | 12 +- ...neStepProbCommandInputJsonldNormalizer.php | 24 +- ...PipelineStepProbCommandInputNormalizer.php | 12 +- ...neStepProbeCommandJsonldReadNormalizer.php | 12 +- ...pelineStepCommandInputJsonldNormalizer.php | 32 +- ...pendPipelineStepCommandInputNormalizer.php | 20 +- ...ipelineStepCommandJsonldReadNormalizer.php | 12 +- .../PipelineCompilationJsonldNormalizer.php | 28 +- .../PipelineCompilationNormalizer.php | 16 +- ...lePipelineCommandInputJsonldNormalizer.php | 16 +- ...eCompilePipelineCommandInputNormalizer.php | 4 +- ...ilePipelineCommandJsonldReadNormalizer.php | 12 +- ...rePipelineCommandInputJsonldNormalizer.php | 32 +- ...eDeclarePipelineCommandInputNormalizer.php | 20 +- ...arePipelineCommandJsonldReadNormalizer.php | 12 +- src/Normalizer/PipelineIdJsonldNormalizer.php | 12 +- .../PipelineJsonldReadNormalizer.php | 44 ++- ...pelineStepCommandInputJsonldNormalizer.php | 24 +- ...fterPipelineStepCommandInputNormalizer.php | 12 +- ...ipelineStepCommandJsonldReadNormalizer.php | 12 +- ...pelineStepCommandInputJsonldNormalizer.php | 24 +- ...forePipelineStepCommandInputNormalizer.php | 12 +- ...ipelineStepCommandJsonldReadNormalizer.php | 12 +- src/Normalizer/PipelineReadNormalizer.php | 32 +- ...neStepProbeCommandJsonldReadNormalizer.php | 12 +- ...elineStepsCommandInputJsonldNormalizer.php | 20 +- ...derPipelineStepsCommandInputNormalizer.php | 8 +- ...pelineStepsCommandJsonldReadNormalizer.php | 12 +- ...pelineStepCommandInputJsonldNormalizer.php | 36 +- ...lacePipelineStepCommandInputNormalizer.php | 24 +- ...ipelineStepCommandJsonldReadNormalizer.php | 12 +- .../PipelineStepJsonldNormalizer.php | 40 ++- src/Normalizer/PipelineStepNormalizer.php | 28 +- .../PipelineStepProbeJsonldNormalizer.php | 32 +- .../PipelineStepProbeNormalizer.php | 20 +- src/Normalizer/PriceJsonldNormalizer.php | 12 +- src/Normalizer/ProbeJsonldNormalizer.php | 20 +- src/Normalizer/ProbeNormalizer.php | 8 +- ...alCodeJsonldReferralCodeReadNormalizer.php | 24 +- ...lCodeJsonldReferralCodeWriteNormalizer.php | 12 +- ...ReferralCodeReferralCodeReadNormalizer.php | 12 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...desGetResponse200HydraSearchNormalizer.php | 16 +- ...CodesGetResponse200HydraViewNormalizer.php | 24 +- .../ReferralCodesGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...stsGetResponse200HydraSearchNormalizer.php | 16 +- ...uestsGetResponse200HydraViewNormalizer.php | 24 +- ...remiseRequestsGetResponse200Normalizer.php | 16 +- ...estJsonldReferralRequestReadNormalizer.php | 44 ++- ...stReferralRequestInputJsonldNormalizer.php | 36 +- ...lRequestReferralRequestInputNormalizer.php | 24 +- ...alRequestReferralRequestReadNormalizer.php | 32 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...stsGetResponse200HydraSearchNormalizer.php | 16 +- ...uestsGetResponse200HydraViewNormalizer.php | 24 +- ...ferralRequestsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...RuntimeActionsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...epsGetResponse200HydraSearchNormalizer.php | 16 +- ...StepsGetResponse200HydraViewNormalizer.php | 24 +- ...ipelineIdStepsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...nesGetResponse200HydraSearchNormalizer.php | 16 +- ...linesGetResponse200HydraViewNormalizer.php | 24 +- ...utionPipelinesGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...obsGetResponse200HydraSearchNormalizer.php | 16 +- ...dJobsGetResponse200HydraViewNormalizer.php | 24 +- ...WorkflowIdJobsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...owsGetResponse200HydraSearchNormalizer.php | 16 +- ...flowsGetResponse200HydraViewNormalizer.php | 24 +- ...utionWorkflowsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...obsGetResponse200HydraSearchNormalizer.php | 16 +- ...wJobsGetResponse200HydraViewNormalizer.php | 24 +- ...IdWorkflowJobsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...epsGetResponse200HydraSearchNormalizer.php | 16 +- ...StepsGetResponse200HydraViewNormalizer.php | 24 +- ...lineJobIdStepsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...obsGetResponse200HydraSearchNormalizer.php | 16 +- ...eJobsGetResponse200HydraViewNormalizer.php | 24 +- ...onPipelineJobsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...epsGetResponse200HydraSearchNormalizer.php | 16 +- ...StepsGetResponse200HydraViewNormalizer.php | 24 +- ...dPipelineStepsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...obsGetResponse200HydraSearchNormalizer.php | 16 +- ...wJobsGetResponse200HydraViewNormalizer.php | 24 +- ...onWorkflowJobsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...timeExecutionsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...IdCompilationsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...besGetResponse200HydraSearchNormalizer.php | 16 +- ...robesGetResponse200HydraViewNormalizer.php | 24 +- ...neStepIdProbesGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...besGetResponse200HydraSearchNormalizer.php | 16 +- ...robesGetResponse200HydraViewNormalizer.php | 24 +- ...lineStepProbesGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...epsGetResponse200HydraSearchNormalizer.php | 16 +- ...StepsGetResponse200HydraViewNormalizer.php | 24 +- ...ePipelineStepsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...ionGetResponse200HydraSearchNormalizer.php | 16 +- ...ationGetResponse200HydraViewNormalizer.php | 24 +- ...nesCompilationGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...nesGetResponse200HydraSearchNormalizer.php | 16 +- ...linesGetResponse200HydraViewNormalizer.php | 24 +- ...ntimePipelinesGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...onsGetResponse200HydraSearchNormalizer.php | 16 +- ...tionsGetResponse200HydraViewNormalizer.php | 24 +- ...leIdExecutionsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...obsGetResponse200HydraSearchNormalizer.php | 16 +- ...wJobsGetResponse200HydraViewNormalizer.php | 24 +- ...IdWorkflowJobsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...lesGetResponse200HydraSearchNormalizer.php | 16 +- ...dulesGetResponse200HydraViewNormalizer.php | 24 +- ...ntimeSchedulesGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...obsGetResponse200HydraSearchNormalizer.php | 16 +- ...dJobsGetResponse200HydraViewNormalizer.php | 24 +- ...WorkflowIdJobsGetResponse200Normalizer.php | 16 +- ...0HydraSearchHydraMappingItemNormalizer.php | 12 +- ...owsGetResponse200HydraSearchNormalizer.php | 16 +- ...flowsGetResponse200HydraViewNormalizer.php | 24 +- ...ntimeWorkflowsGetResponse200Normalizer.php | 16 +- ...eImmediateCommandInputJsonldNormalizer.php | 20 +- ...cheduleImmediateCommandInputNormalizer.php | 8 +- ...heduleImmediateCommandJsonldNormalizer.php | 24 +- ...lineScheduleImmediateCommandNormalizer.php | 12 +- ...heduleOnceCommandInputJsonldNormalizer.php | 20 +- ...lineScheduleOnceCommandInputNormalizer.php | 8 +- ...ineScheduleOnceCommandJsonldNormalizer.php | 28 +- ...ePipelineScheduleOnceCommandNormalizer.php | 16 +- ...eduleTimesCommandInputJsonldNormalizer.php | 28 +- ...ineScheduleTimesCommandInputNormalizer.php | 16 +- ...neScheduleTimesCommandJsonldNormalizer.php | 36 +- ...PipelineScheduleTimesCommandNormalizer.php | 24 +- ...eduleUntilCommandInputJsonldNormalizer.php | 28 +- ...ineScheduleUntilCommandInputNormalizer.php | 16 +- ...neScheduleUntilCommandJsonldNormalizer.php | 36 +- ...PipelineScheduleUntilCommandNormalizer.php | 24 +- src/Normalizer/ScheduleIdJsonldNormalizer.php | 12 +- src/Normalizer/ScheduleJsonldNormalizer.php | 36 +- src/Normalizer/ScheduleNormalizer.php | 24 +- .../SecretInputJsonldNormalizer.php | 24 +- src/Normalizer/SecretInputNormalizer.php | 12 +- src/Normalizer/SecretJsonldNormalizer.php | 32 +- src/Normalizer/SecretNormalizer.php | 20 +- .../SecretSecretInputJsonldNormalizer.php | 24 +- .../SecretSecretInputNormalizer.php | 12 +- src/Normalizer/StepInputJsonldNormalizer.php | 28 +- src/Normalizer/StepInputNormalizer.php | 16 +- .../SubscriptionJsonldNormalizer.php | 32 +- src/Normalizer/SubscriptionNormalizer.php | 20 +- .../SubscriptionOptionJsonldNormalizer.php | 16 +- .../SubscriptionOptionNormalizer.php | 8 +- src/Normalizer/TokenNormalizer.php | 4 +- .../TraversableJsonldNormalizer.php | 12 +- src/Normalizer/UpdateListJsonldNormalizer.php | 16 +- src/Normalizer/UpdateListNormalizer.php | 4 +- .../UserAuthorizationJsonldNormalizer.php | 24 +- .../UserAuthorizationNormalizer.php | 12 +- src/Normalizer/UserIdJsonldNormalizer.php | 12 +- src/Normalizer/UserJsonldNormalizer.php | 80 +++-- src/Normalizer/UserNormalizer.php | 68 +++- .../UserUserChangePasswordInputNormalizer.php | 12 +- .../VariableFromConfigMapJsonldNormalizer.php | 24 +- .../VariableFromConfigMapNormalizer.php | 12 +- .../VariableFromSecretJsonldNormalizer.php | 24 +- .../VariableFromSecretNormalizer.php | 12 +- src/Normalizer/VariableJsonldNormalizer.php | 24 +- src/Normalizer/VariableNormalizer.php | 12 +- .../WorkflowJobActionJsonldNormalizer.php | 16 +- .../WorkflowJobActionJsonldReadNormalizer.php | 16 +- .../WorkflowJobActionNormalizer.php | 4 +- .../WorkflowJobActionReadNormalizer.php | 4 +- .../WorkflowJobJsonldReadNormalizer.php | 12 +- .../WorkflowJobPipelineJsonldNormalizer.php | 40 ++- ...orkflowJobPipelineJsonldReadNormalizer.php | 40 ++- .../WorkflowJobPipelineNormalizer.php | 28 +- .../WorkflowJobPipelineReadNormalizer.php | 28 +- .../WorkflowJsonldReadNormalizer.php | 28 +- src/Normalizer/WorkflowReadNormalizer.php | 16 +- src/Normalizer/WorkspaceJsonldNormalizer.php | 32 +- src/Normalizer/WorkspaceNormalizer.php | 20 +- 912 files changed, 12578 insertions(+), 8544 deletions(-) diff --git a/jane/open_api.php b/jane/open_api.php index 67be63be..3ad95dbf 100644 --- a/jane/open_api.php +++ b/jane/open_api.php @@ -4,4 +4,6 @@ 'openapi-file' => __DIR__.'/gyroscops.json', 'namespace' => 'Gyroscops\Api', 'directory' => __DIR__ . '/../src/', + 'strict' => false, + 'use-fixer' => true, ]; diff --git a/src/Client.php b/src/Client.php index 7896b6d9..1635ff03 100644 --- a/src/Client.php +++ b/src/Client.php @@ -84,9 +84,9 @@ public function getOfferItem(string $id, string $fetch = self::FETCH_OBJECT) /** * Updates the Offer resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Offer $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Offer|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PatchOfferItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchOfferItemUnprocessableEntityException @@ -94,7 +94,7 @@ public function getOfferItem(string $id, string $fetch = self::FETCH_OBJECT) * * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null */ - public function patchOfferItem(string $id, Model\Offer $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchOfferItem(string $id, ?Model\Offer $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchOfferItem($id, $requestBody), $fetch); } @@ -102,9 +102,9 @@ public function patchOfferItem(string $id, Model\Offer $requestBody, string $fet /** * Replaces the Offer resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OfferJsonld|\Gyroscops\Api\Model\Offer $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OfferJsonld|\Gyroscops\Api\Model\Offer|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PutOfferItemBadRequestException * @throws \Gyroscops\Api\Exception\PutOfferItemUnprocessableEntityException @@ -112,7 +112,7 @@ public function patchOfferItem(string $id, Model\Offer $requestBody, string $fet * * @return \Gyroscops\Api\Model\Offer|\Psr\Http\Message\ResponseInterface|null */ - public function putOfferItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function putOfferItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutOfferItem($id, $requestBody), $fetch); } @@ -185,9 +185,9 @@ public function getOrganizationItem(string $id, string $fetch = self::FETCH_OBJE /** * Updates the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Organization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Organization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PatchOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchOrganizationItemUnprocessableEntityException @@ -195,7 +195,7 @@ public function getOrganizationItem(string $id, string $fetch = self::FETCH_OBJE * * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ - public function patchOrganizationItem(string $id, Model\Organization $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchOrganizationItem(string $id, ?Model\Organization $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchOrganizationItem($id, $requestBody), $fetch); } @@ -203,9 +203,9 @@ public function patchOrganizationItem(string $id, Model\Organization $requestBod /** * Replaces the Organization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PutOrganizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutOrganizationItemUnprocessableEntityException @@ -213,7 +213,7 @@ public function patchOrganizationItem(string $id, Model\Organization $requestBod * * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ - public function putOrganizationItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function putOrganizationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutOrganizationItem($id, $requestBody), $fetch); } @@ -310,15 +310,15 @@ public function getOrganizationCollection(array $queryParameters = [], string $f /** * Creates a Organization resource. * - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOrganizationCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\Organization|\Psr\Http\Message\ResponseInterface|null */ - public function postOrganizationCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postOrganizationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostOrganizationCollection($requestBody), $fetch); } @@ -356,9 +356,9 @@ public function getSubscriptionItem(string $id, string $fetch = self::FETCH_OBJE /** * Updates the Subscription resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Subscription $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Subscription|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchSubscriptionItemUnprocessableEntityException @@ -366,7 +366,7 @@ public function getSubscriptionItem(string $id, string $fetch = self::FETCH_OBJE * * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null */ - public function patchSubscriptionItem(string $id, Model\Subscription $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchSubscriptionItem(string $id, ?Model\Subscription $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchSubscriptionItem($id, $requestBody), $fetch); } @@ -374,15 +374,15 @@ public function patchSubscriptionItem(string $id, Model\Subscription $requestBod /** * Creates a Subscription resource. * - * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostSubscriptionCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null */ - public function postSubscriptionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postSubscriptionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostSubscriptionCollection($requestBody), $fetch); } @@ -390,9 +390,9 @@ public function postSubscriptionCollection($requestBody, string $fetch = self::F /** * Replaces the Subscription resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @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) * * @throws \Gyroscops\Api\Exception\PutSubscriptionItemBadRequestException * @throws \Gyroscops\Api\Exception\PutSubscriptionItemUnprocessableEntityException @@ -400,7 +400,7 @@ public function postSubscriptionCollection($requestBody, string $fetch = self::F * * @return \Gyroscops\Api\Model\Subscription|\Psr\Http\Message\ResponseInterface|null */ - public function putSubscriptionItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function putSubscriptionItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutSubscriptionItem($id, $requestBody), $fetch); } @@ -520,9 +520,9 @@ public function getUserAuthorizationItem(string $id, string $fetch = self::FETCH /** * Updates the UserAuthorization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserAuthorization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserAuthorizationItemUnprocessableEntityException @@ -530,7 +530,7 @@ public function getUserAuthorizationItem(string $id, string $fetch = self::FETCH * * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null */ - public function patchUserAuthorizationItem(string $id, Model\UserAuthorization $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchUserAuthorizationItem(string $id, ?Model\UserAuthorization $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchUserAuthorizationItem($id, $requestBody), $fetch); } @@ -538,9 +538,9 @@ public function patchUserAuthorizationItem(string $id, Model\UserAuthorization $ /** * Replaces the UserAuthorization resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserAuthorizationItemUnprocessableEntityException @@ -548,7 +548,7 @@ public function patchUserAuthorizationItem(string $id, Model\UserAuthorization $ * * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null */ - public function putUserAuthorizationItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function putUserAuthorizationItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutUserAuthorizationItem($id, $requestBody), $fetch); } @@ -573,15 +573,15 @@ public function getUserAuthorizationCollection(array $queryParameters = [], stri /** * Creates a UserAuthorization resource. * - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserAuthorizationCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\UserAuthorization|\Psr\Http\Message\ResponseInterface|null */ - public function postUserAuthorizationCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postUserAuthorizationCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostUserAuthorizationCollection($requestBody), $fetch); } @@ -619,9 +619,9 @@ public function getUserItem(string $id, string $fetch = self::FETCH_OBJECT) /** * Updates the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\User $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\User|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PatchUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchUserItemUnprocessableEntityException @@ -629,7 +629,7 @@ public function getUserItem(string $id, string $fetch = self::FETCH_OBJECT) * * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ - public function patchUserItem(string $id, Model\User $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchUserItem(string $id, ?Model\User $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchUserItem($id, $requestBody), $fetch); } @@ -637,9 +637,9 @@ public function patchUserItem(string $id, Model\User $requestBody, string $fetch /** * Replaces the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PutUserItemBadRequestException * @throws \Gyroscops\Api\Exception\PutUserItemUnprocessableEntityException @@ -647,7 +647,7 @@ public function patchUserItem(string $id, Model\User $requestBody, string $fetch * * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ - public function putUserItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function putUserItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutUserItem($id, $requestBody), $fetch); } @@ -673,9 +673,9 @@ public function apiUsersAuthorizationsGetSubresourceUserSubresource(string $id, /** * Updates the User resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserUserChangePasswordInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemBadRequestException * @throws \Gyroscops\Api\Exception\ChangePasswordUserItemUnprocessableEntityException @@ -683,7 +683,7 @@ public function apiUsersAuthorizationsGetSubresourceUserSubresource(string $id, * * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ - public function changePasswordUserItem(string $id, Model\UserUserChangePasswordInput $requestBody, string $fetch = self::FETCH_OBJECT) + public function changePasswordUserItem(string $id, ?Model\UserUserChangePasswordInput $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ChangePasswordUserItem($id, $requestBody), $fetch); } @@ -708,15 +708,15 @@ public function getUserCollection(array $queryParameters = [], string $fetch = s /** * Creates a User resource. * - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostUserCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostUserCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\User|\Psr\Http\Message\ResponseInterface|null */ - public function postUserCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postUserCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostUserCollection($requestBody), $fetch); } @@ -754,9 +754,9 @@ public function getWorkspaceItem(string $id, string $fetch = self::FETCH_OBJECT) /** * Updates the Workspace resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\Workspace $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\Workspace|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemBadRequestException * @throws \Gyroscops\Api\Exception\PatchWorkspaceItemUnprocessableEntityException @@ -764,7 +764,7 @@ public function getWorkspaceItem(string $id, string $fetch = self::FETCH_OBJECT) * * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ - public function patchWorkspaceItem(string $id, Model\Workspace $requestBody, string $fetch = self::FETCH_OBJECT) + public function patchWorkspaceItem(string $id, ?Model\Workspace $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PatchWorkspaceItem($id, $requestBody), $fetch); } @@ -772,9 +772,9 @@ public function patchWorkspaceItem(string $id, Model\Workspace $requestBody, str /** * Replaces the Workspace resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PutWorkspaceItemBadRequestException * @throws \Gyroscops\Api\Exception\PutWorkspaceItemUnprocessableEntityException @@ -782,7 +782,7 @@ public function patchWorkspaceItem(string $id, Model\Workspace $requestBody, str * * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ - public function putWorkspaceItem(string $id, $requestBody, string $fetch = self::FETCH_OBJECT) + public function putWorkspaceItem(string $id, $requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutWorkspaceItem($id, $requestBody), $fetch); } @@ -843,15 +843,15 @@ public function getWorkspaceCollection(array $queryParameters = [], string $fetc /** * Creates a Workspace resource. * - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostWorkspaceCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\Workspace|\Psr\Http\Message\ResponseInterface|null */ - public function postWorkspaceCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postWorkspaceCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostWorkspaceCollection($requestBody), $fetch); } @@ -859,15 +859,15 @@ public function postWorkspaceCollection($requestBody, string $fetch = self::FETC /** * Creates a ConfigMap resource. * - * @param \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld|\Gyroscops\Api\Model\ConfigMapConfigMapInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld|\Gyroscops\Api\Model\ConfigMapConfigMapInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostConfigMapCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\ConfigMap|\Psr\Http\Message\ResponseInterface|null */ - public function postConfigMapCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postConfigMapCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostConfigMapCollection($requestBody), $fetch); } @@ -923,15 +923,15 @@ public function getConfigMapCollection(array $queryParameters = [], string $fetc /** * Creates a Environment resource. * - * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostEnvironmentCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\Environment|\Psr\Http\Message\ResponseInterface|null */ - public function postEnvironmentCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postEnvironmentCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostEnvironmentCollection($requestBody), $fetch); } @@ -971,15 +971,15 @@ public function getEnvironmentCollection(array $queryParameters = [], string $fe /** * Creates a Secret resource. * - * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostSecretCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\Secret|\Psr\Http\Message\ResponseInterface|null */ - public function postSecretCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postSecretCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostSecretCollection($requestBody), $fetch); } @@ -1035,15 +1035,15 @@ public function getSecretCollection(array $queryParameters = [], string $fetch = /** * Creates a VariableFromConfigMap resource. * - * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostVariableFromConfigMapCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\VariableFromConfigMap|\Psr\Http\Message\ResponseInterface|null */ - public function postVariableFromConfigMapCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postVariableFromConfigMapCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromConfigMapCollection($requestBody), $fetch); } @@ -1083,15 +1083,15 @@ public function getVariableFromConfigMapCollection(array $queryParameters = [], /** * Creates a VariableFromSecret resource. * - * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostVariableFromSecretCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\VariableFromSecret|\Psr\Http\Message\ResponseInterface|null */ - public function postVariableFromSecretCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postVariableFromSecretCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostVariableFromSecretCollection($requestBody), $fetch); } @@ -1131,15 +1131,15 @@ public function getVariableFromSecretCollection(array $queryParameters = [], str /** * Creates a AkeneoInstance resource. * - * @param \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld|\Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld|\Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostAkeneoInstanceCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\AkeneoInstance|\Psr\Http\Message\ResponseInterface|null */ - public function postAkeneoInstanceCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postAkeneoInstanceCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoInstanceCollection($requestBody), $fetch); } @@ -1215,15 +1215,15 @@ public function getAkeneoInstanceCollection(array $queryParameters = [], string /** * Creates a AkeneoLinkedAccount resource. * - * @param \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostAkeneoLinkedAccountCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\AkeneoLinkedAccount|\Psr\Http\Message\ResponseInterface|null */ - public function postAkeneoLinkedAccountCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postAkeneoLinkedAccountCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoLinkedAccountCollection($requestBody), $fetch); } @@ -1280,15 +1280,15 @@ public function getAkeneoLinkedAccountCollection(array $queryParameters = [], st /** * Generate an Akeneo OAuth state. * - * @param \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld|\Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld|\Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostAkeneoOauthTokenCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function postAkeneoOauthTokenCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postAkeneoOauthTokenCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostAkeneoOauthTokenCollection($requestBody), $fetch); } @@ -1328,15 +1328,15 @@ public function getAkeneoOauthTokenCollection(array $queryParameters = [], strin /** * Generate an Akeneo OAuth token. * - * @param \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody|\Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput[] $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody|\Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput[]|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function putAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function putAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PutAkeneoOauthTokenAkeneoOauthTokenCollection($requestBody), $fetch); } @@ -1391,15 +1391,15 @@ public function getReferralCodeCollection(array $queryParameters = [], string $f /** * Creates a ReferralCode resource. * - * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralCodeCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\ReferralCodeReferralCodeRead|\Psr\Http\Message\ResponseInterface|null */ - public function postReferralCodeCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postReferralCodeCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostReferralCodeCollection($requestBody), $fetch); } @@ -1439,15 +1439,15 @@ public function getOnPremiseRequestCollection(array $queryParameters = [], strin /** * Creates a OnPremiseRequest resource. * - * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostOnPremiseRequestCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestRead|\Psr\Http\Message\ResponseInterface|null */ - public function postOnPremiseRequestCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postOnPremiseRequestCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostOnPremiseRequestCollection($requestBody), $fetch); } @@ -1506,15 +1506,15 @@ public function rejectReferralRequestReferralRequestItem(string $id, $requestBod /** * Creates a ReferralRequest resource. * - * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PostReferralRequestCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\ReferralRequestReferralRequestRead|\Psr\Http\Message\ResponseInterface|null */ - public function postReferralRequestCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function postReferralRequestCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PostReferralRequestCollection($requestBody), $fetch); } @@ -2039,15 +2039,15 @@ public function getExecutionCollection(array $queryParameters = [], string $fetc /** * Declares a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclareExecutionExecutionCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function declareExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function declareExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclareExecutionExecutionCollection($requestBody), $fetch); } @@ -2055,15 +2055,15 @@ public function declareExecutionExecutionCollection($requestBody, string $fetch /** * Finishes a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\FinishExecutionExecutionCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function finishExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function finishExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\FinishExecutionExecutionCollection($requestBody), $fetch); } @@ -2071,15 +2071,15 @@ public function finishExecutionExecutionCollection($requestBody, string $fetch = /** * Interrupts a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\InterruptExecutionExecutionCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function interruptExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function interruptExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\InterruptExecutionExecutionCollection($requestBody), $fetch); } @@ -2087,15 +2087,15 @@ public function interruptExecutionExecutionCollection($requestBody, string $fetc /** * Resumes a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ResumeExecutionExecutionCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function resumeExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function resumeExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ResumeExecutionExecutionCollection($requestBody), $fetch); } @@ -2103,15 +2103,15 @@ public function resumeExecutionExecutionCollection($requestBody, string $fetch = /** * Starts a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\StartExecutionExecutionCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function startExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function startExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\StartExecutionExecutionCollection($requestBody), $fetch); } @@ -2119,15 +2119,15 @@ public function startExecutionExecutionCollection($requestBody, string $fetch = /** * Terminates a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\TerminateExecutionExecutionCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function terminateExecutionExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function terminateExecutionExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\TerminateExecutionExecutionCollection($requestBody), $fetch); } @@ -2135,15 +2135,15 @@ public function terminateExecutionExecutionCollection($requestBody, string $fetc /** * Updates a pipeline execution state. * - * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionBadRequestException * @throws \Gyroscops\Api\Exception\UpdateExecutionStateExecutionCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function updateExecutionStateExecutionCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function updateExecutionStateExecutionCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\UpdateExecutionStateExecutionCollection($requestBody), $fetch); } @@ -2412,15 +2412,15 @@ public function getPipelineCollection(array $queryParameters = [], string $fetch /** * Declares a docker pipeline. * - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\DeclarePipelinePipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function declarePipelinePipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function declarePipelinePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\DeclarePipelinePipelineCollection($requestBody), $fetch); } @@ -2428,15 +2428,15 @@ public function declarePipelinePipelineCollection($requestBody, string $fetch = /** * Adds PSR4 autoload composer to a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddComposerPipelinePipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function addComposerPipelinePipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function addComposerPipelinePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddComposerPipelinePipelineCollection($requestBody), $fetch); } @@ -2461,15 +2461,15 @@ public function getPipelineCompilationCollection(array $queryParameters = [], st /** * Creates a pipeline compilation. * - * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PipelineCompilationPipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function pipelineCompilationPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function pipelineCompilationPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\PipelineCompilationPipelineCollection($requestBody), $fetch); } @@ -2477,15 +2477,15 @@ public function pipelineCompilationPipelineCollection($requestBody, string $fetc /** * Adds a step after another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddAfterPipelineStepPipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function addAfterPipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function addAfterPipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddAfterPipelineStepPipelineCollection($requestBody), $fetch); } @@ -2493,15 +2493,15 @@ public function addAfterPipelineStepPipelineCollection($requestBody, string $fet /** * Adds a step before another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddBeforePipelineStepPipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function addBeforePipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function addBeforePipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddBeforePipelineStepPipelineCollection($requestBody), $fetch); } @@ -2509,15 +2509,15 @@ public function addBeforePipelineStepPipelineCollection($requestBody, string $fe /** * Appends a step to a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AppendPipelineStepPipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function appendPipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function appendPipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AppendPipelineStepPipelineCollection($requestBody), $fetch); } @@ -2525,15 +2525,15 @@ public function appendPipelineStepPipelineCollection($requestBody, string $fetch /** * Moves a step after another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\MoveAfterPipelineStepPipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function moveAfterPipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function moveAfterPipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveAfterPipelineStepPipelineCollection($requestBody), $fetch); } @@ -2541,15 +2541,15 @@ public function moveAfterPipelineStepPipelineCollection($requestBody, string $fe /** * Moves a step before another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\MoveBeforePipelineStepPipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function moveBeforePipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function moveBeforePipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\MoveBeforePipelineStepPipelineCollection($requestBody), $fetch); } @@ -2557,15 +2557,15 @@ public function moveBeforePipelineStepPipelineCollection($requestBody, string $f /** * Adds a probe to a step. * - * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\AddPipelineStepProbePipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function addPipelineStepProbePipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function addPipelineStepProbePipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\AddPipelineStepProbePipelineCollection($requestBody), $fetch); } @@ -2573,15 +2573,15 @@ public function addPipelineStepProbePipelineCollection($requestBody, string $fet /** * Reorganizes the steps of a pipeline according to a given order. * - * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ReorderPipelineStepsPipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function reorderPipelineStepsPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function reorderPipelineStepsPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReorderPipelineStepsPipelineCollection($requestBody), $fetch); } @@ -2589,15 +2589,15 @@ public function reorderPipelineStepsPipelineCollection($requestBody, string $fet /** * Replaces a step by another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ReplacePipelineStepPipelineCollectionUnprocessableEntityException * * @return \Psr\Http\Message\ResponseInterface|null */ - public function replacePipelineStepPipelineCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function replacePipelineStepPipelineCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ReplacePipelineStepPipelineCollection($requestBody), $fetch); } @@ -2605,15 +2605,15 @@ public function replacePipelineStepPipelineCollection($requestBody, string $fetc /** * Schedule a pipeline execution immediately. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleImmediateScheduleCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommand|\Psr\Http\Message\ResponseInterface|null */ - public function scheduleImmediateScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function scheduleImmediateScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleImmediateScheduleCollection($requestBody), $fetch); } @@ -2621,15 +2621,15 @@ public function scheduleImmediateScheduleCollection($requestBody, string $fetch /** * Schedule an immediate pipeline execution. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleOnceScheduleCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommand|\Psr\Http\Message\ResponseInterface|null */ - public function scheduleOnceScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function scheduleOnceScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleOnceScheduleCollection($requestBody), $fetch); } @@ -2637,15 +2637,15 @@ public function scheduleOnceScheduleCollection($requestBody, string $fetch = sel /** * Schedule a recurring pipeline execution. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleTimesScheduleCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommand|\Psr\Http\Message\ResponseInterface|null */ - public function scheduleTimesScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function scheduleTimesScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleTimesScheduleCollection($requestBody), $fetch); } @@ -2653,15 +2653,15 @@ public function scheduleTimesScheduleCollection($requestBody, string $fetch = se /** * Schedule a delayed pipeline execution. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput|null $requestBody + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionBadRequestException * @throws \Gyroscops\Api\Exception\ScheduleUntilScheduleCollectionUnprocessableEntityException * * @return \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommand|\Psr\Http\Message\ResponseInterface|null */ - public function scheduleUntilScheduleCollection($requestBody, string $fetch = self::FETCH_OBJECT) + public function scheduleUntilScheduleCollection($requestBody = null, string $fetch = self::FETCH_OBJECT) { return $this->executeEndpoint(new \Gyroscops\Api\Endpoint\ScheduleUntilScheduleCollection($requestBody), $fetch); } diff --git a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php b/src/Endpoint/AddAfterPipelineStepPipelineCollection.php index 02882e5a..21281820 100644 --- a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/AddAfterPipelineStepPipelineCollection.php @@ -9,9 +9,9 @@ class AddAfterPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Clie /** * Adds a step after another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddAfterPipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/AddBeforePipelineStepPipelineCollection.php b/src/Endpoint/AddBeforePipelineStepPipelineCollection.php index d2630ecd..9940ecc6 100644 --- a/src/Endpoint/AddBeforePipelineStepPipelineCollection.php +++ b/src/Endpoint/AddBeforePipelineStepPipelineCollection.php @@ -9,9 +9,9 @@ class AddBeforePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Cli /** * Adds a step before another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddBeforePipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/AddComposerPipelinePipelineCollection.php b/src/Endpoint/AddComposerPipelinePipelineCollection.php index 6d4fea01..366338d0 100644 --- a/src/Endpoint/AddComposerPipelinePipelineCollection.php +++ b/src/Endpoint/AddComposerPipelinePipelineCollection.php @@ -9,9 +9,9 @@ class AddComposerPipelinePipelineCollection extends \Gyroscops\Api\Runtime\Clien /** * Adds PSR4 autoload composer to a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineComposerPSR4AutoloadCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/AddPipelineStepProbePipelineCollection.php b/src/Endpoint/AddPipelineStepProbePipelineCollection.php index 16b7469c..d93164bd 100644 --- a/src/Endpoint/AddPipelineStepProbePipelineCollection.php +++ b/src/Endpoint/AddPipelineStepProbePipelineCollection.php @@ -9,9 +9,9 @@ class AddPipelineStepProbePipelineCollection extends \Gyroscops\Api\Runtime\Clie /** * Adds a probe to a step. * - * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInputJsonld|\Gyroscops\Api\Model\PipelineAddPipelineStepProbCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/AppendPipelineStepPipelineCollection.php b/src/Endpoint/AppendPipelineStepPipelineCollection.php index 19fcd9eb..5c310390 100644 --- a/src/Endpoint/AppendPipelineStepPipelineCollection.php +++ b/src/Endpoint/AppendPipelineStepPipelineCollection.php @@ -9,9 +9,9 @@ class AppendPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Client /** * Appends a step to a pipeline. * - * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineAppendPipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/ChangePasswordUserItem.php b/src/Endpoint/ChangePasswordUserItem.php index 518387da..d0bd1379 100644 --- a/src/Endpoint/ChangePasswordUserItem.php +++ b/src/Endpoint/ChangePasswordUserItem.php @@ -12,7 +12,7 @@ class ChangePasswordUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint * * @param string $id Resource identifier */ - public function __construct(string $id, \Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody) + public function __construct(string $id, ?\Gyroscops\Api\Model\UserUserChangePasswordInput $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/DeclareExecutionExecutionCollection.php b/src/Endpoint/DeclareExecutionExecutionCollection.php index 800bd110..880f30ab 100644 --- a/src/Endpoint/DeclareExecutionExecutionCollection.php +++ b/src/Endpoint/DeclareExecutionExecutionCollection.php @@ -9,9 +9,9 @@ class DeclareExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\ /** * Declares a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionDeclarePipelineExecutionCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/DeclarePipelinePipelineCollection.php b/src/Endpoint/DeclarePipelinePipelineCollection.php index 367c5c49..09ec9521 100644 --- a/src/Endpoint/DeclarePipelinePipelineCollection.php +++ b/src/Endpoint/DeclarePipelinePipelineCollection.php @@ -9,9 +9,9 @@ class DeclarePipelinePipelineCollection extends \Gyroscops\Api\Runtime\Client\Ba /** * Declares a docker pipeline. * - * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineDeclarePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineDeclarePipelineCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/FinishExecutionExecutionCollection.php b/src/Endpoint/FinishExecutionExecutionCollection.php index 10f68815..ce87a192 100644 --- a/src/Endpoint/FinishExecutionExecutionCollection.php +++ b/src/Endpoint/FinishExecutionExecutionCollection.php @@ -9,9 +9,9 @@ class FinishExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\B /** * Finishes a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionFinishPipelineExecutionCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/InterruptExecutionExecutionCollection.php b/src/Endpoint/InterruptExecutionExecutionCollection.php index a2367893..e0642a03 100644 --- a/src/Endpoint/InterruptExecutionExecutionCollection.php +++ b/src/Endpoint/InterruptExecutionExecutionCollection.php @@ -9,9 +9,9 @@ class InterruptExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Clien /** * Interrupts a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionInterruptPipelineExecutionCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php b/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php index a5d6a96b..13168367 100644 --- a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php @@ -9,9 +9,9 @@ class MoveAfterPipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Cli /** * Moves a step after another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveAfterPipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php b/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php index 133620f8..012aa9a9 100644 --- a/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php +++ b/src/Endpoint/MoveBeforePipelineStepPipelineCollection.php @@ -9,9 +9,9 @@ class MoveBeforePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Cl /** * Moves a step before another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineMoveBeforePipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PatchOfferItem.php b/src/Endpoint/PatchOfferItem.php index 06671f0d..4ad4a266 100644 --- a/src/Endpoint/PatchOfferItem.php +++ b/src/Endpoint/PatchOfferItem.php @@ -12,7 +12,7 @@ class PatchOfferItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implemen * * @param string $id Resource identifier */ - public function __construct(string $id, \Gyroscops\Api\Model\Offer $requestBody) + public function __construct(string $id, ?\Gyroscops\Api\Model\Offer $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PatchOrganizationItem.php b/src/Endpoint/PatchOrganizationItem.php index a0711bf1..45fb618b 100644 --- a/src/Endpoint/PatchOrganizationItem.php +++ b/src/Endpoint/PatchOrganizationItem.php @@ -12,7 +12,7 @@ class PatchOrganizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint i * * @param string $id Resource identifier */ - public function __construct(string $id, \Gyroscops\Api\Model\Organization $requestBody) + public function __construct(string $id, ?\Gyroscops\Api\Model\Organization $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PatchSubscriptionItem.php b/src/Endpoint/PatchSubscriptionItem.php index 09b245b7..8f70b397 100644 --- a/src/Endpoint/PatchSubscriptionItem.php +++ b/src/Endpoint/PatchSubscriptionItem.php @@ -12,7 +12,7 @@ class PatchSubscriptionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint i * * @param string $id Resource identifier */ - public function __construct(string $id, \Gyroscops\Api\Model\Subscription $requestBody) + public function __construct(string $id, ?\Gyroscops\Api\Model\Subscription $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PatchUserAuthorizationItem.php b/src/Endpoint/PatchUserAuthorizationItem.php index e1f9d4b8..c173a2da 100644 --- a/src/Endpoint/PatchUserAuthorizationItem.php +++ b/src/Endpoint/PatchUserAuthorizationItem.php @@ -12,7 +12,7 @@ class PatchUserAuthorizationItem extends \Gyroscops\Api\Runtime\Client\BaseEndpo * * @param string $id Resource identifier */ - public function __construct(string $id, \Gyroscops\Api\Model\UserAuthorization $requestBody) + public function __construct(string $id, ?\Gyroscops\Api\Model\UserAuthorization $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PatchUserItem.php b/src/Endpoint/PatchUserItem.php index 61f142bc..3e2c7dd1 100644 --- a/src/Endpoint/PatchUserItem.php +++ b/src/Endpoint/PatchUserItem.php @@ -12,7 +12,7 @@ class PatchUserItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implement * * @param string $id Resource identifier */ - public function __construct(string $id, \Gyroscops\Api\Model\User $requestBody) + public function __construct(string $id, ?\Gyroscops\Api\Model\User $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PatchWorkspaceItem.php b/src/Endpoint/PatchWorkspaceItem.php index 862278f9..65d80317 100644 --- a/src/Endpoint/PatchWorkspaceItem.php +++ b/src/Endpoint/PatchWorkspaceItem.php @@ -12,7 +12,7 @@ class PatchWorkspaceItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint impl * * @param string $id Resource identifier */ - public function __construct(string $id, \Gyroscops\Api\Model\Workspace $requestBody) + public function __construct(string $id, ?\Gyroscops\Api\Model\Workspace $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PipelineCompilationPipelineCollection.php b/src/Endpoint/PipelineCompilationPipelineCollection.php index 8e05cdb4..38662ae5 100644 --- a/src/Endpoint/PipelineCompilationPipelineCollection.php +++ b/src/Endpoint/PipelineCompilationPipelineCollection.php @@ -9,9 +9,9 @@ class PipelineCompilationPipelineCollection extends \Gyroscops\Api\Runtime\Clien /** * Creates a pipeline compilation. * - * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineCompilePipelineCommandInputJsonld|\Gyroscops\Api\Model\PipelineCompilePipelineCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostAkeneoInstanceCollection.php b/src/Endpoint/PostAkeneoInstanceCollection.php index be97e7c2..db252e2f 100644 --- a/src/Endpoint/PostAkeneoInstanceCollection.php +++ b/src/Endpoint/PostAkeneoInstanceCollection.php @@ -9,9 +9,9 @@ class PostAkeneoInstanceCollection extends \Gyroscops\Api\Runtime\Client\BaseEnd /** * Creates a AkeneoInstance resource. * - * @param \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld|\Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput $requestBody + * @param \Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInputJsonld|\Gyroscops\Api\Model\AkeneoInstanceAkeneoInstanceInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostAkeneoLinkedAccountCollection.php b/src/Endpoint/PostAkeneoLinkedAccountCollection.php index 25dc86d5..666114ef 100644 --- a/src/Endpoint/PostAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/PostAkeneoLinkedAccountCollection.php @@ -9,9 +9,9 @@ class PostAkeneoLinkedAccountCollection extends \Gyroscops\Api\Runtime\Client\Ba /** * Creates a AkeneoLinkedAccount resource. * - * @param \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput $requestBody + * @param \Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld|\Gyroscops\Api\Model\AkeneoLinkedAccountAkeneoLinkedAccountsInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostAkeneoOauthTokenCollection.php b/src/Endpoint/PostAkeneoOauthTokenCollection.php index b32ca5e8..0c8d7a48 100644 --- a/src/Endpoint/PostAkeneoOauthTokenCollection.php +++ b/src/Endpoint/PostAkeneoOauthTokenCollection.php @@ -9,9 +9,9 @@ class PostAkeneoOauthTokenCollection extends \Gyroscops\Api\Runtime\Client\BaseE /** * Generate an Akeneo OAuth state. * - * @param \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld|\Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput $requestBody + * @param \Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInputJsonld|\Gyroscops\Api\Model\AkeneoOauthTokenOauthStateInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostConfigMapCollection.php b/src/Endpoint/PostConfigMapCollection.php index c88afe29..2b960403 100644 --- a/src/Endpoint/PostConfigMapCollection.php +++ b/src/Endpoint/PostConfigMapCollection.php @@ -9,9 +9,9 @@ class PostConfigMapCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint /** * Creates a ConfigMap resource. * - * @param \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld|\Gyroscops\Api\Model\ConfigMapConfigMapInput $requestBody + * @param \Gyroscops\Api\Model\ConfigMapConfigMapInputJsonld|\Gyroscops\Api\Model\ConfigMapConfigMapInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostEnvironmentCollection.php b/src/Endpoint/PostEnvironmentCollection.php index ff46b5e9..f71fa563 100644 --- a/src/Endpoint/PostEnvironmentCollection.php +++ b/src/Endpoint/PostEnvironmentCollection.php @@ -9,9 +9,9 @@ class PostEnvironmentCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoi /** * Creates a Environment resource. * - * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment $requestBody + * @param \Gyroscops\Api\Model\EnvironmentJsonld|\Gyroscops\Api\Model\Environment|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostOnPremiseRequestCollection.php b/src/Endpoint/PostOnPremiseRequestCollection.php index e8aab3e3..c6850d2c 100644 --- a/src/Endpoint/PostOnPremiseRequestCollection.php +++ b/src/Endpoint/PostOnPremiseRequestCollection.php @@ -9,9 +9,9 @@ class PostOnPremiseRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseE /** * Creates a OnPremiseRequest resource. * - * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite $requestBody + * @param \Gyroscops\Api\Model\OnPremiseRequestJsonldOnPremiseRequestWrite|\Gyroscops\Api\Model\OnPremiseRequestOnPremiseRequestWrite|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostOrganizationCollection.php b/src/Endpoint/PostOrganizationCollection.php index 75e3cc69..c9df65a1 100644 --- a/src/Endpoint/PostOrganizationCollection.php +++ b/src/Endpoint/PostOrganizationCollection.php @@ -9,9 +9,9 @@ class PostOrganizationCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpo /** * Creates a Organization resource. * - * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization $requestBody + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostReferralCodeCollection.php b/src/Endpoint/PostReferralCodeCollection.php index 29ee658d..d7cc408d 100644 --- a/src/Endpoint/PostReferralCodeCollection.php +++ b/src/Endpoint/PostReferralCodeCollection.php @@ -9,9 +9,9 @@ class PostReferralCodeCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpo /** * Creates a ReferralCode resource. * - * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite $requestBody + * @param \Gyroscops\Api\Model\ReferralCodeJsonldReferralCodeWrite|\Gyroscops\Api\Model\ReferralCodeReferralCodeWrite|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostReferralRequestCollection.php b/src/Endpoint/PostReferralRequestCollection.php index 8e49bfcc..9c95f5a8 100644 --- a/src/Endpoint/PostReferralRequestCollection.php +++ b/src/Endpoint/PostReferralRequestCollection.php @@ -9,9 +9,9 @@ class PostReferralRequestCollection extends \Gyroscops\Api\Runtime\Client\BaseEn /** * Creates a ReferralRequest resource. * - * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput $requestBody + * @param \Gyroscops\Api\Model\ReferralRequestReferralRequestInputJsonld|\Gyroscops\Api\Model\ReferralRequestReferralRequestInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostSecretCollection.php b/src/Endpoint/PostSecretCollection.php index 38efca49..333899e7 100644 --- a/src/Endpoint/PostSecretCollection.php +++ b/src/Endpoint/PostSecretCollection.php @@ -9,9 +9,9 @@ class PostSecretCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint im /** * Creates a Secret resource. * - * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput $requestBody + * @param \Gyroscops\Api\Model\SecretSecretInputJsonld|\Gyroscops\Api\Model\SecretSecretInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostSubscriptionCollection.php b/src/Endpoint/PostSubscriptionCollection.php index d64ceace..85a1e335 100644 --- a/src/Endpoint/PostSubscriptionCollection.php +++ b/src/Endpoint/PostSubscriptionCollection.php @@ -9,9 +9,9 @@ class PostSubscriptionCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpo /** * Creates a Subscription resource. * - * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription $requestBody + * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostUserAuthorizationCollection.php b/src/Endpoint/PostUserAuthorizationCollection.php index 9b39a2e9..a63436d7 100644 --- a/src/Endpoint/PostUserAuthorizationCollection.php +++ b/src/Endpoint/PostUserAuthorizationCollection.php @@ -9,9 +9,9 @@ class PostUserAuthorizationCollection extends \Gyroscops\Api\Runtime\Client\Base /** * Creates a UserAuthorization resource. * - * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization $requestBody + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostUserCollection.php b/src/Endpoint/PostUserCollection.php index 2a22eb73..d28c4c22 100644 --- a/src/Endpoint/PostUserCollection.php +++ b/src/Endpoint/PostUserCollection.php @@ -9,9 +9,9 @@ class PostUserCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint impl /** * Creates a User resource. * - * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User $requestBody + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostVariableFromConfigMapCollection.php b/src/Endpoint/PostVariableFromConfigMapCollection.php index e552c18e..6bafa1fe 100644 --- a/src/Endpoint/PostVariableFromConfigMapCollection.php +++ b/src/Endpoint/PostVariableFromConfigMapCollection.php @@ -9,9 +9,9 @@ class PostVariableFromConfigMapCollection extends \Gyroscops\Api\Runtime\Client\ /** * Creates a VariableFromConfigMap resource. * - * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap $requestBody + * @param \Gyroscops\Api\Model\VariableFromConfigMapJsonld|\Gyroscops\Api\Model\VariableFromConfigMap|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostVariableFromSecretCollection.php b/src/Endpoint/PostVariableFromSecretCollection.php index c507f336..09719b35 100644 --- a/src/Endpoint/PostVariableFromSecretCollection.php +++ b/src/Endpoint/PostVariableFromSecretCollection.php @@ -9,9 +9,9 @@ class PostVariableFromSecretCollection extends \Gyroscops\Api\Runtime\Client\Bas /** * Creates a VariableFromSecret resource. * - * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret $requestBody + * @param \Gyroscops\Api\Model\VariableFromSecretJsonld|\Gyroscops\Api\Model\VariableFromSecret|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PostWorkspaceCollection.php b/src/Endpoint/PostWorkspaceCollection.php index 8cb234e6..17063fbe 100644 --- a/src/Endpoint/PostWorkspaceCollection.php +++ b/src/Endpoint/PostWorkspaceCollection.php @@ -9,9 +9,9 @@ class PostWorkspaceCollection extends \Gyroscops\Api\Runtime\Client\BaseEndpoint /** * Creates a Workspace resource. * - * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace $requestBody + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php index 8e9b8cdf..86d29ed5 100644 --- a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php +++ b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php @@ -9,9 +9,9 @@ class PutAkeneoOauthTokenAkeneoOauthTokenCollection extends \Gyroscops\Api\Runti /** * Generate an Akeneo OAuth token. * - * @param \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody|\Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput[] $requestBody + * @param \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody|\Gyroscops\Api\Model\AkeneoOauthTokenOauthTokenInput[]|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/PutOfferItem.php b/src/Endpoint/PutOfferItem.php index 8ddbd5dd..7d364c91 100644 --- a/src/Endpoint/PutOfferItem.php +++ b/src/Endpoint/PutOfferItem.php @@ -10,10 +10,10 @@ class PutOfferItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint implements /** * Replaces the Offer resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\OfferJsonld|\Gyroscops\Api\Model\Offer $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OfferJsonld|\Gyroscops\Api\Model\Offer|null $requestBody */ - public function __construct(string $id, $requestBody) + public function __construct(string $id, $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PutOrganizationItem.php b/src/Endpoint/PutOrganizationItem.php index 38b1af11..52c26a4b 100644 --- a/src/Endpoint/PutOrganizationItem.php +++ b/src/Endpoint/PutOrganizationItem.php @@ -10,10 +10,10 @@ 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 $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\OrganizationJsonld|\Gyroscops\Api\Model\Organization|null $requestBody */ - public function __construct(string $id, $requestBody) + public function __construct(string $id, $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PutSubscriptionItem.php b/src/Endpoint/PutSubscriptionItem.php index 3b2b4b52..25e351af 100644 --- a/src/Endpoint/PutSubscriptionItem.php +++ b/src/Endpoint/PutSubscriptionItem.php @@ -10,10 +10,10 @@ class PutSubscriptionItem extends \Gyroscops\Api\Runtime\Client\BaseEndpoint imp /** * Replaces the Subscription resource. * - * @param string $id Resource identifier - * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\SubscriptionJsonld|\Gyroscops\Api\Model\Subscription|null $requestBody */ - public function __construct(string $id, $requestBody) + public function __construct(string $id, $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PutUserAuthorizationItem.php b/src/Endpoint/PutUserAuthorizationItem.php index 9c0acee4..4ee8fd05 100644 --- a/src/Endpoint/PutUserAuthorizationItem.php +++ b/src/Endpoint/PutUserAuthorizationItem.php @@ -10,10 +10,10 @@ 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 $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserAuthorizationJsonld|\Gyroscops\Api\Model\UserAuthorization|null $requestBody */ - public function __construct(string $id, $requestBody) + public function __construct(string $id, $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PutUserItem.php b/src/Endpoint/PutUserItem.php index c2f58850..b31ffd9d 100644 --- a/src/Endpoint/PutUserItem.php +++ b/src/Endpoint/PutUserItem.php @@ -10,10 +10,10 @@ 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 $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\UserJsonld|\Gyroscops\Api\Model\User|null $requestBody */ - public function __construct(string $id, $requestBody) + public function __construct(string $id, $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/PutWorkspaceItem.php b/src/Endpoint/PutWorkspaceItem.php index b462b821..3c2f2441 100644 --- a/src/Endpoint/PutWorkspaceItem.php +++ b/src/Endpoint/PutWorkspaceItem.php @@ -10,10 +10,10 @@ 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 $requestBody + * @param string $id Resource identifier + * @param \Gyroscops\Api\Model\WorkspaceJsonld|\Gyroscops\Api\Model\Workspace|null $requestBody */ - public function __construct(string $id, $requestBody) + public function __construct(string $id, $requestBody = null) { $this->id = $id; $this->body = $requestBody; diff --git a/src/Endpoint/ReorderPipelineStepsPipelineCollection.php b/src/Endpoint/ReorderPipelineStepsPipelineCollection.php index 89401d20..d17c252d 100644 --- a/src/Endpoint/ReorderPipelineStepsPipelineCollection.php +++ b/src/Endpoint/ReorderPipelineStepsPipelineCollection.php @@ -9,9 +9,9 @@ class ReorderPipelineStepsPipelineCollection extends \Gyroscops\Api\Runtime\Clie /** * Reorganizes the steps of a pipeline according to a given order. * - * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInputJsonld|\Gyroscops\Api\Model\PipelineReorderPipelineStepsCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/ReplacePipelineStepPipelineCollection.php b/src/Endpoint/ReplacePipelineStepPipelineCollection.php index 25e5108d..d400fd64 100644 --- a/src/Endpoint/ReplacePipelineStepPipelineCollection.php +++ b/src/Endpoint/ReplacePipelineStepPipelineCollection.php @@ -9,9 +9,9 @@ class ReplacePipelineStepPipelineCollection extends \Gyroscops\Api\Runtime\Clien /** * Replaces a step by another one in a pipeline. * - * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput $requestBody + * @param \Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInputJsonld|\Gyroscops\Api\Model\PipelineReplacePipelineStepCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/ResumeExecutionExecutionCollection.php b/src/Endpoint/ResumeExecutionExecutionCollection.php index 4e8d2bb2..41e01c78 100644 --- a/src/Endpoint/ResumeExecutionExecutionCollection.php +++ b/src/Endpoint/ResumeExecutionExecutionCollection.php @@ -9,9 +9,9 @@ class ResumeExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\B /** * Resumes a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionResumePipelineExecutionCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/ScheduleImmediateScheduleCollection.php b/src/Endpoint/ScheduleImmediateScheduleCollection.php index ebb4587f..9828a3a7 100644 --- a/src/Endpoint/ScheduleImmediateScheduleCollection.php +++ b/src/Endpoint/ScheduleImmediateScheduleCollection.php @@ -9,9 +9,9 @@ class ScheduleImmediateScheduleCollection extends \Gyroscops\Api\Runtime\Client\ /** * Schedule a pipeline execution immediately. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput $requestBody + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleImmediateCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/ScheduleOnceScheduleCollection.php b/src/Endpoint/ScheduleOnceScheduleCollection.php index a5ec3946..34a44903 100644 --- a/src/Endpoint/ScheduleOnceScheduleCollection.php +++ b/src/Endpoint/ScheduleOnceScheduleCollection.php @@ -9,9 +9,9 @@ class ScheduleOnceScheduleCollection extends \Gyroscops\Api\Runtime\Client\BaseE /** * Schedule an immediate pipeline execution. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput $requestBody + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleOnceCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/ScheduleTimesScheduleCollection.php b/src/Endpoint/ScheduleTimesScheduleCollection.php index 39a0048a..f1cae1d3 100644 --- a/src/Endpoint/ScheduleTimesScheduleCollection.php +++ b/src/Endpoint/ScheduleTimesScheduleCollection.php @@ -9,9 +9,9 @@ class ScheduleTimesScheduleCollection extends \Gyroscops\Api\Runtime\Client\Base /** * Schedule a recurring pipeline execution. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput $requestBody + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleTimesCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/ScheduleUntilScheduleCollection.php b/src/Endpoint/ScheduleUntilScheduleCollection.php index 88a60b9f..7b995253 100644 --- a/src/Endpoint/ScheduleUntilScheduleCollection.php +++ b/src/Endpoint/ScheduleUntilScheduleCollection.php @@ -9,9 +9,9 @@ class ScheduleUntilScheduleCollection extends \Gyroscops\Api\Runtime\Client\Base /** * Schedule a delayed pipeline execution. * - * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput $requestBody + * @param \Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld|\Gyroscops\Api\Model\ScheduleDeclarePipelineScheduleUntilCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/StartExecutionExecutionCollection.php b/src/Endpoint/StartExecutionExecutionCollection.php index e4567fbb..f9a29abf 100644 --- a/src/Endpoint/StartExecutionExecutionCollection.php +++ b/src/Endpoint/StartExecutionExecutionCollection.php @@ -9,9 +9,9 @@ class StartExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Client\Ba /** * Starts a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionStartPipelineExecutionCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/TerminateExecutionExecutionCollection.php b/src/Endpoint/TerminateExecutionExecutionCollection.php index 1534ef28..753a6dcf 100644 --- a/src/Endpoint/TerminateExecutionExecutionCollection.php +++ b/src/Endpoint/TerminateExecutionExecutionCollection.php @@ -9,9 +9,9 @@ class TerminateExecutionExecutionCollection extends \Gyroscops\Api\Runtime\Clien /** * Terminates a pipeline execution. * - * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInputJsonld|\Gyroscops\Api\Model\ExecutionTerminatePipelineExecutionCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Endpoint/UpdateExecutionStateExecutionCollection.php b/src/Endpoint/UpdateExecutionStateExecutionCollection.php index 4e95930c..f8cb786d 100644 --- a/src/Endpoint/UpdateExecutionStateExecutionCollection.php +++ b/src/Endpoint/UpdateExecutionStateExecutionCollection.php @@ -9,9 +9,9 @@ class UpdateExecutionStateExecutionCollection extends \Gyroscops\Api\Runtime\Cli /** * Updates a pipeline execution state. * - * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput $requestBody + * @param \Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInputJsonld|\Gyroscops\Api\Model\ExecutionUpdatePipelineExecutionStateCommandInput|null $requestBody */ - public function __construct($requestBody) + public function __construct($requestBody = null) { $this->body = $requestBody; } diff --git a/src/Model/AbstractPipeline.php b/src/Model/AbstractPipeline.php index f5f4ad9c..f8c84dd1 100644 --- a/src/Model/AbstractPipeline.php +++ b/src/Model/AbstractPipeline.php @@ -5,76 +5,76 @@ class AbstractPipeline { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $runtimeType; /** - * @var string[] + * @var string[]|null */ protected $runtime; /** - * @var string[] + * @var string[]|null */ protected $autoload; /** - * @var string[] + * @var string[]|null */ protected $steps; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getRuntimeType(): string + public function getRuntimeType(): ?string { return $this->runtimeType; } - public function setRuntimeType(string $runtimeType): self + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; @@ -82,17 +82,17 @@ public function setRuntimeType(string $runtimeType): self } /** - * @return string[] + * @return string[]|null */ - public function getRuntime(): array + public function getRuntime(): ?array { return $this->runtime; } /** - * @param string[] $runtime + * @param string[]|null $runtime */ - public function setRuntime(array $runtime): self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; @@ -100,17 +100,17 @@ public function setRuntime(array $runtime): self } /** - * @return string[] + * @return string[]|null */ - public function getAutoload(): array + public function getAutoload(): ?array { return $this->autoload; } /** - * @param string[] $autoload + * @param string[]|null $autoload */ - public function setAutoload(array $autoload): self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; @@ -118,17 +118,17 @@ public function setAutoload(array $autoload): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/AbstractPipelineJsonld.php b/src/Model/AbstractPipelineJsonld.php index 6731fc35..0284cf47 100644 --- a/src/Model/AbstractPipelineJsonld.php +++ b/src/Model/AbstractPipelineJsonld.php @@ -5,43 +5,43 @@ class AbstractPipelineJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $runtimeType; /** - * @var string[] + * @var string[]|null */ protected $runtime; /** - * @var string[] + * @var string[]|null */ protected $autoload; /** - * @var string[] + * @var string[]|null */ protected $steps; @@ -63,72 +63,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getRuntimeType(): string + public function getRuntimeType(): ?string { return $this->runtimeType; } - public function setRuntimeType(string $runtimeType): self + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; @@ -136,17 +136,17 @@ public function setRuntimeType(string $runtimeType): self } /** - * @return string[] + * @return string[]|null */ - public function getRuntime(): array + public function getRuntime(): ?array { return $this->runtime; } /** - * @param string[] $runtime + * @param string[]|null $runtime */ - public function setRuntime(array $runtime): self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; @@ -154,17 +154,17 @@ public function setRuntime(array $runtime): self } /** - * @return string[] + * @return string[]|null */ - public function getAutoload(): array + public function getAutoload(): ?array { return $this->autoload; } /** - * @param string[] $autoload + * @param string[]|null $autoload */ - public function setAutoload(array $autoload): self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; @@ -172,17 +172,17 @@ public function setAutoload(array $autoload): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/ActionJsonldRead.php b/src/Model/ActionJsonldRead.php index 6ee289b3..5b9a0921 100644 --- a/src/Model/ActionJsonldRead.php +++ b/src/Model/ActionJsonldRead.php @@ -5,40 +5,40 @@ class ActionJsonldRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -63,12 +63,12 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; diff --git a/src/Model/ActionRead.php b/src/Model/ActionRead.php index 0a8a99f7..1d62f5e4 100644 --- a/src/Model/ActionRead.php +++ b/src/Model/ActionRead.php @@ -5,16 +5,16 @@ class ActionRead { /** - * @var string + * @var string|null */ protected $id; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; diff --git a/src/Model/AkeneoInstance.php b/src/Model/AkeneoInstance.php index 4cac039c..14ab17a4 100644 --- a/src/Model/AkeneoInstance.php +++ b/src/Model/AkeneoInstance.php @@ -5,15 +5,15 @@ class AkeneoInstance { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $url; /** - * @var string + * @var string|null */ protected $organization; /** @@ -21,48 +21,48 @@ class AkeneoInstance */ protected $workspace; /** - * @var string + * @var string|null */ protected $secret; /** - * @var string[] + * @var string[]|null */ protected $linkedAccounts; /** - * @var string[] + * @var string[]|null */ protected $oauthTokens; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getUrl(): string + public function getUrl(): ?string { return $this->url; } - public function setUrl(string $url): self + public function setUrl(?string $url): self { $this->url = $url; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; @@ -81,12 +81,12 @@ public function setWorkspace(?string $workspace): self return $this; } - public function getSecret(): string + public function getSecret(): ?string { return $this->secret; } - public function setSecret(string $secret): self + public function setSecret(?string $secret): self { $this->secret = $secret; @@ -94,17 +94,17 @@ public function setSecret(string $secret): self } /** - * @return string[] + * @return string[]|null */ - public function getLinkedAccounts(): array + public function getLinkedAccounts(): ?array { return $this->linkedAccounts; } /** - * @param string[] $linkedAccounts + * @param string[]|null $linkedAccounts */ - public function setLinkedAccounts(array $linkedAccounts): self + public function setLinkedAccounts(?array $linkedAccounts): self { $this->linkedAccounts = $linkedAccounts; @@ -112,17 +112,17 @@ public function setLinkedAccounts(array $linkedAccounts): self } /** - * @return string[] + * @return string[]|null */ - public function getOauthTokens(): array + public function getOauthTokens(): ?array { return $this->oauthTokens; } /** - * @param string[] $oauthTokens + * @param string[]|null $oauthTokens */ - public function setOauthTokens(array $oauthTokens): self + public function setOauthTokens(?array $oauthTokens): self { $this->oauthTokens = $oauthTokens; diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInput.php b/src/Model/AkeneoInstanceAkeneoInstanceInput.php index a6cc438f..57f75d12 100644 --- a/src/Model/AkeneoInstanceAkeneoInstanceInput.php +++ b/src/Model/AkeneoInstanceAkeneoInstanceInput.php @@ -5,48 +5,48 @@ class AkeneoInstanceAkeneoInstanceInput { /** - * @var string + * @var string|null */ protected $pimUrl; /** - * @var string + * @var string|null */ protected $organization; /** - * @var SecretInput + * @var SecretInput|null */ protected $secret; - public function getPimUrl(): string + public function getPimUrl(): ?string { return $this->pimUrl; } - public function setPimUrl(string $pimUrl): self + public function setPimUrl(?string $pimUrl): self { $this->pimUrl = $pimUrl; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; return $this; } - public function getSecret(): SecretInput + public function getSecret(): ?SecretInput { return $this->secret; } - public function setSecret(SecretInput $secret): self + public function setSecret(?SecretInput $secret): self { $this->secret = $secret; diff --git a/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php index a59358ad..b29c9d83 100644 --- a/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php +++ b/src/Model/AkeneoInstanceAkeneoInstanceInputJsonld.php @@ -5,27 +5,27 @@ class AkeneoInstanceAkeneoInstanceInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pimUrl; /** - * @var string + * @var string|null */ protected $organization; /** - * @var SecretInputJsonld + * @var SecretInputJsonld|null */ protected $secret; @@ -47,60 +47,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPimUrl(): string + public function getPimUrl(): ?string { return $this->pimUrl; } - public function setPimUrl(string $pimUrl): self + public function setPimUrl(?string $pimUrl): self { $this->pimUrl = $pimUrl; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; return $this; } - public function getSecret(): SecretInputJsonld + public function getSecret(): ?SecretInputJsonld { return $this->secret; } - public function setSecret(SecretInputJsonld $secret): self + public function setSecret(?SecretInputJsonld $secret): self { $this->secret = $secret; diff --git a/src/Model/AkeneoInstanceJsonld.php b/src/Model/AkeneoInstanceJsonld.php index eec8a2af..8caa6b6d 100644 --- a/src/Model/AkeneoInstanceJsonld.php +++ b/src/Model/AkeneoInstanceJsonld.php @@ -5,27 +5,27 @@ class AkeneoInstanceJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $url; /** - * @var string + * @var string|null */ protected $organization; /** @@ -33,36 +33,36 @@ class AkeneoInstanceJsonld */ protected $workspace; /** - * @var string + * @var string|null */ protected $secret; /** - * @var string[] + * @var string[]|null */ protected $linkedAccounts; /** - * @var string[] + * @var string[]|null */ protected $oauthTokens; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -87,36 +87,36 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getUrl(): string + public function getUrl(): ?string { return $this->url; } - public function setUrl(string $url): self + public function setUrl(?string $url): self { $this->url = $url; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; @@ -135,12 +135,12 @@ public function setWorkspace(?string $workspace): self return $this; } - public function getSecret(): string + public function getSecret(): ?string { return $this->secret; } - public function setSecret(string $secret): self + public function setSecret(?string $secret): self { $this->secret = $secret; @@ -148,17 +148,17 @@ public function setSecret(string $secret): self } /** - * @return string[] + * @return string[]|null */ - public function getLinkedAccounts(): array + public function getLinkedAccounts(): ?array { return $this->linkedAccounts; } /** - * @param string[] $linkedAccounts + * @param string[]|null $linkedAccounts */ - public function setLinkedAccounts(array $linkedAccounts): self + public function setLinkedAccounts(?array $linkedAccounts): self { $this->linkedAccounts = $linkedAccounts; @@ -166,17 +166,17 @@ public function setLinkedAccounts(array $linkedAccounts): self } /** - * @return string[] + * @return string[]|null */ - public function getOauthTokens(): array + public function getOauthTokens(): ?array { return $this->oauthTokens; } /** - * @param string[] $oauthTokens + * @param string[]|null $oauthTokens */ - public function setOauthTokens(array $oauthTokens): self + public function setOauthTokens(?array $oauthTokens): self { $this->oauthTokens = $oauthTokens; diff --git a/src/Model/AkeneoLinkedAccount.php b/src/Model/AkeneoLinkedAccount.php index 5c868c79..8b45b66e 100644 --- a/src/Model/AkeneoLinkedAccount.php +++ b/src/Model/AkeneoLinkedAccount.php @@ -5,7 +5,7 @@ class AkeneoLinkedAccount { /** - * @var string + * @var string|null */ protected $id; /** @@ -13,15 +13,15 @@ class AkeneoLinkedAccount */ protected $user; /** - * @var string + * @var string|null */ protected $tokenId; /** - * @var string + * @var string|null */ protected $akeneoUserId; /** - * @var string + * @var string|null */ protected $token; /** @@ -29,12 +29,12 @@ class AkeneoLinkedAccount */ protected $akeneoInstance; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -53,36 +53,36 @@ public function setUser(?string $user): self return $this; } - public function getTokenId(): string + public function getTokenId(): ?string { return $this->tokenId; } - public function setTokenId(string $tokenId): self + public function setTokenId(?string $tokenId): self { $this->tokenId = $tokenId; return $this; } - public function getAkeneoUserId(): string + public function getAkeneoUserId(): ?string { return $this->akeneoUserId; } - public function setAkeneoUserId(string $akeneoUserId): self + public function setAkeneoUserId(?string $akeneoUserId): self { $this->akeneoUserId = $akeneoUserId; return $this; } - public function getToken(): string + public function getToken(): ?string { return $this->token; } - public function setToken(string $token): self + public function setToken(?string $token): self { $this->token = $token; diff --git a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php index 2bf360de..98c0b552 100644 --- a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php +++ b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInput.php @@ -5,64 +5,64 @@ class AkeneoLinkedAccountAkeneoLinkedAccountsInput { /** - * @var string + * @var string|null */ protected $akeneoInstance; /** - * @var string + * @var string|null */ protected $tokenId; /** - * @var string + * @var string|null */ protected $akeneoUserId; /** - * @var string + * @var string|null */ protected $token; - public function getAkeneoInstance(): string + public function getAkeneoInstance(): ?string { return $this->akeneoInstance; } - public function setAkeneoInstance(string $akeneoInstance): self + public function setAkeneoInstance(?string $akeneoInstance): self { $this->akeneoInstance = $akeneoInstance; return $this; } - public function getTokenId(): string + public function getTokenId(): ?string { return $this->tokenId; } - public function setTokenId(string $tokenId): self + public function setTokenId(?string $tokenId): self { $this->tokenId = $tokenId; return $this; } - public function getAkeneoUserId(): string + public function getAkeneoUserId(): ?string { return $this->akeneoUserId; } - public function setAkeneoUserId(string $akeneoUserId): self + public function setAkeneoUserId(?string $akeneoUserId): self { $this->akeneoUserId = $akeneoUserId; return $this; } - public function getToken(): string + public function getToken(): ?string { return $this->token; } - public function setToken(string $token): self + public function setToken(?string $token): self { $this->token = $token; diff --git a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php index ac4fd564..362bf8a0 100644 --- a/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php +++ b/src/Model/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld.php @@ -5,31 +5,31 @@ class AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $akeneoInstance; /** - * @var string + * @var string|null */ protected $tokenId; /** - * @var string + * @var string|null */ protected $akeneoUserId; /** - * @var string + * @var string|null */ protected $token; @@ -51,72 +51,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getAkeneoInstance(): string + public function getAkeneoInstance(): ?string { return $this->akeneoInstance; } - public function setAkeneoInstance(string $akeneoInstance): self + public function setAkeneoInstance(?string $akeneoInstance): self { $this->akeneoInstance = $akeneoInstance; return $this; } - public function getTokenId(): string + public function getTokenId(): ?string { return $this->tokenId; } - public function setTokenId(string $tokenId): self + public function setTokenId(?string $tokenId): self { $this->tokenId = $tokenId; return $this; } - public function getAkeneoUserId(): string + public function getAkeneoUserId(): ?string { return $this->akeneoUserId; } - public function setAkeneoUserId(string $akeneoUserId): self + public function setAkeneoUserId(?string $akeneoUserId): self { $this->akeneoUserId = $akeneoUserId; return $this; } - public function getToken(): string + public function getToken(): ?string { return $this->token; } - public function setToken(string $token): self + public function setToken(?string $token): self { $this->token = $token; diff --git a/src/Model/AkeneoLinkedAccountJsonld.php b/src/Model/AkeneoLinkedAccountJsonld.php index 52d3613f..feac8290 100644 --- a/src/Model/AkeneoLinkedAccountJsonld.php +++ b/src/Model/AkeneoLinkedAccountJsonld.php @@ -5,19 +5,19 @@ class AkeneoLinkedAccountJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** @@ -25,15 +25,15 @@ class AkeneoLinkedAccountJsonld */ protected $user; /** - * @var string + * @var string|null */ protected $tokenId; /** - * @var string + * @var string|null */ protected $akeneoUserId; /** - * @var string + * @var string|null */ protected $token; /** @@ -41,24 +41,24 @@ class AkeneoLinkedAccountJsonld */ protected $akeneoInstance; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -83,12 +83,12 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -107,36 +107,36 @@ public function setUser(?string $user): self return $this; } - public function getTokenId(): string + public function getTokenId(): ?string { return $this->tokenId; } - public function setTokenId(string $tokenId): self + public function setTokenId(?string $tokenId): self { $this->tokenId = $tokenId; return $this; } - public function getAkeneoUserId(): string + public function getAkeneoUserId(): ?string { return $this->akeneoUserId; } - public function setAkeneoUserId(string $akeneoUserId): self + public function setAkeneoUserId(?string $akeneoUserId): self { $this->akeneoUserId = $akeneoUserId; return $this; } - public function getToken(): string + public function getToken(): ?string { return $this->token; } - public function setToken(string $token): self + public function setToken(?string $token): self { $this->token = $token; diff --git a/src/Model/AkeneoOauthTokenJsonldRead.php b/src/Model/AkeneoOauthTokenJsonldRead.php index 02813c4a..cd72c791 100644 --- a/src/Model/AkeneoOauthTokenJsonldRead.php +++ b/src/Model/AkeneoOauthTokenJsonldRead.php @@ -5,52 +5,52 @@ class AkeneoOauthTokenJsonldRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $url; /** - * @var string[] + * @var string[]|null */ protected $scopes; /** - * @var string + * @var string|null */ protected $responseType = 'code'; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -75,24 +75,24 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getUrl(): string + public function getUrl(): ?string { return $this->url; } - public function setUrl(string $url): self + public function setUrl(?string $url): self { $this->url = $url; @@ -100,29 +100,29 @@ public function setUrl(string $url): self } /** - * @return string[] + * @return string[]|null */ - public function getScopes(): array + public function getScopes(): ?array { return $this->scopes; } /** - * @param string[] $scopes + * @param string[]|null $scopes */ - public function setScopes(array $scopes): self + public function setScopes(?array $scopes): self { $this->scopes = $scopes; return $this; } - public function getResponseType(): string + public function getResponseType(): ?string { return $this->responseType; } - public function setResponseType(string $responseType): self + public function setResponseType(?string $responseType): self { $this->responseType = $responseType; diff --git a/src/Model/AkeneoOauthTokenOauthStateInput.php b/src/Model/AkeneoOauthTokenOauthStateInput.php index 9d0deee2..8d1b30f4 100644 --- a/src/Model/AkeneoOauthTokenOauthStateInput.php +++ b/src/Model/AkeneoOauthTokenOauthStateInput.php @@ -5,20 +5,20 @@ class AkeneoOauthTokenOauthStateInput { /** - * @var string + * @var string|null */ protected $url; /** - * @var string[] + * @var string[]|null */ protected $scope; - public function getUrl(): string + public function getUrl(): ?string { return $this->url; } - public function setUrl(string $url): self + public function setUrl(?string $url): self { $this->url = $url; @@ -26,17 +26,17 @@ public function setUrl(string $url): self } /** - * @return string[] + * @return string[]|null */ - public function getScope(): array + public function getScope(): ?array { return $this->scope; } /** - * @param string[] $scope + * @param string[]|null $scope */ - public function setScope(array $scope): self + public function setScope(?array $scope): self { $this->scope = $scope; diff --git a/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php b/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php index efd8ff65..9e8fb52b 100644 --- a/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php +++ b/src/Model/AkeneoOauthTokenOauthStateInputJsonld.php @@ -5,23 +5,23 @@ class AkeneoOauthTokenOauthStateInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $url; /** - * @var string[] + * @var string[]|null */ protected $scope; @@ -43,36 +43,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getUrl(): string + public function getUrl(): ?string { return $this->url; } - public function setUrl(string $url): self + public function setUrl(?string $url): self { $this->url = $url; @@ -80,17 +80,17 @@ public function setUrl(string $url): self } /** - * @return string[] + * @return string[]|null */ - public function getScope(): array + public function getScope(): ?array { return $this->scope; } /** - * @param string[] $scope + * @param string[]|null $scope */ - public function setScope(array $scope): self + public function setScope(?array $scope): self { $this->scope = $scope; diff --git a/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php b/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php index 84bf3971..813ca39b 100644 --- a/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php +++ b/src/Model/AkeneoOauthTokenOauthStateOutputJsonldRead.php @@ -5,15 +5,15 @@ class AkeneoOauthTokenOauthStateOutputJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/AkeneoOauthTokenOauthTokenInput.php b/src/Model/AkeneoOauthTokenOauthTokenInput.php index 02621fc8..59244d1c 100644 --- a/src/Model/AkeneoOauthTokenOauthTokenInput.php +++ b/src/Model/AkeneoOauthTokenOauthTokenInput.php @@ -5,48 +5,48 @@ class AkeneoOauthTokenOauthTokenInput { /** - * @var string + * @var string|null */ protected $url; /** - * @var string + * @var string|null */ protected $state; /** - * @var string + * @var string|null */ protected $code; - public function getUrl(): string + public function getUrl(): ?string { return $this->url; } - public function setUrl(string $url): self + public function setUrl(?string $url): self { $this->url = $url; return $this; } - public function getState(): string + public function getState(): ?string { return $this->state; } - public function setState(string $state): self + public function setState(?string $state): self { $this->state = $state; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; diff --git a/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php b/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php index 21119775..407fa462 100644 --- a/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php +++ b/src/Model/AkeneoOauthTokenOauthTokenInputJsonld.php @@ -5,80 +5,80 @@ class AkeneoOauthTokenOauthTokenInputJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $url; /** - * @var string + * @var string|null */ protected $state; /** - * @var string + * @var string|null */ protected $code; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getUrl(): string + public function getUrl(): ?string { return $this->url; } - public function setUrl(string $url): self + public function setUrl(?string $url): self { $this->url = $url; return $this; } - public function getState(): string + public function getState(): ?string { return $this->state; } - public function setState(string $state): self + public function setState(?string $state): self { $this->state = $state; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; diff --git a/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php b/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php index 78b0d5f4..ce47da17 100644 --- a/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php +++ b/src/Model/AkeneoOauthTokenOauthTokenOutputJsonldRead.php @@ -5,32 +5,32 @@ class AkeneoOauthTokenOauthTokenOutputJsonldRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/AkeneoOauthTokenRead.php b/src/Model/AkeneoOauthTokenRead.php index eb2517dc..47817523 100644 --- a/src/Model/AkeneoOauthTokenRead.php +++ b/src/Model/AkeneoOauthTokenRead.php @@ -5,40 +5,40 @@ class AkeneoOauthTokenRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $url; /** - * @var string[] + * @var string[]|null */ protected $scopes; /** - * @var string + * @var string|null */ protected $responseType = 'code'; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getUrl(): string + public function getUrl(): ?string { return $this->url; } - public function setUrl(string $url): self + public function setUrl(?string $url): self { $this->url = $url; @@ -46,29 +46,29 @@ public function setUrl(string $url): self } /** - * @return string[] + * @return string[]|null */ - public function getScopes(): array + public function getScopes(): ?array { return $this->scopes; } /** - * @param string[] $scopes + * @param string[]|null $scopes */ - public function setScopes(array $scopes): self + public function setScopes(?array $scopes): self { $this->scopes = $scopes; return $this; } - public function getResponseType(): string + public function getResponseType(): ?string { return $this->responseType; } - public function setResponseType(string $responseType): self + public function setResponseType(?string $responseType): self { $this->responseType = $responseType; diff --git a/src/Model/AuthenticationMeGetResponse200.php b/src/Model/AuthenticationMeGetResponse200.php index 5b6d9cd8..70a001a8 100644 --- a/src/Model/AuthenticationMeGetResponse200.php +++ b/src/Model/AuthenticationMeGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationMeGetResponse200 { /** - * @var UserJsonld[] + * @var UserJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationMeGetResponse200HydraView + * @var AuthenticationMeGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationMeGetResponse200HydraSearch + * @var AuthenticationMeGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return UserJsonld[] + * @return UserJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param UserJsonld[] $hydraMember + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationMeGetResponse200HydraView + public function getHydraView(): ?AuthenticationMeGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationMeGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationMeGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationMeGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationMeGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationMeGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationMeGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationMeGetResponse200HydraSearch.php b/src/Model/AuthenticationMeGetResponse200HydraSearch.php index 508bf9dc..96ded1c5 100644 --- a/src/Model/AuthenticationMeGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationMeGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationMeGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationMeGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationMeGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationMeGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationMeGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationMeGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationMeGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php index 728cbf31..3ad5481e 100644 --- a/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationMeGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationMeGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationMeGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationMeGetResponse200HydraView.php b/src/Model/AuthenticationMeGetResponse200HydraView.php index 2b06a0c5..e0ff266e 100644 --- a/src/Model/AuthenticationMeGetResponse200HydraView.php +++ b/src/Model/AuthenticationMeGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationMeGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200.php index df5aa117..48b9667d 100644 --- a/src/Model/AuthenticationOfferIdOptionsGetResponse200.php +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationOfferIdOptionsGetResponse200 { /** - * @var OptionJsonld[] + * @var OptionJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationOfferIdOptionsGetResponse200HydraView + * @var AuthenticationOfferIdOptionsGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationOfferIdOptionsGetResponse200HydraSearch + * @var AuthenticationOfferIdOptionsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return OptionJsonld[] + * @return OptionJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param OptionJsonld[] $hydraMember + * @param OptionJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationOfferIdOptionsGetResponse200HydraView + public function getHydraView(): ?AuthenticationOfferIdOptionsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationOfferIdOptionsGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationOfferIdOptionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationOfferIdOptionsGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationOfferIdOptionsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationOfferIdOptionsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationOfferIdOptionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php index 2cd31d80..83229339 100644 --- a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationOfferIdOptionsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php index 772c1023..a0286469 100644 --- a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php index 5939ee4b..40ff15f5 100644 --- a/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOfferIdOptionsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationOfferIdOptionsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationOffersGetResponse200.php b/src/Model/AuthenticationOffersGetResponse200.php index be801b26..5814149f 100644 --- a/src/Model/AuthenticationOffersGetResponse200.php +++ b/src/Model/AuthenticationOffersGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationOffersGetResponse200 { /** - * @var OfferJsonld[] + * @var OfferJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationOffersGetResponse200HydraView + * @var AuthenticationOffersGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationOffersGetResponse200HydraSearch + * @var AuthenticationOffersGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return OfferJsonld[] + * @return OfferJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param OfferJsonld[] $hydraMember + * @param OfferJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationOffersGetResponse200HydraView + public function getHydraView(): ?AuthenticationOffersGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationOffersGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationOffersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationOffersGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationOffersGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationOffersGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationOffersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationOffersGetResponse200HydraSearch.php b/src/Model/AuthenticationOffersGetResponse200HydraSearch.php index 331305b5..0a1aa816 100644 --- a/src/Model/AuthenticationOffersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOffersGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationOffersGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationOffersGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php index 70b366e6..9464f8e5 100644 --- a/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOffersGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationOffersGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationOffersGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationOffersGetResponse200HydraView.php b/src/Model/AuthenticationOffersGetResponse200HydraView.php index 3d97ffc6..4e21e110 100644 --- a/src/Model/AuthenticationOffersGetResponse200HydraView.php +++ b/src/Model/AuthenticationOffersGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationOffersGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php index db59ed03..a8377c86 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200 { /** - * @var UserAuthorizationJsonld[] + * @var UserAuthorizationJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView + * @var AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch + * @var AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return UserAuthorizationJsonld[] + * @return UserAuthorizationJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param UserAuthorizationJsonld[] $hydraMember + * @param UserAuthorizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView + public function getHydraView(): ?AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php index 25819d07..e1af2a08 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index f79a63cc..377a2e95 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMa */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php index f0caa6ef..bd150144 100644 --- a/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php index 827dc5cc..d581b482 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200 { /** - * @var UserJsonld[] + * @var UserJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView + * @var AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch + * @var AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return UserJsonld[] + * @return UserJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param UserJsonld[] $hydraMember + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView + public function getHydraView(): ?AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php index 5c97e509..6e6dec38 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php index 8febf15b..c3cc78b6 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php index 11e72542..bd8b650f 100644 --- a/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php index 90135c05..ba1595c7 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationOrganizationIdUsersGetResponse200 { /** - * @var UserJsonld[] + * @var UserJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationOrganizationIdUsersGetResponse200HydraView + * @var AuthenticationOrganizationIdUsersGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationOrganizationIdUsersGetResponse200HydraSearch + * @var AuthenticationOrganizationIdUsersGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return UserJsonld[] + * @return UserJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param UserJsonld[] $hydraMember + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationOrganizationIdUsersGetResponse200HydraView + public function getHydraView(): ?AuthenticationOrganizationIdUsersGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationOrganizationIdUsersGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationOrganizationIdUsersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationOrganizationIdUsersGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationOrganizationIdUsersGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationOrganizationIdUsersGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationOrganizationIdUsersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php index ac3a6861..cc5ed6a9 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php index 567c0373..5c0360be 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php index b433dc14..adabcc9b 100644 --- a/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdUsersGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationOrganizationIdUsersGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php index 49587efb..0a3d32ae 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200 { /** - * @var WorkspaceJsonld[] + * @var WorkspaceJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationOrganizationIdWorkspacesGetResponse200HydraView + * @var AuthenticationOrganizationIdWorkspacesGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch + * @var AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return WorkspaceJsonld[] + * @return WorkspaceJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param WorkspaceJsonld[] $hydraMember + * @param WorkspaceJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationOrganizationIdWorkspacesGetResponse200HydraView + public function getHydraView(): ?AuthenticationOrganizationIdWorkspacesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationOrganizationIdWorkspacesGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationOrganizationIdWorkspacesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php index d77961f2..a1b26def 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php index c93fb777..3d78217c 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappin */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php index 2b6d2e0a..f2335b36 100644 --- a/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationIdWorkspacesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationOrganizationIdWorkspacesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationOrganizationsGetResponse200.php b/src/Model/AuthenticationOrganizationsGetResponse200.php index 62881c2c..87058821 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationOrganizationsGetResponse200 { /** - * @var OrganizationJsonld[] + * @var OrganizationJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationOrganizationsGetResponse200HydraView + * @var AuthenticationOrganizationsGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationOrganizationsGetResponse200HydraSearch + * @var AuthenticationOrganizationsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return OrganizationJsonld[] + * @return OrganizationJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param OrganizationJsonld[] $hydraMember + * @param OrganizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationOrganizationsGetResponse200HydraView + public function getHydraView(): ?AuthenticationOrganizationsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationOrganizationsGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationOrganizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationOrganizationsGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationOrganizationsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationOrganizationsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationOrganizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php index c3debc0e..9041e4c0 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationOrganizationsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php index 80c96051..b4b0885b 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php b/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php index 7319ab1c..8bb80362 100644 --- a/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationOrganizationsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationOrganizationsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200.php b/src/Model/AuthenticationSubscriptionsGetResponse200.php index 3bb0fe9d..bf80d631 100644 --- a/src/Model/AuthenticationSubscriptionsGetResponse200.php +++ b/src/Model/AuthenticationSubscriptionsGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationSubscriptionsGetResponse200 { /** - * @var SubscriptionJsonld[] + * @var SubscriptionJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationSubscriptionsGetResponse200HydraView + * @var AuthenticationSubscriptionsGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationSubscriptionsGetResponse200HydraSearch + * @var AuthenticationSubscriptionsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return SubscriptionJsonld[] + * @return SubscriptionJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param SubscriptionJsonld[] $hydraMember + * @param SubscriptionJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationSubscriptionsGetResponse200HydraView + public function getHydraView(): ?AuthenticationSubscriptionsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationSubscriptionsGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationSubscriptionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationSubscriptionsGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationSubscriptionsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationSubscriptionsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationSubscriptionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php index a51e7289..511b48d6 100644 --- a/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationSubscriptionsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php index c36288f0..93c4cb19 100644 --- a/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php b/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php index 41b13ad6..48fd9f77 100644 --- a/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php +++ b/src/Model/AuthenticationSubscriptionsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationSubscriptionsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php index a46609a9..d50c9084 100644 --- a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationSubscriptionsIdOptionsGetResponse200 { /** - * @var SubscriptionOptionJsonld[] + * @var SubscriptionOptionJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationSubscriptionsIdOptionsGetResponse200HydraView + * @var AuthenticationSubscriptionsIdOptionsGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch + * @var AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return SubscriptionOptionJsonld[] + * @return SubscriptionOptionJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param SubscriptionOptionJsonld[] $hydraMember + * @param SubscriptionOptionJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationSubscriptionsIdOptionsGetResponse200HydraView + public function getHydraView(): ?AuthenticationSubscriptionsIdOptionsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationSubscriptionsIdOptionsGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationSubscriptionsIdOptionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php index 1d653eca..3b64992b 100644 --- a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php index a477e8e6..94216517 100644 --- a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingI */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php index 2fe95000..24a17c10 100644 --- a/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php +++ b/src/Model/AuthenticationSubscriptionsIdOptionsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationSubscriptionsIdOptionsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200.php index c634d325..3105cd83 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationUserAuthorizationsGetResponse200 { /** - * @var UserAuthorizationJsonld[] + * @var UserAuthorizationJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationUserAuthorizationsGetResponse200HydraView + * @var AuthenticationUserAuthorizationsGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationUserAuthorizationsGetResponse200HydraSearch + * @var AuthenticationUserAuthorizationsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return UserAuthorizationJsonld[] + * @return UserAuthorizationJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param UserAuthorizationJsonld[] $hydraMember + * @param UserAuthorizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationUserAuthorizationsGetResponse200HydraView + public function getHydraView(): ?AuthenticationUserAuthorizationsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationUserAuthorizationsGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationUserAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationUserAuthorizationsGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationUserAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationUserAuthorizationsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationUserAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php index 1f42af3b..ea681392 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationUserAuthorizationsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index 1be837ee..e976ea94 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php index a9629a31..3e300f82 100644 --- a/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationUserAuthorizationsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationUserAuthorizationsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php index 62f2eae9..840f98d6 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationUserIdAuthorizationsGetResponse200 { /** - * @var UserAuthorizationJsonld[] + * @var UserAuthorizationJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationUserIdAuthorizationsGetResponse200HydraView + * @var AuthenticationUserIdAuthorizationsGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationUserIdAuthorizationsGetResponse200HydraSearch + * @var AuthenticationUserIdAuthorizationsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return UserAuthorizationJsonld[] + * @return UserAuthorizationJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param UserAuthorizationJsonld[] $hydraMember + * @param UserAuthorizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationUserIdAuthorizationsGetResponse200HydraView + public function getHydraView(): ?AuthenticationUserIdAuthorizationsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationUserIdAuthorizationsGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationUserIdAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationUserIdAuthorizationsGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationUserIdAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationUserIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationUserIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php index 0cd959cb..c5d44bf7 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index 0e61dd5f..6b399bcf 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingIte */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php index 0b9ffd97..142e3941 100644 --- a/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationUserIdAuthorizationsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationUserIdAuthorizationsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationUsersGetResponse200.php b/src/Model/AuthenticationUsersGetResponse200.php index 70cf6aa7..7838fbcf 100644 --- a/src/Model/AuthenticationUsersGetResponse200.php +++ b/src/Model/AuthenticationUsersGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationUsersGetResponse200 { /** - * @var UserJsonld[] + * @var UserJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationUsersGetResponse200HydraView + * @var AuthenticationUsersGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationUsersGetResponse200HydraSearch + * @var AuthenticationUsersGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return UserJsonld[] + * @return UserJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param UserJsonld[] $hydraMember + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationUsersGetResponse200HydraView + public function getHydraView(): ?AuthenticationUsersGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationUsersGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationUsersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationUsersGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationUsersGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationUsersGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationUsersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationUsersGetResponse200HydraSearch.php b/src/Model/AuthenticationUsersGetResponse200HydraSearch.php index 0bee9320..f89b4cb8 100644 --- a/src/Model/AuthenticationUsersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationUsersGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationUsersGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationUsersGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php index 64485031..6dca92f6 100644 --- a/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationUsersGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationUsersGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationUsersGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationUsersGetResponse200HydraView.php b/src/Model/AuthenticationUsersGetResponse200HydraView.php index 8f8bc03a..9a6a3630 100644 --- a/src/Model/AuthenticationUsersGetResponse200HydraView.php +++ b/src/Model/AuthenticationUsersGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationUsersGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php index 449cd7df..e813ff46 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200 { /** - * @var UserAuthorizationJsonld[] + * @var UserAuthorizationJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView + * @var AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch + * @var AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return UserAuthorizationJsonld[] + * @return UserAuthorizationJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param UserAuthorizationJsonld[] $hydraMember + * @param UserAuthorizationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView + public function getHydraView(): ?AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php index 5d1231eb..057f11b1 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php index b2d9384f..bbfe7884 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappi */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php index b4fe0bed..2dff3536 100644 --- a/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php index 20df7a9f..eab545e5 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationWorkspaceIdUsersGetResponse200 { /** - * @var UserJsonld[] + * @var UserJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationWorkspaceIdUsersGetResponse200HydraView + * @var AuthenticationWorkspaceIdUsersGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationWorkspaceIdUsersGetResponse200HydraSearch + * @var AuthenticationWorkspaceIdUsersGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return UserJsonld[] + * @return UserJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param UserJsonld[] $hydraMember + * @param UserJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationWorkspaceIdUsersGetResponse200HydraView + public function getHydraView(): ?AuthenticationWorkspaceIdUsersGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationWorkspaceIdUsersGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationWorkspaceIdUsersGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationWorkspaceIdUsersGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationWorkspaceIdUsersGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationWorkspaceIdUsersGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationWorkspaceIdUsersGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php index 048ccdd2..02c33e10 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php index c67c6d4b..0dcfaf3a 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php index 2137807f..4b680532 100644 --- a/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspaceIdUsersGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationWorkspaceIdUsersGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AuthenticationWorkspacesGetResponse200.php b/src/Model/AuthenticationWorkspacesGetResponse200.php index 9e6bae27..649e525a 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200.php @@ -5,70 +5,70 @@ class AuthenticationWorkspacesGetResponse200 { /** - * @var WorkspaceJsonld[] + * @var WorkspaceJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var AuthenticationWorkspacesGetResponse200HydraView + * @var AuthenticationWorkspacesGetResponse200HydraView|null */ protected $hydraView; /** - * @var AuthenticationWorkspacesGetResponse200HydraSearch + * @var AuthenticationWorkspacesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return WorkspaceJsonld[] + * @return WorkspaceJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param WorkspaceJsonld[] $hydraMember + * @param WorkspaceJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): AuthenticationWorkspacesGetResponse200HydraView + public function getHydraView(): ?AuthenticationWorkspacesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(AuthenticationWorkspacesGetResponse200HydraView $hydraView): self + public function setHydraView(?AuthenticationWorkspacesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): AuthenticationWorkspacesGetResponse200HydraSearch + public function getHydraSearch(): ?AuthenticationWorkspacesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(AuthenticationWorkspacesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?AuthenticationWorkspacesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php index a3446724..b668d697 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class AuthenticationWorkspacesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[] + * @var AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[] + * @return AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php index 6da47f92..7df183a0 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php b/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php index cb3d1e53..2949421c 100644 --- a/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php +++ b/src/Model/AuthenticationWorkspacesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class AuthenticationWorkspacesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/AutoloadInput.php b/src/Model/AutoloadInput.php index 5010f0f1..2df0e6c6 100644 --- a/src/Model/AutoloadInput.php +++ b/src/Model/AutoloadInput.php @@ -5,20 +5,20 @@ class AutoloadInput { /** - * @var string + * @var string|null */ protected $namespace; /** - * @var string[] + * @var string[]|null */ protected $paths; - public function getNamespace(): string + public function getNamespace(): ?string { return $this->namespace; } - public function setNamespace(string $namespace): self + public function setNamespace(?string $namespace): self { $this->namespace = $namespace; @@ -26,17 +26,17 @@ public function setNamespace(string $namespace): self } /** - * @return string[] + * @return string[]|null */ - public function getPaths(): array + public function getPaths(): ?array { return $this->paths; } /** - * @param string[] $paths + * @param string[]|null $paths */ - public function setPaths(array $paths): self + public function setPaths(?array $paths): self { $this->paths = $paths; diff --git a/src/Model/AutoloadInputJsonld.php b/src/Model/AutoloadInputJsonld.php index 03987e09..101f3e82 100644 --- a/src/Model/AutoloadInputJsonld.php +++ b/src/Model/AutoloadInputJsonld.php @@ -5,23 +5,23 @@ class AutoloadInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $namespace; /** - * @var string[] + * @var string[]|null */ protected $paths; @@ -43,36 +43,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getNamespace(): string + public function getNamespace(): ?string { return $this->namespace; } - public function setNamespace(string $namespace): self + public function setNamespace(?string $namespace): self { $this->namespace = $namespace; @@ -80,17 +80,17 @@ public function setNamespace(string $namespace): self } /** - * @return string[] + * @return string[]|null */ - public function getPaths(): array + public function getPaths(): ?array { return $this->paths; } /** - * @param string[] $paths + * @param string[]|null $paths */ - public function setPaths(array $paths): self + public function setPaths(?array $paths): self { $this->paths = $paths; diff --git a/src/Model/BigDecimal.php b/src/Model/BigDecimal.php index 37ca890d..c1bcb634 100644 --- a/src/Model/BigDecimal.php +++ b/src/Model/BigDecimal.php @@ -7,70 +7,70 @@ class BigDecimal /** * The scale (number of digits after the decimal point) of this decimal number. * - * @var int + * @var int|null */ protected $scale; /** - * @var int + * @var int|null */ protected $sign; /** - * @var BigInteger + * @var BigInteger|null */ protected $unscaledValue; /** * Returns a string representing the integral part of this decimal number. * - * @var string + * @var string|null */ protected $integralPart; /** * Returns a string representing the fractional part of this decimal number. * - * @var string + * @var string|null */ protected $fractionalPart; /** * Returns whether this decimal number has a non-zero fractional part. * - * @var bool + * @var bool|null */ protected $nonZeroFractionalPart; /** * Checks if this number equals zero. * - * @var bool + * @var bool|null */ protected $zero; /** * Checks if this number is strictly negative. * - * @var bool + * @var bool|null */ protected $negative; /** * Checks if this number is negative or zero. * - * @var bool + * @var bool|null */ protected $negativeOrZero; /** * Checks if this number is strictly positive. * - * @var bool + * @var bool|null */ protected $positive; /** * Checks if this number is positive or zero. * - * @var bool + * @var bool|null */ protected $positiveOrZero; /** * The scale (number of digits after the decimal point) of this decimal number. */ - public function getScale(): int + public function getScale(): ?int { return $this->scale; } @@ -78,31 +78,31 @@ public function getScale(): int /** * The scale (number of digits after the decimal point) of this decimal number. */ - public function setScale(int $scale): self + public function setScale(?int $scale): self { $this->scale = $scale; return $this; } - public function getSign(): int + public function getSign(): ?int { return $this->sign; } - public function setSign(int $sign): self + public function setSign(?int $sign): self { $this->sign = $sign; return $this; } - public function getUnscaledValue(): BigInteger + public function getUnscaledValue(): ?BigInteger { return $this->unscaledValue; } - public function setUnscaledValue(BigInteger $unscaledValue): self + public function setUnscaledValue(?BigInteger $unscaledValue): self { $this->unscaledValue = $unscaledValue; @@ -112,7 +112,7 @@ public function setUnscaledValue(BigInteger $unscaledValue): self /** * Returns a string representing the integral part of this decimal number. */ - public function getIntegralPart(): string + public function getIntegralPart(): ?string { return $this->integralPart; } @@ -120,7 +120,7 @@ public function getIntegralPart(): string /** * Returns a string representing the integral part of this decimal number. */ - public function setIntegralPart(string $integralPart): self + public function setIntegralPart(?string $integralPart): self { $this->integralPart = $integralPart; @@ -130,7 +130,7 @@ public function setIntegralPart(string $integralPart): self /** * Returns a string representing the fractional part of this decimal number. */ - public function getFractionalPart(): string + public function getFractionalPart(): ?string { return $this->fractionalPart; } @@ -138,7 +138,7 @@ public function getFractionalPart(): string /** * Returns a string representing the fractional part of this decimal number. */ - public function setFractionalPart(string $fractionalPart): self + public function setFractionalPart(?string $fractionalPart): self { $this->fractionalPart = $fractionalPart; @@ -148,7 +148,7 @@ public function setFractionalPart(string $fractionalPart): self /** * Returns whether this decimal number has a non-zero fractional part. */ - public function getNonZeroFractionalPart(): bool + public function getNonZeroFractionalPart(): ?bool { return $this->nonZeroFractionalPart; } @@ -156,7 +156,7 @@ public function getNonZeroFractionalPart(): bool /** * Returns whether this decimal number has a non-zero fractional part. */ - public function setNonZeroFractionalPart(bool $nonZeroFractionalPart): self + public function setNonZeroFractionalPart(?bool $nonZeroFractionalPart): self { $this->nonZeroFractionalPart = $nonZeroFractionalPart; @@ -166,7 +166,7 @@ public function setNonZeroFractionalPart(bool $nonZeroFractionalPart): self /** * Checks if this number equals zero. */ - public function getZero(): bool + public function getZero(): ?bool { return $this->zero; } @@ -174,7 +174,7 @@ public function getZero(): bool /** * Checks if this number equals zero. */ - public function setZero(bool $zero): self + public function setZero(?bool $zero): self { $this->zero = $zero; @@ -184,7 +184,7 @@ public function setZero(bool $zero): self /** * Checks if this number is strictly negative. */ - public function getNegative(): bool + public function getNegative(): ?bool { return $this->negative; } @@ -192,7 +192,7 @@ public function getNegative(): bool /** * Checks if this number is strictly negative. */ - public function setNegative(bool $negative): self + public function setNegative(?bool $negative): self { $this->negative = $negative; @@ -202,7 +202,7 @@ public function setNegative(bool $negative): self /** * Checks if this number is negative or zero. */ - public function getNegativeOrZero(): bool + public function getNegativeOrZero(): ?bool { return $this->negativeOrZero; } @@ -210,7 +210,7 @@ public function getNegativeOrZero(): bool /** * Checks if this number is negative or zero. */ - public function setNegativeOrZero(bool $negativeOrZero): self + public function setNegativeOrZero(?bool $negativeOrZero): self { $this->negativeOrZero = $negativeOrZero; @@ -220,7 +220,7 @@ public function setNegativeOrZero(bool $negativeOrZero): self /** * Checks if this number is strictly positive. */ - public function getPositive(): bool + public function getPositive(): ?bool { return $this->positive; } @@ -228,7 +228,7 @@ public function getPositive(): bool /** * Checks if this number is strictly positive. */ - public function setPositive(bool $positive): self + public function setPositive(?bool $positive): self { $this->positive = $positive; @@ -238,7 +238,7 @@ public function setPositive(bool $positive): self /** * Checks if this number is positive or zero. */ - public function getPositiveOrZero(): bool + public function getPositiveOrZero(): ?bool { return $this->positiveOrZero; } @@ -246,7 +246,7 @@ public function getPositiveOrZero(): bool /** * Checks if this number is positive or zero. */ - public function setPositiveOrZero(bool $positiveOrZero): self + public function setPositiveOrZero(?bool $positiveOrZero): self { $this->positiveOrZero = $positiveOrZero; diff --git a/src/Model/BigDecimalJsonld.php b/src/Model/BigDecimalJsonld.php index 2366fda2..56b58c5d 100644 --- a/src/Model/BigDecimalJsonld.php +++ b/src/Model/BigDecimalJsonld.php @@ -5,77 +5,77 @@ class BigDecimalJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** * The scale (number of digits after the decimal point) of this decimal number. * - * @var int + * @var int|null */ protected $scale; /** - * @var int + * @var int|null */ protected $sign; /** - * @var BigIntegerJsonld + * @var BigIntegerJsonld|null */ protected $unscaledValue; /** * Returns a string representing the integral part of this decimal number. * - * @var string + * @var string|null */ protected $integralPart; /** * Returns a string representing the fractional part of this decimal number. * - * @var string + * @var string|null */ protected $fractionalPart; /** * Returns whether this decimal number has a non-zero fractional part. * - * @var bool + * @var bool|null */ protected $nonZeroFractionalPart; /** * Checks if this number equals zero. * - * @var bool + * @var bool|null */ protected $zero; /** * Checks if this number is strictly negative. * - * @var bool + * @var bool|null */ protected $negative; /** * Checks if this number is negative or zero. * - * @var bool + * @var bool|null */ protected $negativeOrZero; /** * Checks if this number is strictly positive. * - * @var bool + * @var bool|null */ protected $positive; /** * Checks if this number is positive or zero. * - * @var bool + * @var bool|null */ protected $positiveOrZero; @@ -97,24 +97,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -124,7 +124,7 @@ public function setType(string $type): self /** * The scale (number of digits after the decimal point) of this decimal number. */ - public function getScale(): int + public function getScale(): ?int { return $this->scale; } @@ -132,31 +132,31 @@ public function getScale(): int /** * The scale (number of digits after the decimal point) of this decimal number. */ - public function setScale(int $scale): self + public function setScale(?int $scale): self { $this->scale = $scale; return $this; } - public function getSign(): int + public function getSign(): ?int { return $this->sign; } - public function setSign(int $sign): self + public function setSign(?int $sign): self { $this->sign = $sign; return $this; } - public function getUnscaledValue(): BigIntegerJsonld + public function getUnscaledValue(): ?BigIntegerJsonld { return $this->unscaledValue; } - public function setUnscaledValue(BigIntegerJsonld $unscaledValue): self + public function setUnscaledValue(?BigIntegerJsonld $unscaledValue): self { $this->unscaledValue = $unscaledValue; @@ -166,7 +166,7 @@ public function setUnscaledValue(BigIntegerJsonld $unscaledValue): self /** * Returns a string representing the integral part of this decimal number. */ - public function getIntegralPart(): string + public function getIntegralPart(): ?string { return $this->integralPart; } @@ -174,7 +174,7 @@ public function getIntegralPart(): string /** * Returns a string representing the integral part of this decimal number. */ - public function setIntegralPart(string $integralPart): self + public function setIntegralPart(?string $integralPart): self { $this->integralPart = $integralPart; @@ -184,7 +184,7 @@ public function setIntegralPart(string $integralPart): self /** * Returns a string representing the fractional part of this decimal number. */ - public function getFractionalPart(): string + public function getFractionalPart(): ?string { return $this->fractionalPart; } @@ -192,7 +192,7 @@ public function getFractionalPart(): string /** * Returns a string representing the fractional part of this decimal number. */ - public function setFractionalPart(string $fractionalPart): self + public function setFractionalPart(?string $fractionalPart): self { $this->fractionalPart = $fractionalPart; @@ -202,7 +202,7 @@ public function setFractionalPart(string $fractionalPart): self /** * Returns whether this decimal number has a non-zero fractional part. */ - public function getNonZeroFractionalPart(): bool + public function getNonZeroFractionalPart(): ?bool { return $this->nonZeroFractionalPart; } @@ -210,7 +210,7 @@ public function getNonZeroFractionalPart(): bool /** * Returns whether this decimal number has a non-zero fractional part. */ - public function setNonZeroFractionalPart(bool $nonZeroFractionalPart): self + public function setNonZeroFractionalPart(?bool $nonZeroFractionalPart): self { $this->nonZeroFractionalPart = $nonZeroFractionalPart; @@ -220,7 +220,7 @@ public function setNonZeroFractionalPart(bool $nonZeroFractionalPart): self /** * Checks if this number equals zero. */ - public function getZero(): bool + public function getZero(): ?bool { return $this->zero; } @@ -228,7 +228,7 @@ public function getZero(): bool /** * Checks if this number equals zero. */ - public function setZero(bool $zero): self + public function setZero(?bool $zero): self { $this->zero = $zero; @@ -238,7 +238,7 @@ public function setZero(bool $zero): self /** * Checks if this number is strictly negative. */ - public function getNegative(): bool + public function getNegative(): ?bool { return $this->negative; } @@ -246,7 +246,7 @@ public function getNegative(): bool /** * Checks if this number is strictly negative. */ - public function setNegative(bool $negative): self + public function setNegative(?bool $negative): self { $this->negative = $negative; @@ -256,7 +256,7 @@ public function setNegative(bool $negative): self /** * Checks if this number is negative or zero. */ - public function getNegativeOrZero(): bool + public function getNegativeOrZero(): ?bool { return $this->negativeOrZero; } @@ -264,7 +264,7 @@ public function getNegativeOrZero(): bool /** * Checks if this number is negative or zero. */ - public function setNegativeOrZero(bool $negativeOrZero): self + public function setNegativeOrZero(?bool $negativeOrZero): self { $this->negativeOrZero = $negativeOrZero; @@ -274,7 +274,7 @@ public function setNegativeOrZero(bool $negativeOrZero): self /** * Checks if this number is strictly positive. */ - public function getPositive(): bool + public function getPositive(): ?bool { return $this->positive; } @@ -282,7 +282,7 @@ public function getPositive(): bool /** * Checks if this number is strictly positive. */ - public function setPositive(bool $positive): self + public function setPositive(?bool $positive): self { $this->positive = $positive; @@ -292,7 +292,7 @@ public function setPositive(bool $positive): self /** * Checks if this number is positive or zero. */ - public function getPositiveOrZero(): bool + public function getPositiveOrZero(): ?bool { return $this->positiveOrZero; } @@ -300,7 +300,7 @@ public function getPositiveOrZero(): bool /** * Checks if this number is positive or zero. */ - public function setPositiveOrZero(bool $positiveOrZero): self + public function setPositiveOrZero(?bool $positiveOrZero): self { $this->positiveOrZero = $positiveOrZero; diff --git a/src/Model/BigInteger.php b/src/Model/BigInteger.php index a17c4aa0..766812ec 100644 --- a/src/Model/BigInteger.php +++ b/src/Model/BigInteger.php @@ -7,66 +7,66 @@ class BigInteger /** * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. * - * @var int + * @var int|null */ protected $bitLength; /** * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. * - * @var int + * @var int|null */ protected $lowestSetBit; /** * Returns whether this number is even. * - * @var bool + * @var bool|null */ protected $even; /** * Returns whether this number is odd. * - * @var bool + * @var bool|null */ protected $odd; /** - * @var int + * @var int|null */ protected $sign; /** * Checks if this number equals zero. * - * @var bool + * @var bool|null */ protected $zero; /** * Checks if this number is strictly negative. * - * @var bool + * @var bool|null */ protected $negative; /** * Checks if this number is negative or zero. * - * @var bool + * @var bool|null */ protected $negativeOrZero; /** * Checks if this number is strictly positive. * - * @var bool + * @var bool|null */ protected $positive; /** * Checks if this number is positive or zero. * - * @var bool + * @var bool|null */ protected $positiveOrZero; /** * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. */ - public function getBitLength(): int + public function getBitLength(): ?int { return $this->bitLength; } @@ -74,7 +74,7 @@ public function getBitLength(): int /** * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. */ - public function setBitLength(int $bitLength): self + public function setBitLength(?int $bitLength): self { $this->bitLength = $bitLength; @@ -84,7 +84,7 @@ public function setBitLength(int $bitLength): self /** * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. */ - public function getLowestSetBit(): int + public function getLowestSetBit(): ?int { return $this->lowestSetBit; } @@ -92,7 +92,7 @@ public function getLowestSetBit(): int /** * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. */ - public function setLowestSetBit(int $lowestSetBit): self + public function setLowestSetBit(?int $lowestSetBit): self { $this->lowestSetBit = $lowestSetBit; @@ -102,7 +102,7 @@ public function setLowestSetBit(int $lowestSetBit): self /** * Returns whether this number is even. */ - public function getEven(): bool + public function getEven(): ?bool { return $this->even; } @@ -110,7 +110,7 @@ public function getEven(): bool /** * Returns whether this number is even. */ - public function setEven(bool $even): self + public function setEven(?bool $even): self { $this->even = $even; @@ -120,7 +120,7 @@ public function setEven(bool $even): self /** * Returns whether this number is odd. */ - public function getOdd(): bool + public function getOdd(): ?bool { return $this->odd; } @@ -128,19 +128,19 @@ public function getOdd(): bool /** * Returns whether this number is odd. */ - public function setOdd(bool $odd): self + public function setOdd(?bool $odd): self { $this->odd = $odd; return $this; } - public function getSign(): int + public function getSign(): ?int { return $this->sign; } - public function setSign(int $sign): self + public function setSign(?int $sign): self { $this->sign = $sign; @@ -150,7 +150,7 @@ public function setSign(int $sign): self /** * Checks if this number equals zero. */ - public function getZero(): bool + public function getZero(): ?bool { return $this->zero; } @@ -158,7 +158,7 @@ public function getZero(): bool /** * Checks if this number equals zero. */ - public function setZero(bool $zero): self + public function setZero(?bool $zero): self { $this->zero = $zero; @@ -168,7 +168,7 @@ public function setZero(bool $zero): self /** * Checks if this number is strictly negative. */ - public function getNegative(): bool + public function getNegative(): ?bool { return $this->negative; } @@ -176,7 +176,7 @@ public function getNegative(): bool /** * Checks if this number is strictly negative. */ - public function setNegative(bool $negative): self + public function setNegative(?bool $negative): self { $this->negative = $negative; @@ -186,7 +186,7 @@ public function setNegative(bool $negative): self /** * Checks if this number is negative or zero. */ - public function getNegativeOrZero(): bool + public function getNegativeOrZero(): ?bool { return $this->negativeOrZero; } @@ -194,7 +194,7 @@ public function getNegativeOrZero(): bool /** * Checks if this number is negative or zero. */ - public function setNegativeOrZero(bool $negativeOrZero): self + public function setNegativeOrZero(?bool $negativeOrZero): self { $this->negativeOrZero = $negativeOrZero; @@ -204,7 +204,7 @@ public function setNegativeOrZero(bool $negativeOrZero): self /** * Checks if this number is strictly positive. */ - public function getPositive(): bool + public function getPositive(): ?bool { return $this->positive; } @@ -212,7 +212,7 @@ public function getPositive(): bool /** * Checks if this number is strictly positive. */ - public function setPositive(bool $positive): self + public function setPositive(?bool $positive): self { $this->positive = $positive; @@ -222,7 +222,7 @@ public function setPositive(bool $positive): self /** * Checks if this number is positive or zero. */ - public function getPositiveOrZero(): bool + public function getPositiveOrZero(): ?bool { return $this->positiveOrZero; } @@ -230,7 +230,7 @@ public function getPositiveOrZero(): bool /** * Checks if this number is positive or zero. */ - public function setPositiveOrZero(bool $positiveOrZero): self + public function setPositiveOrZero(?bool $positiveOrZero): self { $this->positiveOrZero = $positiveOrZero; diff --git a/src/Model/BigIntegerJsonld.php b/src/Model/BigIntegerJsonld.php index 76786248..ee5acec6 100644 --- a/src/Model/BigIntegerJsonld.php +++ b/src/Model/BigIntegerJsonld.php @@ -5,73 +5,73 @@ class BigIntegerJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. * - * @var int + * @var int|null */ protected $bitLength; /** * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. * - * @var int + * @var int|null */ protected $lowestSetBit; /** * Returns whether this number is even. * - * @var bool + * @var bool|null */ protected $even; /** * Returns whether this number is odd. * - * @var bool + * @var bool|null */ protected $odd; /** - * @var int + * @var int|null */ protected $sign; /** * Checks if this number equals zero. * - * @var bool + * @var bool|null */ protected $zero; /** * Checks if this number is strictly negative. * - * @var bool + * @var bool|null */ protected $negative; /** * Checks if this number is negative or zero. * - * @var bool + * @var bool|null */ protected $negativeOrZero; /** * Checks if this number is strictly positive. * - * @var bool + * @var bool|null */ protected $positive; /** * Checks if this number is positive or zero. * - * @var bool + * @var bool|null */ protected $positiveOrZero; @@ -93,24 +93,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -120,7 +120,7 @@ public function setType(string $type): self /** * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. */ - public function getBitLength(): int + public function getBitLength(): ?int { return $this->bitLength; } @@ -128,7 +128,7 @@ public function getBitLength(): int /** * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit. */ - public function setBitLength(int $bitLength): self + public function setBitLength(?int $bitLength): self { $this->bitLength = $bitLength; @@ -138,7 +138,7 @@ public function setBitLength(int $bitLength): self /** * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. */ - public function getLowestSetBit(): int + public function getLowestSetBit(): ?int { return $this->lowestSetBit; } @@ -146,7 +146,7 @@ public function getLowestSetBit(): int /** * Returns the index of the rightmost (lowest-order) one bit in this BigInteger. */ - public function setLowestSetBit(int $lowestSetBit): self + public function setLowestSetBit(?int $lowestSetBit): self { $this->lowestSetBit = $lowestSetBit; @@ -156,7 +156,7 @@ public function setLowestSetBit(int $lowestSetBit): self /** * Returns whether this number is even. */ - public function getEven(): bool + public function getEven(): ?bool { return $this->even; } @@ -164,7 +164,7 @@ public function getEven(): bool /** * Returns whether this number is even. */ - public function setEven(bool $even): self + public function setEven(?bool $even): self { $this->even = $even; @@ -174,7 +174,7 @@ public function setEven(bool $even): self /** * Returns whether this number is odd. */ - public function getOdd(): bool + public function getOdd(): ?bool { return $this->odd; } @@ -182,19 +182,19 @@ public function getOdd(): bool /** * Returns whether this number is odd. */ - public function setOdd(bool $odd): self + public function setOdd(?bool $odd): self { $this->odd = $odd; return $this; } - public function getSign(): int + public function getSign(): ?int { return $this->sign; } - public function setSign(int $sign): self + public function setSign(?int $sign): self { $this->sign = $sign; @@ -204,7 +204,7 @@ public function setSign(int $sign): self /** * Checks if this number equals zero. */ - public function getZero(): bool + public function getZero(): ?bool { return $this->zero; } @@ -212,7 +212,7 @@ public function getZero(): bool /** * Checks if this number equals zero. */ - public function setZero(bool $zero): self + public function setZero(?bool $zero): self { $this->zero = $zero; @@ -222,7 +222,7 @@ public function setZero(bool $zero): self /** * Checks if this number is strictly negative. */ - public function getNegative(): bool + public function getNegative(): ?bool { return $this->negative; } @@ -230,7 +230,7 @@ public function getNegative(): bool /** * Checks if this number is strictly negative. */ - public function setNegative(bool $negative): self + public function setNegative(?bool $negative): self { $this->negative = $negative; @@ -240,7 +240,7 @@ public function setNegative(bool $negative): self /** * Checks if this number is negative or zero. */ - public function getNegativeOrZero(): bool + public function getNegativeOrZero(): ?bool { return $this->negativeOrZero; } @@ -248,7 +248,7 @@ public function getNegativeOrZero(): bool /** * Checks if this number is negative or zero. */ - public function setNegativeOrZero(bool $negativeOrZero): self + public function setNegativeOrZero(?bool $negativeOrZero): self { $this->negativeOrZero = $negativeOrZero; @@ -258,7 +258,7 @@ public function setNegativeOrZero(bool $negativeOrZero): self /** * Checks if this number is strictly positive. */ - public function getPositive(): bool + public function getPositive(): ?bool { return $this->positive; } @@ -266,7 +266,7 @@ public function getPositive(): bool /** * Checks if this number is strictly positive. */ - public function setPositive(bool $positive): self + public function setPositive(?bool $positive): self { $this->positive = $positive; @@ -276,7 +276,7 @@ public function setPositive(bool $positive): self /** * Checks if this number is positive or zero. */ - public function getPositiveOrZero(): bool + public function getPositiveOrZero(): ?bool { return $this->positiveOrZero; } @@ -284,7 +284,7 @@ public function getPositiveOrZero(): bool /** * Checks if this number is positive or zero. */ - public function setPositiveOrZero(bool $positiveOrZero): self + public function setPositiveOrZero(?bool $positiveOrZero): self { $this->positiveOrZero = $positiveOrZero; diff --git a/src/Model/BigNumber.php b/src/Model/BigNumber.php index a4b7a32e..7eafb116 100644 --- a/src/Model/BigNumber.php +++ b/src/Model/BigNumber.php @@ -7,44 +7,44 @@ class BigNumber /** * Checks if this number equals zero. * - * @var bool + * @var bool|null */ protected $zero; /** * Checks if this number is strictly negative. * - * @var bool + * @var bool|null */ protected $negative; /** * Checks if this number is negative or zero. * - * @var bool + * @var bool|null */ protected $negativeOrZero; /** * Checks if this number is strictly positive. * - * @var bool + * @var bool|null */ protected $positive; /** * Checks if this number is positive or zero. * - * @var bool + * @var bool|null */ protected $positiveOrZero; /** * Returns the sign of this number. * - * @var int + * @var int|null */ protected $sign; /** * Checks if this number equals zero. */ - public function getZero(): bool + public function getZero(): ?bool { return $this->zero; } @@ -52,7 +52,7 @@ public function getZero(): bool /** * Checks if this number equals zero. */ - public function setZero(bool $zero): self + public function setZero(?bool $zero): self { $this->zero = $zero; @@ -62,7 +62,7 @@ public function setZero(bool $zero): self /** * Checks if this number is strictly negative. */ - public function getNegative(): bool + public function getNegative(): ?bool { return $this->negative; } @@ -70,7 +70,7 @@ public function getNegative(): bool /** * Checks if this number is strictly negative. */ - public function setNegative(bool $negative): self + public function setNegative(?bool $negative): self { $this->negative = $negative; @@ -80,7 +80,7 @@ public function setNegative(bool $negative): self /** * Checks if this number is negative or zero. */ - public function getNegativeOrZero(): bool + public function getNegativeOrZero(): ?bool { return $this->negativeOrZero; } @@ -88,7 +88,7 @@ public function getNegativeOrZero(): bool /** * Checks if this number is negative or zero. */ - public function setNegativeOrZero(bool $negativeOrZero): self + public function setNegativeOrZero(?bool $negativeOrZero): self { $this->negativeOrZero = $negativeOrZero; @@ -98,7 +98,7 @@ public function setNegativeOrZero(bool $negativeOrZero): self /** * Checks if this number is strictly positive. */ - public function getPositive(): bool + public function getPositive(): ?bool { return $this->positive; } @@ -106,7 +106,7 @@ public function getPositive(): bool /** * Checks if this number is strictly positive. */ - public function setPositive(bool $positive): self + public function setPositive(?bool $positive): self { $this->positive = $positive; @@ -116,7 +116,7 @@ public function setPositive(bool $positive): self /** * Checks if this number is positive or zero. */ - public function getPositiveOrZero(): bool + public function getPositiveOrZero(): ?bool { return $this->positiveOrZero; } @@ -124,7 +124,7 @@ public function getPositiveOrZero(): bool /** * Checks if this number is positive or zero. */ - public function setPositiveOrZero(bool $positiveOrZero): self + public function setPositiveOrZero(?bool $positiveOrZero): self { $this->positiveOrZero = $positiveOrZero; @@ -134,7 +134,7 @@ public function setPositiveOrZero(bool $positiveOrZero): self /** * Returns the sign of this number. */ - public function getSign(): int + public function getSign(): ?int { return $this->sign; } @@ -142,7 +142,7 @@ public function getSign(): int /** * Returns the sign of this number. */ - public function setSign(int $sign): self + public function setSign(?int $sign): self { $this->sign = $sign; diff --git a/src/Model/BigNumberJsonld.php b/src/Model/BigNumberJsonld.php index dd79915a..87fe5961 100644 --- a/src/Model/BigNumberJsonld.php +++ b/src/Model/BigNumberJsonld.php @@ -5,51 +5,51 @@ class BigNumberJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** * Checks if this number equals zero. * - * @var bool + * @var bool|null */ protected $zero; /** * Checks if this number is strictly negative. * - * @var bool + * @var bool|null */ protected $negative; /** * Checks if this number is negative or zero. * - * @var bool + * @var bool|null */ protected $negativeOrZero; /** * Checks if this number is strictly positive. * - * @var bool + * @var bool|null */ protected $positive; /** * Checks if this number is positive or zero. * - * @var bool + * @var bool|null */ protected $positiveOrZero; /** * Returns the sign of this number. * - * @var int + * @var int|null */ protected $sign; @@ -71,24 +71,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -98,7 +98,7 @@ public function setType(string $type): self /** * Checks if this number equals zero. */ - public function getZero(): bool + public function getZero(): ?bool { return $this->zero; } @@ -106,7 +106,7 @@ public function getZero(): bool /** * Checks if this number equals zero. */ - public function setZero(bool $zero): self + public function setZero(?bool $zero): self { $this->zero = $zero; @@ -116,7 +116,7 @@ public function setZero(bool $zero): self /** * Checks if this number is strictly negative. */ - public function getNegative(): bool + public function getNegative(): ?bool { return $this->negative; } @@ -124,7 +124,7 @@ public function getNegative(): bool /** * Checks if this number is strictly negative. */ - public function setNegative(bool $negative): self + public function setNegative(?bool $negative): self { $this->negative = $negative; @@ -134,7 +134,7 @@ public function setNegative(bool $negative): self /** * Checks if this number is negative or zero. */ - public function getNegativeOrZero(): bool + public function getNegativeOrZero(): ?bool { return $this->negativeOrZero; } @@ -142,7 +142,7 @@ public function getNegativeOrZero(): bool /** * Checks if this number is negative or zero. */ - public function setNegativeOrZero(bool $negativeOrZero): self + public function setNegativeOrZero(?bool $negativeOrZero): self { $this->negativeOrZero = $negativeOrZero; @@ -152,7 +152,7 @@ public function setNegativeOrZero(bool $negativeOrZero): self /** * Checks if this number is strictly positive. */ - public function getPositive(): bool + public function getPositive(): ?bool { return $this->positive; } @@ -160,7 +160,7 @@ public function getPositive(): bool /** * Checks if this number is strictly positive. */ - public function setPositive(bool $positive): self + public function setPositive(?bool $positive): self { $this->positive = $positive; @@ -170,7 +170,7 @@ public function setPositive(bool $positive): self /** * Checks if this number is positive or zero. */ - public function getPositiveOrZero(): bool + public function getPositiveOrZero(): ?bool { return $this->positiveOrZero; } @@ -178,7 +178,7 @@ public function getPositiveOrZero(): bool /** * Checks if this number is positive or zero. */ - public function setPositiveOrZero(bool $positiveOrZero): self + public function setPositiveOrZero(?bool $positiveOrZero): self { $this->positiveOrZero = $positiveOrZero; @@ -188,7 +188,7 @@ public function setPositiveOrZero(bool $positiveOrZero): self /** * Returns the sign of this number. */ - public function getSign(): int + public function getSign(): ?int { return $this->sign; } @@ -196,7 +196,7 @@ public function getSign(): int /** * Returns the sign of this number. */ - public function setSign(int $sign): self + public function setSign(?int $sign): self { $this->sign = $sign; diff --git a/src/Model/ConfigMap.php b/src/Model/ConfigMap.php index 0152a64f..72fd3b68 100644 --- a/src/Model/ConfigMap.php +++ b/src/Model/ConfigMap.php @@ -5,84 +5,84 @@ class ConfigMap { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string + * @var string|null */ protected $organization; /** - * @var string + * @var string|null */ protected $workspace; /** - * @var mixed + * @var mixed|null */ protected $iterator; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; return $this; } - public function getWorkspace(): string + public function getWorkspace(): ?string { return $this->workspace; } - public function setWorkspace(string $workspace): self + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; diff --git a/src/Model/ConfigMapConfigMapInput.php b/src/Model/ConfigMapConfigMapInput.php index b581a2e8..a24c4fe7 100644 --- a/src/Model/ConfigMapConfigMapInput.php +++ b/src/Model/ConfigMapConfigMapInput.php @@ -5,48 +5,48 @@ class ConfigMapConfigMapInput { /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var ConfigMapValueInput + * @var ConfigMapValueInput|null */ protected $configs; - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getConfigs(): ConfigMapValueInput + public function getConfigs(): ?ConfigMapValueInput { return $this->configs; } - public function setConfigs(ConfigMapValueInput $configs): self + public function setConfigs(?ConfigMapValueInput $configs): self { $this->configs = $configs; diff --git a/src/Model/ConfigMapConfigMapInputJsonld.php b/src/Model/ConfigMapConfigMapInputJsonld.php index 9a480f68..79c45cfa 100644 --- a/src/Model/ConfigMapConfigMapInputJsonld.php +++ b/src/Model/ConfigMapConfigMapInputJsonld.php @@ -5,27 +5,27 @@ class ConfigMapConfigMapInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var ConfigMapValueInputJsonld + * @var ConfigMapValueInputJsonld|null */ protected $configs; @@ -47,60 +47,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getConfigs(): ConfigMapValueInputJsonld + public function getConfigs(): ?ConfigMapValueInputJsonld { return $this->configs; } - public function setConfigs(ConfigMapValueInputJsonld $configs): self + public function setConfigs(?ConfigMapValueInputJsonld $configs): self { $this->configs = $configs; diff --git a/src/Model/ConfigMapJsonld.php b/src/Model/ConfigMapJsonld.php index 4588b5e7..215781ae 100644 --- a/src/Model/ConfigMapJsonld.php +++ b/src/Model/ConfigMapJsonld.php @@ -5,60 +5,60 @@ class ConfigMapJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string + * @var string|null */ protected $organization; /** - * @var string + * @var string|null */ protected $workspace; /** - * @var TraversableJsonld + * @var TraversableJsonld|null */ protected $iterator; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -83,72 +83,72 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; return $this; } - public function getWorkspace(): string + public function getWorkspace(): ?string { return $this->workspace; } - public function setWorkspace(string $workspace): self + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; return $this; } - public function getIterator(): TraversableJsonld + public function getIterator(): ?TraversableJsonld { return $this->iterator; } - public function setIterator(TraversableJsonld $iterator): self + public function setIterator(?TraversableJsonld $iterator): self { $this->iterator = $iterator; diff --git a/src/Model/ConfigMapValueInput.php b/src/Model/ConfigMapValueInput.php index 31953ca0..f86476b1 100644 --- a/src/Model/ConfigMapValueInput.php +++ b/src/Model/ConfigMapValueInput.php @@ -5,19 +5,19 @@ class ConfigMapValueInput { /** - * @var mixed + * @var mixed|null */ protected $arrayCopy; /** - * @var int + * @var int|null */ protected $flags; /** - * @var mixed + * @var mixed|null */ protected $iterator; /** - * @var string + * @var string|null */ protected $iteratorClass; @@ -39,12 +39,12 @@ public function setArrayCopy($arrayCopy): self return $this; } - public function getFlags(): int + public function getFlags(): ?int { return $this->flags; } - public function setFlags(int $flags): self + public function setFlags(?int $flags): self { $this->flags = $flags; @@ -69,12 +69,12 @@ public function setIterator($iterator): self return $this; } - public function getIteratorClass(): string + public function getIteratorClass(): ?string { return $this->iteratorClass; } - public function setIteratorClass(string $iteratorClass): self + public function setIteratorClass(?string $iteratorClass): self { $this->iteratorClass = $iteratorClass; diff --git a/src/Model/ConfigMapValueInputJsonld.php b/src/Model/ConfigMapValueInputJsonld.php index 2106d437..23f190ea 100644 --- a/src/Model/ConfigMapValueInputJsonld.php +++ b/src/Model/ConfigMapValueInputJsonld.php @@ -5,31 +5,31 @@ class ConfigMapValueInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $arrayCopy; /** - * @var int + * @var int|null */ protected $flags; /** - * @var mixed + * @var mixed|null */ protected $iterator; /** - * @var string + * @var string|null */ protected $iteratorClass; @@ -51,24 +51,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -93,12 +93,12 @@ public function setArrayCopy($arrayCopy): self return $this; } - public function getFlags(): int + public function getFlags(): ?int { return $this->flags; } - public function setFlags(int $flags): self + public function setFlags(?int $flags): self { $this->flags = $flags; @@ -123,12 +123,12 @@ public function setIterator($iterator): self return $this; } - public function getIteratorClass(): string + public function getIteratorClass(): ?string { return $this->iteratorClass; } - public function setIteratorClass(string $iteratorClass): self + public function setIteratorClass(?string $iteratorClass): self { $this->iteratorClass = $iteratorClass; diff --git a/src/Model/Context.php b/src/Model/Context.php index 9393ad0c..e9744c85 100644 --- a/src/Model/Context.php +++ b/src/Model/Context.php @@ -7,20 +7,20 @@ class Context /** * Returns the step used by this context. * - * @var int + * @var int|null */ protected $step; /** * Returns whether this context uses a fixed scale and step. * - * @var bool + * @var bool|null */ protected $fixedScale; /** * Returns the step used by this context. */ - public function getStep(): int + public function getStep(): ?int { return $this->step; } @@ -28,7 +28,7 @@ public function getStep(): int /** * Returns the step used by this context. */ - public function setStep(int $step): self + public function setStep(?int $step): self { $this->step = $step; @@ -38,7 +38,7 @@ public function setStep(int $step): self /** * Returns whether this context uses a fixed scale and step. */ - public function getFixedScale(): bool + public function getFixedScale(): ?bool { return $this->fixedScale; } @@ -46,7 +46,7 @@ public function getFixedScale(): bool /** * Returns whether this context uses a fixed scale and step. */ - public function setFixedScale(bool $fixedScale): self + public function setFixedScale(?bool $fixedScale): self { $this->fixedScale = $fixedScale; diff --git a/src/Model/ContextJsonld.php b/src/Model/ContextJsonld.php index 1ff05d5a..76e59122 100644 --- a/src/Model/ContextJsonld.php +++ b/src/Model/ContextJsonld.php @@ -5,27 +5,27 @@ class ContextJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** * Returns the step used by this context. * - * @var int + * @var int|null */ protected $step; /** * Returns whether this context uses a fixed scale and step. * - * @var bool + * @var bool|null */ protected $fixedScale; @@ -47,24 +47,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -74,7 +74,7 @@ public function setType(string $type): self /** * Returns the step used by this context. */ - public function getStep(): int + public function getStep(): ?int { return $this->step; } @@ -82,7 +82,7 @@ public function getStep(): int /** * Returns the step used by this context. */ - public function setStep(int $step): self + public function setStep(?int $step): self { $this->step = $step; @@ -92,7 +92,7 @@ public function setStep(int $step): self /** * Returns whether this context uses a fixed scale and step. */ - public function getFixedScale(): bool + public function getFixedScale(): ?bool { return $this->fixedScale; } @@ -100,7 +100,7 @@ public function getFixedScale(): bool /** * Returns whether this context uses a fixed scale and step. */ - public function setFixedScale(bool $fixedScale): self + public function setFixedScale(?bool $fixedScale): self { $this->fixedScale = $fixedScale; diff --git a/src/Model/Credentials.php b/src/Model/Credentials.php index 3b5a2918..bd4a7731 100644 --- a/src/Model/Credentials.php +++ b/src/Model/Credentials.php @@ -5,48 +5,48 @@ class Credentials { /** - * @var string + * @var string|null */ protected $username; /** - * @var string + * @var string|null */ protected $password; /** - * @var string + * @var string|null */ protected $workspace; - public function getUsername(): string + public function getUsername(): ?string { return $this->username; } - public function setUsername(string $username): self + public function setUsername(?string $username): self { $this->username = $username; return $this; } - public function getPassword(): string + public function getPassword(): ?string { return $this->password; } - public function setPassword(string $password): self + public function setPassword(?string $password): self { $this->password = $password; return $this; } - public function getWorkspace(): string + public function getWorkspace(): ?string { return $this->workspace; } - public function setWorkspace(string $workspace): self + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; diff --git a/src/Model/Currency.php b/src/Model/Currency.php index d70909bc..fffa801c 100644 --- a/src/Model/Currency.php +++ b/src/Model/Currency.php @@ -7,32 +7,32 @@ class Currency /** * The currency code. * - * @var string + * @var string|null */ protected $currencyCode; /** * The numeric currency code. * - * @var int + * @var int|null */ protected $numericCode; /** * The name of the currency. * - * @var string + * @var string|null */ protected $name; /** * The default number of fraction digits (typical scale) used with this currency. * - * @var int + * @var int|null */ protected $defaultFractionDigits; /** * The currency code. */ - public function getCurrencyCode(): string + public function getCurrencyCode(): ?string { return $this->currencyCode; } @@ -40,7 +40,7 @@ public function getCurrencyCode(): string /** * The currency code. */ - public function setCurrencyCode(string $currencyCode): self + public function setCurrencyCode(?string $currencyCode): self { $this->currencyCode = $currencyCode; @@ -50,7 +50,7 @@ public function setCurrencyCode(string $currencyCode): self /** * The numeric currency code. */ - public function getNumericCode(): int + public function getNumericCode(): ?int { return $this->numericCode; } @@ -58,7 +58,7 @@ public function getNumericCode(): int /** * The numeric currency code. */ - public function setNumericCode(int $numericCode): self + public function setNumericCode(?int $numericCode): self { $this->numericCode = $numericCode; @@ -68,7 +68,7 @@ public function setNumericCode(int $numericCode): self /** * The name of the currency. */ - public function getName(): string + public function getName(): ?string { return $this->name; } @@ -76,7 +76,7 @@ public function getName(): string /** * The name of the currency. */ - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; @@ -86,7 +86,7 @@ public function setName(string $name): self /** * The default number of fraction digits (typical scale) used with this currency. */ - public function getDefaultFractionDigits(): int + public function getDefaultFractionDigits(): ?int { return $this->defaultFractionDigits; } @@ -94,7 +94,7 @@ public function getDefaultFractionDigits(): int /** * The default number of fraction digits (typical scale) used with this currency. */ - public function setDefaultFractionDigits(int $defaultFractionDigits): self + public function setDefaultFractionDigits(?int $defaultFractionDigits): self { $this->defaultFractionDigits = $defaultFractionDigits; diff --git a/src/Model/CurrencyJsonld.php b/src/Model/CurrencyJsonld.php index 5c104ef1..abdba8d2 100644 --- a/src/Model/CurrencyJsonld.php +++ b/src/Model/CurrencyJsonld.php @@ -5,39 +5,39 @@ class CurrencyJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** * The currency code. * - * @var string + * @var string|null */ protected $currencyCode; /** * The numeric currency code. * - * @var int + * @var int|null */ protected $numericCode; /** * The name of the currency. * - * @var string + * @var string|null */ protected $name; /** * The default number of fraction digits (typical scale) used with this currency. * - * @var int + * @var int|null */ protected $defaultFractionDigits; @@ -59,24 +59,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -86,7 +86,7 @@ public function setType(string $type): self /** * The currency code. */ - public function getCurrencyCode(): string + public function getCurrencyCode(): ?string { return $this->currencyCode; } @@ -94,7 +94,7 @@ public function getCurrencyCode(): string /** * The currency code. */ - public function setCurrencyCode(string $currencyCode): self + public function setCurrencyCode(?string $currencyCode): self { $this->currencyCode = $currencyCode; @@ -104,7 +104,7 @@ public function setCurrencyCode(string $currencyCode): self /** * The numeric currency code. */ - public function getNumericCode(): int + public function getNumericCode(): ?int { return $this->numericCode; } @@ -112,7 +112,7 @@ public function getNumericCode(): int /** * The numeric currency code. */ - public function setNumericCode(int $numericCode): self + public function setNumericCode(?int $numericCode): self { $this->numericCode = $numericCode; @@ -122,7 +122,7 @@ public function setNumericCode(int $numericCode): self /** * The name of the currency. */ - public function getName(): string + public function getName(): ?string { return $this->name; } @@ -130,7 +130,7 @@ public function getName(): string /** * The name of the currency. */ - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; @@ -140,7 +140,7 @@ public function setName(string $name): self /** * The default number of fraction digits (typical scale) used with this currency. */ - public function getDefaultFractionDigits(): int + public function getDefaultFractionDigits(): ?int { return $this->defaultFractionDigits; } @@ -148,7 +148,7 @@ public function getDefaultFractionDigits(): int /** * The default number of fraction digits (typical scale) used with this currency. */ - public function setDefaultFractionDigits(int $defaultFractionDigits): self + public function setDefaultFractionDigits(?int $defaultFractionDigits): self { $this->defaultFractionDigits = $defaultFractionDigits; diff --git a/src/Model/Environment.php b/src/Model/Environment.php index 7e038577..d13bdf11 100644 --- a/src/Model/Environment.php +++ b/src/Model/Environment.php @@ -5,84 +5,84 @@ class Environment { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string + * @var string|null */ protected $organization; /** - * @var string + * @var string|null */ protected $workspace; /** - * @var Variable[] + * @var Variable[]|null */ protected $variables; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; return $this; } - public function getWorkspace(): string + public function getWorkspace(): ?string { return $this->workspace; } - public function setWorkspace(string $workspace): self + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; @@ -90,17 +90,17 @@ public function setWorkspace(string $workspace): self } /** - * @return Variable[] + * @return Variable[]|null */ - public function getVariables(): array + public function getVariables(): ?array { return $this->variables; } /** - * @param Variable[] $variables + * @param Variable[]|null $variables */ - public function setVariables(array $variables): self + public function setVariables(?array $variables): self { $this->variables = $variables; diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200.php index 22d9dffa..43cef2b6 100644 --- a/src/Model/EnvironmentConfigMapIdPutPutResponse200.php +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200.php @@ -5,70 +5,70 @@ class EnvironmentConfigMapIdPutPutResponse200 { /** - * @var ConfigMapJsonld[] + * @var ConfigMapJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var EnvironmentConfigMapIdPutPutResponse200HydraView + * @var EnvironmentConfigMapIdPutPutResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentConfigMapIdPutPutResponse200HydraSearch + * @var EnvironmentConfigMapIdPutPutResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ConfigMapJsonld[] + * @return ConfigMapJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ConfigMapJsonld[] $hydraMember + * @param ConfigMapJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): EnvironmentConfigMapIdPutPutResponse200HydraView + public function getHydraView(): ?EnvironmentConfigMapIdPutPutResponse200HydraView { return $this->hydraView; } - public function setHydraView(EnvironmentConfigMapIdPutPutResponse200HydraView $hydraView): self + public function setHydraView(?EnvironmentConfigMapIdPutPutResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): EnvironmentConfigMapIdPutPutResponse200HydraSearch + public function getHydraSearch(): ?EnvironmentConfigMapIdPutPutResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(EnvironmentConfigMapIdPutPutResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?EnvironmentConfigMapIdPutPutResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php index 8204cbed..1f92e2f0 100644 --- a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearch.php @@ -5,52 +5,52 @@ class EnvironmentConfigMapIdPutPutResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[] + * @var EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php index 9305e03a..37557218 100644 --- a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php index 33a47197..3ef62f03 100644 --- a/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php +++ b/src/Model/EnvironmentConfigMapIdPutPutResponse200HydraView.php @@ -5,96 +5,96 @@ class EnvironmentConfigMapIdPutPutResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/EnvironmentConfigMapsGetResponse200.php b/src/Model/EnvironmentConfigMapsGetResponse200.php index 1ce58348..5ce0f124 100644 --- a/src/Model/EnvironmentConfigMapsGetResponse200.php +++ b/src/Model/EnvironmentConfigMapsGetResponse200.php @@ -5,70 +5,70 @@ class EnvironmentConfigMapsGetResponse200 { /** - * @var ConfigMapJsonld[] + * @var ConfigMapJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var EnvironmentConfigMapsGetResponse200HydraView + * @var EnvironmentConfigMapsGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentConfigMapsGetResponse200HydraSearch + * @var EnvironmentConfigMapsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ConfigMapJsonld[] + * @return ConfigMapJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ConfigMapJsonld[] $hydraMember + * @param ConfigMapJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): EnvironmentConfigMapsGetResponse200HydraView + public function getHydraView(): ?EnvironmentConfigMapsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(EnvironmentConfigMapsGetResponse200HydraView $hydraView): self + public function setHydraView(?EnvironmentConfigMapsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): EnvironmentConfigMapsGetResponse200HydraSearch + public function getHydraSearch(): ?EnvironmentConfigMapsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(EnvironmentConfigMapsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?EnvironmentConfigMapsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php index d2cf59bb..1c5751d5 100644 --- a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class EnvironmentConfigMapsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[] + * @var EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php index 79f89780..0d79c2cb 100644 --- a/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php b/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php index 1bae4751..524b796b 100644 --- a/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php +++ b/src/Model/EnvironmentConfigMapsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class EnvironmentConfigMapsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200.php b/src/Model/EnvironmentEnvironmentsGetResponse200.php index fca8a3c6..75589581 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200.php @@ -5,70 +5,70 @@ class EnvironmentEnvironmentsGetResponse200 { /** - * @var EnvironmentJsonld[] + * @var EnvironmentJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var EnvironmentEnvironmentsGetResponse200HydraView + * @var EnvironmentEnvironmentsGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentEnvironmentsGetResponse200HydraSearch + * @var EnvironmentEnvironmentsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return EnvironmentJsonld[] + * @return EnvironmentJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param EnvironmentJsonld[] $hydraMember + * @param EnvironmentJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): EnvironmentEnvironmentsGetResponse200HydraView + public function getHydraView(): ?EnvironmentEnvironmentsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(EnvironmentEnvironmentsGetResponse200HydraView $hydraView): self + public function setHydraView(?EnvironmentEnvironmentsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): EnvironmentEnvironmentsGetResponse200HydraSearch + public function getHydraSearch(): ?EnvironmentEnvironmentsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(EnvironmentEnvironmentsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?EnvironmentEnvironmentsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php index e9d93190..9acfef7e 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class EnvironmentEnvironmentsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[] + * @var EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php index 85b082c6..86e08c55 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php b/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php index b9929da0..2a79c7fa 100644 --- a/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php +++ b/src/Model/EnvironmentEnvironmentsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class EnvironmentEnvironmentsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/EnvironmentJsonld.php b/src/Model/EnvironmentJsonld.php index 7d13e20e..645338ff 100644 --- a/src/Model/EnvironmentJsonld.php +++ b/src/Model/EnvironmentJsonld.php @@ -5,39 +5,39 @@ class EnvironmentJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string + * @var string|null */ protected $organization; /** - * @var string + * @var string|null */ protected $workspace; /** - * @var VariableJsonld[] + * @var VariableJsonld[]|null */ protected $variables; @@ -59,84 +59,84 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; return $this; } - public function getWorkspace(): string + public function getWorkspace(): ?string { return $this->workspace; } - public function setWorkspace(string $workspace): self + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; @@ -144,17 +144,17 @@ public function setWorkspace(string $workspace): self } /** - * @return VariableJsonld[] + * @return VariableJsonld[]|null */ - public function getVariables(): array + public function getVariables(): ?array { return $this->variables; } /** - * @param VariableJsonld[] $variables + * @param VariableJsonld[]|null $variables */ - public function setVariables(array $variables): self + public function setVariables(?array $variables): self { $this->variables = $variables; diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200.php b/src/Model/EnvironmentSecretIdPutPutResponse200.php index 97b2ddb8..8df5fc77 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200.php @@ -5,70 +5,70 @@ class EnvironmentSecretIdPutPutResponse200 { /** - * @var SecretJsonld[] + * @var SecretJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var EnvironmentSecretIdPutPutResponse200HydraView + * @var EnvironmentSecretIdPutPutResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentSecretIdPutPutResponse200HydraSearch + * @var EnvironmentSecretIdPutPutResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return SecretJsonld[] + * @return SecretJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param SecretJsonld[] $hydraMember + * @param SecretJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): EnvironmentSecretIdPutPutResponse200HydraView + public function getHydraView(): ?EnvironmentSecretIdPutPutResponse200HydraView { return $this->hydraView; } - public function setHydraView(EnvironmentSecretIdPutPutResponse200HydraView $hydraView): self + public function setHydraView(?EnvironmentSecretIdPutPutResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): EnvironmentSecretIdPutPutResponse200HydraSearch + public function getHydraSearch(): ?EnvironmentSecretIdPutPutResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(EnvironmentSecretIdPutPutResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?EnvironmentSecretIdPutPutResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php index 71cc7dcc..7a4c4a07 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearch.php @@ -5,52 +5,52 @@ class EnvironmentSecretIdPutPutResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[] + * @var EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php index 95857f73..56228682 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php b/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php index 28f17c3d..570c6f1b 100644 --- a/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php +++ b/src/Model/EnvironmentSecretIdPutPutResponse200HydraView.php @@ -5,96 +5,96 @@ class EnvironmentSecretIdPutPutResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/EnvironmentSecretsGetResponse200.php b/src/Model/EnvironmentSecretsGetResponse200.php index b1ac05f7..a1214f33 100644 --- a/src/Model/EnvironmentSecretsGetResponse200.php +++ b/src/Model/EnvironmentSecretsGetResponse200.php @@ -5,70 +5,70 @@ class EnvironmentSecretsGetResponse200 { /** - * @var SecretJsonld[] + * @var SecretJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var EnvironmentSecretsGetResponse200HydraView + * @var EnvironmentSecretsGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentSecretsGetResponse200HydraSearch + * @var EnvironmentSecretsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return SecretJsonld[] + * @return SecretJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param SecretJsonld[] $hydraMember + * @param SecretJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): EnvironmentSecretsGetResponse200HydraView + public function getHydraView(): ?EnvironmentSecretsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(EnvironmentSecretsGetResponse200HydraView $hydraView): self + public function setHydraView(?EnvironmentSecretsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): EnvironmentSecretsGetResponse200HydraSearch + public function getHydraSearch(): ?EnvironmentSecretsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(EnvironmentSecretsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?EnvironmentSecretsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php b/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php index 05b44aab..617b6107 100644 --- a/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentSecretsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class EnvironmentSecretsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[] + * @var EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php index 1527b1da..3b46d013 100644 --- a/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/EnvironmentSecretsGetResponse200HydraView.php b/src/Model/EnvironmentSecretsGetResponse200HydraView.php index c6c335a0..0d5dc23c 100644 --- a/src/Model/EnvironmentSecretsGetResponse200HydraView.php +++ b/src/Model/EnvironmentSecretsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class EnvironmentSecretsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php index 77e6e95a..0a673347 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200.php @@ -5,70 +5,70 @@ class EnvironmentVariableFromConfigMapsGetResponse200 { /** - * @var VariableFromConfigMapJsonld[] + * @var VariableFromConfigMapJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var EnvironmentVariableFromConfigMapsGetResponse200HydraView + * @var EnvironmentVariableFromConfigMapsGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentVariableFromConfigMapsGetResponse200HydraSearch + * @var EnvironmentVariableFromConfigMapsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return VariableFromConfigMapJsonld[] + * @return VariableFromConfigMapJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param VariableFromConfigMapJsonld[] $hydraMember + * @param VariableFromConfigMapJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): EnvironmentVariableFromConfigMapsGetResponse200HydraView + public function getHydraView(): ?EnvironmentVariableFromConfigMapsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(EnvironmentVariableFromConfigMapsGetResponse200HydraView $hydraView): self + public function setHydraView(?EnvironmentVariableFromConfigMapsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): EnvironmentVariableFromConfigMapsGetResponse200HydraSearch + public function getHydraSearch(): ?EnvironmentVariableFromConfigMapsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(EnvironmentVariableFromConfigMapsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?EnvironmentVariableFromConfigMapsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php index 1d232d13..1f6c282a 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class EnvironmentVariableFromConfigMapsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[] + * @var EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php index 0bba14de..24e7f11c 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php index afb995b5..896989d3 100644 --- a/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php +++ b/src/Model/EnvironmentVariableFromConfigMapsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class EnvironmentVariableFromConfigMapsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200.php index bf29c2a6..cda94c15 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200.php @@ -5,70 +5,70 @@ class EnvironmentVariableFromSecretsGetResponse200 { /** - * @var VariableFromSecretJsonld[] + * @var VariableFromSecretJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var EnvironmentVariableFromSecretsGetResponse200HydraView + * @var EnvironmentVariableFromSecretsGetResponse200HydraView|null */ protected $hydraView; /** - * @var EnvironmentVariableFromSecretsGetResponse200HydraSearch + * @var EnvironmentVariableFromSecretsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return VariableFromSecretJsonld[] + * @return VariableFromSecretJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param VariableFromSecretJsonld[] $hydraMember + * @param VariableFromSecretJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): EnvironmentVariableFromSecretsGetResponse200HydraView + public function getHydraView(): ?EnvironmentVariableFromSecretsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(EnvironmentVariableFromSecretsGetResponse200HydraView $hydraView): self + public function setHydraView(?EnvironmentVariableFromSecretsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): EnvironmentVariableFromSecretsGetResponse200HydraSearch + public function getHydraSearch(): ?EnvironmentVariableFromSecretsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(EnvironmentVariableFromSecretsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?EnvironmentVariableFromSecretsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php index 429cf8d4..96708c0a 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class EnvironmentVariableFromSecretsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[] + * @var EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[] + * @return EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php index 99b0155f..94a166ee 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php index 651cddcf..424631fe 100644 --- a/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php +++ b/src/Model/EnvironmentVariableFromSecretsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class EnvironmentVariableFromSecretsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/ExecutionAction.php b/src/Model/ExecutionAction.php index 8e780a3d..d83194c6 100644 --- a/src/Model/ExecutionAction.php +++ b/src/Model/ExecutionAction.php @@ -9,7 +9,7 @@ class ExecutionAction */ protected $execution; /** - * @var string + * @var string|null */ protected $id; @@ -25,12 +25,12 @@ public function setExecution(?string $execution): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; diff --git a/src/Model/ExecutionActionJsonld.php b/src/Model/ExecutionActionJsonld.php index bf52095e..4c004690 100644 --- a/src/Model/ExecutionActionJsonld.php +++ b/src/Model/ExecutionActionJsonld.php @@ -5,15 +5,15 @@ class ExecutionActionJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -21,7 +21,7 @@ class ExecutionActionJsonld */ protected $execution; /** - * @var string + * @var string|null */ protected $id2; @@ -43,24 +43,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -79,12 +79,12 @@ public function setExecution(?string $execution): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; diff --git a/src/Model/ExecutionActionJsonldRead.php b/src/Model/ExecutionActionJsonldRead.php index d9442beb..68dee490 100644 --- a/src/Model/ExecutionActionJsonldRead.php +++ b/src/Model/ExecutionActionJsonldRead.php @@ -5,19 +5,19 @@ class ExecutionActionJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; @@ -39,36 +39,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; diff --git a/src/Model/ExecutionActionRead.php b/src/Model/ExecutionActionRead.php index b6f47b81..63a220d6 100644 --- a/src/Model/ExecutionActionRead.php +++ b/src/Model/ExecutionActionRead.php @@ -5,16 +5,16 @@ class ExecutionActionRead { /** - * @var string + * @var string|null */ protected $id; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php b/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php index e119b27d..268cb1ab 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandInput.php @@ -5,32 +5,32 @@ class ExecutionDeclarePipelineExecutionCommandInput { /** - * @var string + * @var string|null */ protected $schedule; /** - * @var string + * @var string|null */ protected $pipeline; - public function getSchedule(): string + public function getSchedule(): ?string { return $this->schedule; } - public function setSchedule(string $schedule): self + public function setSchedule(?string $schedule): self { $this->schedule = $schedule; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php index 3818e8c1..913ddaf0 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandInputJsonld.php @@ -5,23 +5,23 @@ class ExecutionDeclarePipelineExecutionCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $schedule; /** - * @var string + * @var string|null */ protected $pipeline; @@ -43,48 +43,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getSchedule(): string + public function getSchedule(): ?string { return $this->schedule; } - public function setSchedule(string $schedule): self + public function setSchedule(?string $schedule): self { $this->schedule = $schedule; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; diff --git a/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php index 69b4b53c..7b4cf155 100644 --- a/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionDeclarePipelineExecutionCommandJsonldRead.php @@ -5,15 +5,15 @@ class ExecutionDeclarePipelineExecutionCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandInput.php b/src/Model/ExecutionFinishPipelineExecutionCommandInput.php index fc8cb455..b23fe29e 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandInput.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandInput.php @@ -5,16 +5,16 @@ class ExecutionFinishPipelineExecutionCommandInput { /** - * @var string + * @var string|null */ protected $execution; - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php index 71036b87..2ddcf918 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandInputJsonld.php @@ -5,19 +5,19 @@ class ExecutionFinishPipelineExecutionCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $execution; @@ -39,36 +39,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php index 0ff212e5..c3f696a9 100644 --- a/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionFinishPipelineExecutionCommandJsonldRead.php @@ -5,15 +5,15 @@ class ExecutionFinishPipelineExecutionCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php b/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php index a4c61c1f..366986af 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandInput.php @@ -5,16 +5,16 @@ class ExecutionInterruptPipelineExecutionCommandInput { /** - * @var string + * @var string|null */ protected $execution; - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php index 957b2868..e6b016c2 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandInputJsonld.php @@ -5,19 +5,19 @@ class ExecutionInterruptPipelineExecutionCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $execution; @@ -39,36 +39,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php index 675da7d1..eac813dc 100644 --- a/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionInterruptPipelineExecutionCommandJsonldRead.php @@ -5,15 +5,15 @@ class ExecutionInterruptPipelineExecutionCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/ExecutionJsonldRead.php b/src/Model/ExecutionJsonldRead.php index c1935b11..4f007421 100644 --- a/src/Model/ExecutionJsonldRead.php +++ b/src/Model/ExecutionJsonldRead.php @@ -5,31 +5,31 @@ class ExecutionJsonldRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $status = 'unknown'; /** - * @var int + * @var int|null */ protected $errors; /** @@ -77,24 +77,24 @@ class ExecutionJsonldRead */ protected $action; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -119,48 +119,48 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getStatus(): string + public function getStatus(): ?string { return $this->status; } - public function setStatus(string $status): self + public function setStatus(?string $status): self { $this->status = $status; return $this; } - public function getErrors(): int + public function getErrors(): ?int { return $this->errors; } - public function setErrors(int $errors): self + public function setErrors(?int $errors): self { $this->errors = $errors; diff --git a/src/Model/ExecutionPipeline.php b/src/Model/ExecutionPipeline.php index 5d74ee2d..05095de8 100644 --- a/src/Model/ExecutionPipeline.php +++ b/src/Model/ExecutionPipeline.php @@ -9,11 +9,11 @@ class ExecutionPipeline */ protected $execution; /** - * @var string + * @var string|null */ protected $id; /** - * @var string[] + * @var string[]|null */ protected $steps; @@ -29,12 +29,12 @@ public function setExecution(?string $execution): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -42,17 +42,17 @@ public function setId(string $id): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/ExecutionPipelineJob.php b/src/Model/ExecutionPipelineJob.php index 1ad9e385..e9f41906 100644 --- a/src/Model/ExecutionPipelineJob.php +++ b/src/Model/ExecutionPipelineJob.php @@ -9,11 +9,11 @@ class ExecutionPipelineJob */ protected $job; /** - * @var string + * @var string|null */ protected $id; /** - * @var string[] + * @var string[]|null */ protected $steps; @@ -29,12 +29,12 @@ public function setJob(?string $job): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -42,17 +42,17 @@ public function setId(string $id): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/ExecutionPipelineJobJsonld.php b/src/Model/ExecutionPipelineJobJsonld.php index 1cf2025b..1c7be0d1 100644 --- a/src/Model/ExecutionPipelineJobJsonld.php +++ b/src/Model/ExecutionPipelineJobJsonld.php @@ -5,15 +5,15 @@ class ExecutionPipelineJobJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -21,11 +21,11 @@ class ExecutionPipelineJobJsonld */ protected $job; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string[] + * @var string[]|null */ protected $steps; @@ -47,24 +47,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -83,12 +83,12 @@ public function setJob(?string $job): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -96,17 +96,17 @@ public function setId2(string $id2): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/ExecutionPipelineJsonld.php b/src/Model/ExecutionPipelineJsonld.php index 6a72aac8..121b7b20 100644 --- a/src/Model/ExecutionPipelineJsonld.php +++ b/src/Model/ExecutionPipelineJsonld.php @@ -5,15 +5,15 @@ class ExecutionPipelineJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -21,11 +21,11 @@ class ExecutionPipelineJsonld */ protected $execution; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string[] + * @var string[]|null */ protected $steps; @@ -47,24 +47,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -83,12 +83,12 @@ public function setExecution(?string $execution): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -96,17 +96,17 @@ public function setId2(string $id2): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/ExecutionPipelineStep.php b/src/Model/ExecutionPipelineStep.php index a3e46415..ebf8628a 100644 --- a/src/Model/ExecutionPipelineStep.php +++ b/src/Model/ExecutionPipelineStep.php @@ -5,36 +5,36 @@ class ExecutionPipelineStep { /** - * @var string + * @var string|null */ protected $id; /** - * @var AbstractPipeline + * @var AbstractPipeline|null */ protected $pipeline; /** - * @var string[] + * @var string[]|null */ protected $metrics; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getPipeline(): AbstractPipeline + public function getPipeline(): ?AbstractPipeline { return $this->pipeline; } - public function setPipeline(AbstractPipeline $pipeline): self + public function setPipeline(?AbstractPipeline $pipeline): self { $this->pipeline = $pipeline; @@ -42,17 +42,17 @@ public function setPipeline(AbstractPipeline $pipeline): self } /** - * @return string[] + * @return string[]|null */ - public function getMetrics(): array + public function getMetrics(): ?array { return $this->metrics; } /** - * @param string[] $metrics + * @param string[]|null $metrics */ - public function setMetrics(array $metrics): self + public function setMetrics(?array $metrics): self { $this->metrics = $metrics; diff --git a/src/Model/ExecutionPipelineStepJsonld.php b/src/Model/ExecutionPipelineStepJsonld.php index b564e435..03c2d276 100644 --- a/src/Model/ExecutionPipelineStepJsonld.php +++ b/src/Model/ExecutionPipelineStepJsonld.php @@ -5,48 +5,48 @@ class ExecutionPipelineStepJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var AbstractPipelineJsonld + * @var AbstractPipelineJsonld|null */ protected $pipeline; /** - * @var string[] + * @var string[]|null */ protected $metrics; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -71,24 +71,24 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getPipeline(): AbstractPipelineJsonld + public function getPipeline(): ?AbstractPipelineJsonld { return $this->pipeline; } - public function setPipeline(AbstractPipelineJsonld $pipeline): self + public function setPipeline(?AbstractPipelineJsonld $pipeline): self { $this->pipeline = $pipeline; @@ -96,17 +96,17 @@ public function setPipeline(AbstractPipelineJsonld $pipeline): self } /** - * @return string[] + * @return string[]|null */ - public function getMetrics(): array + public function getMetrics(): ?array { return $this->metrics; } /** - * @param string[] $metrics + * @param string[]|null $metrics */ - public function setMetrics(array $metrics): self + public function setMetrics(?array $metrics): self { $this->metrics = $metrics; diff --git a/src/Model/ExecutionRead.php b/src/Model/ExecutionRead.php index 2f5ff4d1..559ad9e0 100644 --- a/src/Model/ExecutionRead.php +++ b/src/Model/ExecutionRead.php @@ -5,19 +5,19 @@ class ExecutionRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $status = 'unknown'; /** - * @var int + * @var int|null */ protected $errors; /** @@ -65,48 +65,48 @@ class ExecutionRead */ protected $action; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getStatus(): string + public function getStatus(): ?string { return $this->status; } - public function setStatus(string $status): self + public function setStatus(?string $status): self { $this->status = $status; return $this; } - public function getErrors(): int + public function getErrors(): ?int { return $this->errors; } - public function setErrors(int $errors): self + public function setErrors(?int $errors): self { $this->errors = $errors; diff --git a/src/Model/ExecutionResumePipelineExecutionCommandInput.php b/src/Model/ExecutionResumePipelineExecutionCommandInput.php index ba4c3a9e..be484b4f 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandInput.php @@ -5,16 +5,16 @@ class ExecutionResumePipelineExecutionCommandInput { /** - * @var string + * @var string|null */ protected $execution; - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php index f0277273..803d595c 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandInputJsonld.php @@ -5,19 +5,19 @@ class ExecutionResumePipelineExecutionCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $execution; @@ -39,36 +39,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php index 0c542760..9afe5707 100644 --- a/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionResumePipelineExecutionCommandJsonldRead.php @@ -5,15 +5,15 @@ class ExecutionResumePipelineExecutionCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/ExecutionStartPipelineExecutionCommandInput.php b/src/Model/ExecutionStartPipelineExecutionCommandInput.php index 9ca45f42..0130b8fb 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandInput.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandInput.php @@ -5,16 +5,16 @@ class ExecutionStartPipelineExecutionCommandInput { /** - * @var string + * @var string|null */ protected $execution; - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php index be77b0d6..834db639 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandInputJsonld.php @@ -5,19 +5,19 @@ class ExecutionStartPipelineExecutionCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $execution; @@ -39,36 +39,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php index 6bc84925..9e24ea68 100644 --- a/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionStartPipelineExecutionCommandJsonldRead.php @@ -5,15 +5,15 @@ class ExecutionStartPipelineExecutionCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php index bd2ee189..b502fe38 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInput.php @@ -5,32 +5,32 @@ class ExecutionTerminatePipelineExecutionCommandInput { /** - * @var string + * @var string|null */ protected $execution; /** - * @var string + * @var string|null */ protected $reason; - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; return $this; } - public function getReason(): string + public function getReason(): ?string { return $this->reason; } - public function setReason(string $reason): self + public function setReason(?string $reason): self { $this->reason = $reason; diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php index ce229246..d8f712ad 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandInputJsonld.php @@ -5,23 +5,23 @@ class ExecutionTerminatePipelineExecutionCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $execution; /** - * @var string + * @var string|null */ protected $reason; @@ -43,48 +43,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; return $this; } - public function getReason(): string + public function getReason(): ?string { return $this->reason; } - public function setReason(string $reason): self + public function setReason(?string $reason): self { $this->reason = $reason; diff --git a/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php b/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php index 68b4582f..b1b5a9ef 100644 --- a/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php +++ b/src/Model/ExecutionTerminatePipelineExecutionCommandJsonldRead.php @@ -5,15 +5,15 @@ class ExecutionTerminatePipelineExecutionCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php index 883744fd..71aa25cf 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInput.php @@ -5,32 +5,32 @@ class ExecutionUpdatePipelineExecutionStateCommandInput { /** - * @var string + * @var string|null */ protected $execution; /** - * @var UpdateList + * @var UpdateList|null */ protected $stepsUpdates; - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; return $this; } - public function getStepsUpdates(): UpdateList + public function getStepsUpdates(): ?UpdateList { return $this->stepsUpdates; } - public function setStepsUpdates(UpdateList $stepsUpdates): self + public function setStepsUpdates(?UpdateList $stepsUpdates): self { $this->stepsUpdates = $stepsUpdates; diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php index c83c6a6f..0fa8a434 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandInputJsonld.php @@ -5,23 +5,23 @@ class ExecutionUpdatePipelineExecutionStateCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $execution; /** - * @var UpdateListJsonld + * @var UpdateListJsonld|null */ protected $stepsUpdates; @@ -43,48 +43,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; return $this; } - public function getStepsUpdates(): UpdateListJsonld + public function getStepsUpdates(): ?UpdateListJsonld { return $this->stepsUpdates; } - public function setStepsUpdates(UpdateListJsonld $stepsUpdates): self + public function setStepsUpdates(?UpdateListJsonld $stepsUpdates): self { $this->stepsUpdates = $stepsUpdates; diff --git a/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php b/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php index 4b61355c..6a21a826 100644 --- a/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php +++ b/src/Model/ExecutionUpdatePipelineExecutionStateCommandJsonldRead.php @@ -5,15 +5,15 @@ class ExecutionUpdatePipelineExecutionStateCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/ExecutionWorkflow.php b/src/Model/ExecutionWorkflow.php index 96da802f..caa7a7e6 100644 --- a/src/Model/ExecutionWorkflow.php +++ b/src/Model/ExecutionWorkflow.php @@ -5,24 +5,24 @@ class ExecutionWorkflow { /** - * @var string + * @var string|null */ protected $id; /** - * @var string[] + * @var string[]|null */ protected $jobs; /** - * @var string + * @var string|null */ protected $execution; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -30,29 +30,29 @@ public function setId(string $id): self } /** - * @return string[] + * @return string[]|null */ - public function getJobs(): array + public function getJobs(): ?array { return $this->jobs; } /** - * @param string[] $jobs + * @param string[]|null $jobs */ - public function setJobs(array $jobs): self + public function setJobs(?array $jobs): self { $this->jobs = $jobs; return $this; } - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/ExecutionWorkflowJob.php b/src/Model/ExecutionWorkflowJob.php index 0d221bb1..9d2f268b 100644 --- a/src/Model/ExecutionWorkflowJob.php +++ b/src/Model/ExecutionWorkflowJob.php @@ -5,7 +5,7 @@ class ExecutionWorkflowJob { /** - * @var string + * @var string|null */ protected $id; /** @@ -21,12 +21,12 @@ class ExecutionWorkflowJob */ protected $action; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; diff --git a/src/Model/ExecutionWorkflowJobAction.php b/src/Model/ExecutionWorkflowJobAction.php index ec151b4b..b9af1e26 100644 --- a/src/Model/ExecutionWorkflowJobAction.php +++ b/src/Model/ExecutionWorkflowJobAction.php @@ -9,7 +9,7 @@ class ExecutionWorkflowJobAction */ protected $job; /** - * @var string + * @var string|null */ protected $id; @@ -25,12 +25,12 @@ public function setJob(?string $job): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; diff --git a/src/Model/ExecutionWorkflowJobActionJsonld.php b/src/Model/ExecutionWorkflowJobActionJsonld.php index 157fb601..0eaadfa0 100644 --- a/src/Model/ExecutionWorkflowJobActionJsonld.php +++ b/src/Model/ExecutionWorkflowJobActionJsonld.php @@ -5,15 +5,15 @@ class ExecutionWorkflowJobActionJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -21,7 +21,7 @@ class ExecutionWorkflowJobActionJsonld */ protected $job; /** - * @var string + * @var string|null */ protected $id2; @@ -43,24 +43,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -79,12 +79,12 @@ public function setJob(?string $job): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; diff --git a/src/Model/ExecutionWorkflowJobJsonld.php b/src/Model/ExecutionWorkflowJobJsonld.php index 35e347bc..f1cd4d3a 100644 --- a/src/Model/ExecutionWorkflowJobJsonld.php +++ b/src/Model/ExecutionWorkflowJobJsonld.php @@ -5,19 +5,19 @@ class ExecutionWorkflowJobJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** @@ -33,24 +33,24 @@ class ExecutionWorkflowJobJsonld */ protected $action; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -75,12 +75,12 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; diff --git a/src/Model/ExecutionWorkflowJsonld.php b/src/Model/ExecutionWorkflowJsonld.php index 847eba26..75497641 100644 --- a/src/Model/ExecutionWorkflowJsonld.php +++ b/src/Model/ExecutionWorkflowJsonld.php @@ -5,27 +5,27 @@ class ExecutionWorkflowJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string[] + * @var string[]|null */ protected $jobs; /** - * @var string + * @var string|null */ protected $execution; @@ -47,36 +47,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -84,29 +84,29 @@ public function setId2(string $id2): self } /** - * @return string[] + * @return string[]|null */ - public function getJobs(): array + public function getJobs(): ?array { return $this->jobs; } /** - * @param string[] $jobs + * @param string[]|null $jobs */ - public function setJobs(array $jobs): self + public function setJobs(?array $jobs): self { $this->jobs = $jobs; return $this; } - public function getExecution(): string + public function getExecution(): ?string { return $this->execution; } - public function setExecution(string $execution): self + public function setExecution(?string $execution): self { $this->execution = $execution; diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php index 9a036b06..36446d04 100644 --- a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200.php @@ -5,70 +5,70 @@ class GatewayAkeneoInstanceFromUrlGetResponse200 { /** - * @var AkeneoInstanceJsonld[] + * @var AkeneoInstanceJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var GatewayAkeneoInstanceFromUrlGetResponse200HydraView + * @var GatewayAkeneoInstanceFromUrlGetResponse200HydraView|null */ protected $hydraView; /** - * @var GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch + * @var GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return AkeneoInstanceJsonld[] + * @return AkeneoInstanceJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param AkeneoInstanceJsonld[] $hydraMember + * @param AkeneoInstanceJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): GatewayAkeneoInstanceFromUrlGetResponse200HydraView + public function getHydraView(): ?GatewayAkeneoInstanceFromUrlGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(GatewayAkeneoInstanceFromUrlGetResponse200HydraView $hydraView): self + public function setHydraView(?GatewayAkeneoInstanceFromUrlGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch + public function getHydraSearch(): ?GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php index 8822ca1c..a57a38cc 100644 --- a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[] + * @var GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[] + * @return GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php index da8a096a..416a00d2 100644 --- a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php index ba154793..a903d397 100644 --- a/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php +++ b/src/Model/GatewayAkeneoInstanceFromUrlGetResponse200HydraView.php @@ -5,96 +5,96 @@ class GatewayAkeneoInstanceFromUrlGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php index 8c80f3e5..24cf8040 100644 --- a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200.php @@ -5,70 +5,70 @@ class GatewayAkeneoInstanceOauthStateGetResponse200 { /** - * @var AkeneoInstanceJsonld[] + * @var AkeneoInstanceJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var GatewayAkeneoInstanceOauthStateGetResponse200HydraView + * @var GatewayAkeneoInstanceOauthStateGetResponse200HydraView|null */ protected $hydraView; /** - * @var GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch + * @var GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return AkeneoInstanceJsonld[] + * @return AkeneoInstanceJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param AkeneoInstanceJsonld[] $hydraMember + * @param AkeneoInstanceJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): GatewayAkeneoInstanceOauthStateGetResponse200HydraView + public function getHydraView(): ?GatewayAkeneoInstanceOauthStateGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(GatewayAkeneoInstanceOauthStateGetResponse200HydraView $hydraView): self + public function setHydraView(?GatewayAkeneoInstanceOauthStateGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch + public function getHydraSearch(): ?GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php index 05056789..6d09322b 100644 --- a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[] + * @var GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[] + * @return GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php index 75ad72d8..3e3fa2e4 100644 --- a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php index 2cc8dd4b..fbe06991 100644 --- a/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php +++ b/src/Model/GatewayAkeneoInstanceOauthStateGetResponse200HydraView.php @@ -5,96 +5,96 @@ class GatewayAkeneoInstanceOauthStateGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200.php b/src/Model/GatewayAkeneoInstancesGetResponse200.php index 6249167e..d1305d3d 100644 --- a/src/Model/GatewayAkeneoInstancesGetResponse200.php +++ b/src/Model/GatewayAkeneoInstancesGetResponse200.php @@ -5,70 +5,70 @@ class GatewayAkeneoInstancesGetResponse200 { /** - * @var AkeneoInstanceJsonld[] + * @var AkeneoInstanceJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var GatewayAkeneoInstancesGetResponse200HydraView + * @var GatewayAkeneoInstancesGetResponse200HydraView|null */ protected $hydraView; /** - * @var GatewayAkeneoInstancesGetResponse200HydraSearch + * @var GatewayAkeneoInstancesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return AkeneoInstanceJsonld[] + * @return AkeneoInstanceJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param AkeneoInstanceJsonld[] $hydraMember + * @param AkeneoInstanceJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): GatewayAkeneoInstancesGetResponse200HydraView + public function getHydraView(): ?GatewayAkeneoInstancesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(GatewayAkeneoInstancesGetResponse200HydraView $hydraView): self + public function setHydraView(?GatewayAkeneoInstancesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): GatewayAkeneoInstancesGetResponse200HydraSearch + public function getHydraSearch(): ?GatewayAkeneoInstancesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(GatewayAkeneoInstancesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?GatewayAkeneoInstancesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php index 86b60dc8..835ef786 100644 --- a/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class GatewayAkeneoInstancesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[] + * @var GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[] + * @return GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php index 5685751e..44c3b922 100644 --- a/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php b/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php index dfad3573..10ffa33e 100644 --- a/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php +++ b/src/Model/GatewayAkeneoInstancesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class GatewayAkeneoInstancesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php index 14dc9726..efd133a2 100644 --- a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200.php @@ -5,70 +5,70 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200 { /** - * @var AkeneoLinkedAccountJsonld[] + * @var AkeneoLinkedAccountJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView + * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView|null */ protected $hydraView; /** - * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch + * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return AkeneoLinkedAccountJsonld[] + * @return AkeneoLinkedAccountJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param AkeneoLinkedAccountJsonld[] $hydraMember + * @param AkeneoLinkedAccountJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView + public function getHydraView(): ?GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView $hydraView): self + public function setHydraView(?GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch + public function getHydraSearch(): ?GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php index d84e22f7..6afa997d 100644 --- a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[] + * @var GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[] + * @return GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php index e236cfdc..cc467727 100644 --- a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappin */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php index 6ef5e9c7..5d2f9b1f 100644 --- a/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php +++ b/src/Model/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView.php @@ -5,96 +5,96 @@ class GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php index 98d0400a..29cade42 100644 --- a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200.php @@ -5,70 +5,70 @@ class GatewayAkeneoLinkedAccountsGetResponse200 { /** - * @var AkeneoLinkedAccountJsonld[] + * @var AkeneoLinkedAccountJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var GatewayAkeneoLinkedAccountsGetResponse200HydraView + * @var GatewayAkeneoLinkedAccountsGetResponse200HydraView|null */ protected $hydraView; /** - * @var GatewayAkeneoLinkedAccountsGetResponse200HydraSearch + * @var GatewayAkeneoLinkedAccountsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return AkeneoLinkedAccountJsonld[] + * @return AkeneoLinkedAccountJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param AkeneoLinkedAccountJsonld[] $hydraMember + * @param AkeneoLinkedAccountJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): GatewayAkeneoLinkedAccountsGetResponse200HydraView + public function getHydraView(): ?GatewayAkeneoLinkedAccountsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(GatewayAkeneoLinkedAccountsGetResponse200HydraView $hydraView): self + public function setHydraView(?GatewayAkeneoLinkedAccountsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): GatewayAkeneoLinkedAccountsGetResponse200HydraSearch + public function getHydraSearch(): ?GatewayAkeneoLinkedAccountsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(GatewayAkeneoLinkedAccountsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?GatewayAkeneoLinkedAccountsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php index 9870d5e9..257f115b 100644 --- a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class GatewayAkeneoLinkedAccountsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[] + * @var GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[] + * @return GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php index c63f25b7..e7594560 100644 --- a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php index 65478b01..ef85cd4b 100644 --- a/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php +++ b/src/Model/GatewayAkeneoLinkedAccountsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class GatewayAkeneoLinkedAccountsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200.php index 25190495..51143516 100644 --- a/src/Model/GatewayAkeneoOauthStatesGetResponse200.php +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200.php @@ -5,70 +5,70 @@ class GatewayAkeneoOauthStatesGetResponse200 { /** - * @var AkeneoOauthTokenJsonldRead[] + * @var AkeneoOauthTokenJsonldRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var GatewayAkeneoOauthStatesGetResponse200HydraView + * @var GatewayAkeneoOauthStatesGetResponse200HydraView|null */ protected $hydraView; /** - * @var GatewayAkeneoOauthStatesGetResponse200HydraSearch + * @var GatewayAkeneoOauthStatesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return AkeneoOauthTokenJsonldRead[] + * @return AkeneoOauthTokenJsonldRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param AkeneoOauthTokenJsonldRead[] $hydraMember + * @param AkeneoOauthTokenJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): GatewayAkeneoOauthStatesGetResponse200HydraView + public function getHydraView(): ?GatewayAkeneoOauthStatesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(GatewayAkeneoOauthStatesGetResponse200HydraView $hydraView): self + public function setHydraView(?GatewayAkeneoOauthStatesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): GatewayAkeneoOauthStatesGetResponse200HydraSearch + public function getHydraSearch(): ?GatewayAkeneoOauthStatesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(GatewayAkeneoOauthStatesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?GatewayAkeneoOauthStatesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php index 7242f9f1..b5af8efe 100644 --- a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class GatewayAkeneoOauthStatesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[] + * @var GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[] + * @return GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php index 16ef7e70..985df8d1 100644 --- a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php index 769a050f..0f2d1dde 100644 --- a/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php +++ b/src/Model/GatewayAkeneoOauthStatesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class GatewayAkeneoOauthStatesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/GatewayAkeneoOauthTokenPutBody.php b/src/Model/GatewayAkeneoOauthTokenPutBody.php index 268081e6..c53df803 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutBody.php +++ b/src/Model/GatewayAkeneoOauthTokenPutBody.php @@ -5,70 +5,70 @@ class GatewayAkeneoOauthTokenPutBody { /** - * @var AkeneoOauthTokenOauthTokenInputJsonld[] + * @var AkeneoOauthTokenOauthTokenInputJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var GatewayAkeneoOauthTokenPutBodyHydraView + * @var GatewayAkeneoOauthTokenPutBodyHydraView|null */ protected $hydraView; /** - * @var GatewayAkeneoOauthTokenPutBodyHydraSearch + * @var GatewayAkeneoOauthTokenPutBodyHydraSearch|null */ protected $hydraSearch; /** - * @return AkeneoOauthTokenOauthTokenInputJsonld[] + * @return AkeneoOauthTokenOauthTokenInputJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param AkeneoOauthTokenOauthTokenInputJsonld[] $hydraMember + * @param AkeneoOauthTokenOauthTokenInputJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): GatewayAkeneoOauthTokenPutBodyHydraView + public function getHydraView(): ?GatewayAkeneoOauthTokenPutBodyHydraView { return $this->hydraView; } - public function setHydraView(GatewayAkeneoOauthTokenPutBodyHydraView $hydraView): self + public function setHydraView(?GatewayAkeneoOauthTokenPutBodyHydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): GatewayAkeneoOauthTokenPutBodyHydraSearch + public function getHydraSearch(): ?GatewayAkeneoOauthTokenPutBodyHydraSearch { return $this->hydraSearch; } - public function setHydraSearch(GatewayAkeneoOauthTokenPutBodyHydraSearch $hydraSearch): self + public function setHydraSearch(?GatewayAkeneoOauthTokenPutBodyHydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php index 08f7f2aa..68f47533 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearch.php @@ -5,52 +5,52 @@ class GatewayAkeneoOauthTokenPutBodyHydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[] + * @var GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[] + * @return GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[] $hydraMapping + * @param GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php index 188395da..edd9ec89 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php index 2e8fa76b..cd6cfb7a 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php +++ b/src/Model/GatewayAkeneoOauthTokenPutBodyHydraView.php @@ -5,96 +5,96 @@ class GatewayAkeneoOauthTokenPutBodyHydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200.php index 242f160d..026cee33 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutResponse200.php +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200.php @@ -5,70 +5,70 @@ class GatewayAkeneoOauthTokenPutResponse200 { /** - * @var AkeneoOauthTokenOauthTokenOutputJsonldRead[] + * @var AkeneoOauthTokenOauthTokenOutputJsonldRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var GatewayAkeneoOauthTokenPutResponse200HydraView + * @var GatewayAkeneoOauthTokenPutResponse200HydraView|null */ protected $hydraView; /** - * @var GatewayAkeneoOauthTokenPutResponse200HydraSearch + * @var GatewayAkeneoOauthTokenPutResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return AkeneoOauthTokenOauthTokenOutputJsonldRead[] + * @return AkeneoOauthTokenOauthTokenOutputJsonldRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param AkeneoOauthTokenOauthTokenOutputJsonldRead[] $hydraMember + * @param AkeneoOauthTokenOauthTokenOutputJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): GatewayAkeneoOauthTokenPutResponse200HydraView + public function getHydraView(): ?GatewayAkeneoOauthTokenPutResponse200HydraView { return $this->hydraView; } - public function setHydraView(GatewayAkeneoOauthTokenPutResponse200HydraView $hydraView): self + public function setHydraView(?GatewayAkeneoOauthTokenPutResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): GatewayAkeneoOauthTokenPutResponse200HydraSearch + public function getHydraSearch(): ?GatewayAkeneoOauthTokenPutResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(GatewayAkeneoOauthTokenPutResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?GatewayAkeneoOauthTokenPutResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php index 35b64350..5bede359 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearch.php @@ -5,52 +5,52 @@ class GatewayAkeneoOauthTokenPutResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[] + * @var GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[] + * @return GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php index 1bb73ba0..7cc6384e 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php index a4fd2aa1..881aea75 100644 --- a/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php +++ b/src/Model/GatewayAkeneoOauthTokenPutResponse200HydraView.php @@ -5,96 +5,96 @@ class GatewayAkeneoOauthTokenPutResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/Money.php b/src/Model/Money.php index a78c9081..2b539a8c 100644 --- a/src/Model/Money.php +++ b/src/Model/Money.php @@ -5,122 +5,122 @@ class Money { /** - * @var BigDecimal + * @var BigDecimal|null */ protected $amount; /** - * @var Currency + * @var Currency|null */ protected $currency; /** - * @var Context + * @var Context|null */ protected $context; /** - * @var BigDecimal + * @var BigDecimal|null */ protected $minorAmount; /** - * @var BigInteger + * @var BigInteger|null */ protected $unscaledAmount; /** * Required by interface MoneyContainer. * - * @var BigNumber[] + * @var BigNumber[]|null */ protected $amounts; /** * Returns the sign of this money. * - * @var int + * @var int|null */ protected $sign; /** * Returns whether this money has zero value. * - * @var bool + * @var bool|null */ protected $zero; /** * Returns whether this money has a negative value. * - * @var bool + * @var bool|null */ protected $negative; /** * Returns whether this money has a negative or zero value. * - * @var bool + * @var bool|null */ protected $negativeOrZero; /** * Returns whether this money has a positive value. * - * @var bool + * @var bool|null */ protected $positive; /** * Returns whether this money has a positive or zero value. * - * @var bool + * @var bool|null */ protected $positiveOrZero; - public function getAmount(): BigDecimal + public function getAmount(): ?BigDecimal { return $this->amount; } - public function setAmount(BigDecimal $amount): self + public function setAmount(?BigDecimal $amount): self { $this->amount = $amount; return $this; } - public function getCurrency(): Currency + public function getCurrency(): ?Currency { return $this->currency; } - public function setCurrency(Currency $currency): self + public function setCurrency(?Currency $currency): self { $this->currency = $currency; return $this; } - public function getContext(): Context + public function getContext(): ?Context { return $this->context; } - public function setContext(Context $context): self + public function setContext(?Context $context): self { $this->context = $context; return $this; } - public function getMinorAmount(): BigDecimal + public function getMinorAmount(): ?BigDecimal { return $this->minorAmount; } - public function setMinorAmount(BigDecimal $minorAmount): self + public function setMinorAmount(?BigDecimal $minorAmount): self { $this->minorAmount = $minorAmount; return $this; } - public function getUnscaledAmount(): BigInteger + public function getUnscaledAmount(): ?BigInteger { return $this->unscaledAmount; } - public function setUnscaledAmount(BigInteger $unscaledAmount): self + public function setUnscaledAmount(?BigInteger $unscaledAmount): self { $this->unscaledAmount = $unscaledAmount; @@ -130,9 +130,9 @@ public function setUnscaledAmount(BigInteger $unscaledAmount): self /** * Required by interface MoneyContainer. * - * @return BigNumber[] + * @return BigNumber[]|null */ - public function getAmounts(): array + public function getAmounts(): ?array { return $this->amounts; } @@ -140,9 +140,9 @@ public function getAmounts(): array /** * Required by interface MoneyContainer. * - * @param BigNumber[] $amounts + * @param BigNumber[]|null $amounts */ - public function setAmounts(array $amounts): self + public function setAmounts(?array $amounts): self { $this->amounts = $amounts; @@ -152,7 +152,7 @@ public function setAmounts(array $amounts): self /** * Returns the sign of this money. */ - public function getSign(): int + public function getSign(): ?int { return $this->sign; } @@ -160,7 +160,7 @@ public function getSign(): int /** * Returns the sign of this money. */ - public function setSign(int $sign): self + public function setSign(?int $sign): self { $this->sign = $sign; @@ -170,7 +170,7 @@ public function setSign(int $sign): self /** * Returns whether this money has zero value. */ - public function getZero(): bool + public function getZero(): ?bool { return $this->zero; } @@ -178,7 +178,7 @@ public function getZero(): bool /** * Returns whether this money has zero value. */ - public function setZero(bool $zero): self + public function setZero(?bool $zero): self { $this->zero = $zero; @@ -188,7 +188,7 @@ public function setZero(bool $zero): self /** * Returns whether this money has a negative value. */ - public function getNegative(): bool + public function getNegative(): ?bool { return $this->negative; } @@ -196,7 +196,7 @@ public function getNegative(): bool /** * Returns whether this money has a negative value. */ - public function setNegative(bool $negative): self + public function setNegative(?bool $negative): self { $this->negative = $negative; @@ -206,7 +206,7 @@ public function setNegative(bool $negative): self /** * Returns whether this money has a negative or zero value. */ - public function getNegativeOrZero(): bool + public function getNegativeOrZero(): ?bool { return $this->negativeOrZero; } @@ -214,7 +214,7 @@ public function getNegativeOrZero(): bool /** * Returns whether this money has a negative or zero value. */ - public function setNegativeOrZero(bool $negativeOrZero): self + public function setNegativeOrZero(?bool $negativeOrZero): self { $this->negativeOrZero = $negativeOrZero; @@ -224,7 +224,7 @@ public function setNegativeOrZero(bool $negativeOrZero): self /** * Returns whether this money has a positive value. */ - public function getPositive(): bool + public function getPositive(): ?bool { return $this->positive; } @@ -232,7 +232,7 @@ public function getPositive(): bool /** * Returns whether this money has a positive value. */ - public function setPositive(bool $positive): self + public function setPositive(?bool $positive): self { $this->positive = $positive; @@ -242,7 +242,7 @@ public function setPositive(bool $positive): self /** * Returns whether this money has a positive or zero value. */ - public function getPositiveOrZero(): bool + public function getPositiveOrZero(): ?bool { return $this->positiveOrZero; } @@ -250,7 +250,7 @@ public function getPositiveOrZero(): bool /** * Returns whether this money has a positive or zero value. */ - public function setPositiveOrZero(bool $positiveOrZero): self + public function setPositiveOrZero(?bool $positiveOrZero): self { $this->positiveOrZero = $positiveOrZero; diff --git a/src/Model/MoneyJsonld.php b/src/Model/MoneyJsonld.php index 09c7a292..2f76c96c 100644 --- a/src/Model/MoneyJsonld.php +++ b/src/Model/MoneyJsonld.php @@ -5,77 +5,77 @@ class MoneyJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var BigDecimalJsonld + * @var BigDecimalJsonld|null */ protected $amount; /** - * @var CurrencyJsonld + * @var CurrencyJsonld|null */ protected $currency; /** - * @var ContextJsonld + * @var ContextJsonld|null */ protected $context2; /** - * @var BigDecimalJsonld + * @var BigDecimalJsonld|null */ protected $minorAmount; /** - * @var BigIntegerJsonld + * @var BigIntegerJsonld|null */ protected $unscaledAmount; /** * Required by interface MoneyContainer. * - * @var BigNumberJsonld[] + * @var BigNumberJsonld[]|null */ protected $amounts; /** * Returns the sign of this money. * - * @var int + * @var int|null */ protected $sign; /** * Returns whether this money has zero value. * - * @var bool + * @var bool|null */ protected $zero; /** * Returns whether this money has a negative value. * - * @var bool + * @var bool|null */ protected $negative; /** * Returns whether this money has a negative or zero value. * - * @var bool + * @var bool|null */ protected $negativeOrZero; /** * Returns whether this money has a positive value. * - * @var bool + * @var bool|null */ protected $positive; /** * Returns whether this money has a positive or zero value. * - * @var bool + * @var bool|null */ protected $positiveOrZero; @@ -97,84 +97,84 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getAmount(): BigDecimalJsonld + public function getAmount(): ?BigDecimalJsonld { return $this->amount; } - public function setAmount(BigDecimalJsonld $amount): self + public function setAmount(?BigDecimalJsonld $amount): self { $this->amount = $amount; return $this; } - public function getCurrency(): CurrencyJsonld + public function getCurrency(): ?CurrencyJsonld { return $this->currency; } - public function setCurrency(CurrencyJsonld $currency): self + public function setCurrency(?CurrencyJsonld $currency): self { $this->currency = $currency; return $this; } - public function getContext2(): ContextJsonld + public function getContext2(): ?ContextJsonld { return $this->context2; } - public function setContext2(ContextJsonld $context2): self + public function setContext2(?ContextJsonld $context2): self { $this->context2 = $context2; return $this; } - public function getMinorAmount(): BigDecimalJsonld + public function getMinorAmount(): ?BigDecimalJsonld { return $this->minorAmount; } - public function setMinorAmount(BigDecimalJsonld $minorAmount): self + public function setMinorAmount(?BigDecimalJsonld $minorAmount): self { $this->minorAmount = $minorAmount; return $this; } - public function getUnscaledAmount(): BigIntegerJsonld + public function getUnscaledAmount(): ?BigIntegerJsonld { return $this->unscaledAmount; } - public function setUnscaledAmount(BigIntegerJsonld $unscaledAmount): self + public function setUnscaledAmount(?BigIntegerJsonld $unscaledAmount): self { $this->unscaledAmount = $unscaledAmount; @@ -184,9 +184,9 @@ public function setUnscaledAmount(BigIntegerJsonld $unscaledAmount): self /** * Required by interface MoneyContainer. * - * @return BigNumberJsonld[] + * @return BigNumberJsonld[]|null */ - public function getAmounts(): array + public function getAmounts(): ?array { return $this->amounts; } @@ -194,9 +194,9 @@ public function getAmounts(): array /** * Required by interface MoneyContainer. * - * @param BigNumberJsonld[] $amounts + * @param BigNumberJsonld[]|null $amounts */ - public function setAmounts(array $amounts): self + public function setAmounts(?array $amounts): self { $this->amounts = $amounts; @@ -206,7 +206,7 @@ public function setAmounts(array $amounts): self /** * Returns the sign of this money. */ - public function getSign(): int + public function getSign(): ?int { return $this->sign; } @@ -214,7 +214,7 @@ public function getSign(): int /** * Returns the sign of this money. */ - public function setSign(int $sign): self + public function setSign(?int $sign): self { $this->sign = $sign; @@ -224,7 +224,7 @@ public function setSign(int $sign): self /** * Returns whether this money has zero value. */ - public function getZero(): bool + public function getZero(): ?bool { return $this->zero; } @@ -232,7 +232,7 @@ public function getZero(): bool /** * Returns whether this money has zero value. */ - public function setZero(bool $zero): self + public function setZero(?bool $zero): self { $this->zero = $zero; @@ -242,7 +242,7 @@ public function setZero(bool $zero): self /** * Returns whether this money has a negative value. */ - public function getNegative(): bool + public function getNegative(): ?bool { return $this->negative; } @@ -250,7 +250,7 @@ public function getNegative(): bool /** * Returns whether this money has a negative value. */ - public function setNegative(bool $negative): self + public function setNegative(?bool $negative): self { $this->negative = $negative; @@ -260,7 +260,7 @@ public function setNegative(bool $negative): self /** * Returns whether this money has a negative or zero value. */ - public function getNegativeOrZero(): bool + public function getNegativeOrZero(): ?bool { return $this->negativeOrZero; } @@ -268,7 +268,7 @@ public function getNegativeOrZero(): bool /** * Returns whether this money has a negative or zero value. */ - public function setNegativeOrZero(bool $negativeOrZero): self + public function setNegativeOrZero(?bool $negativeOrZero): self { $this->negativeOrZero = $negativeOrZero; @@ -278,7 +278,7 @@ public function setNegativeOrZero(bool $negativeOrZero): self /** * Returns whether this money has a positive value. */ - public function getPositive(): bool + public function getPositive(): ?bool { return $this->positive; } @@ -286,7 +286,7 @@ public function getPositive(): bool /** * Returns whether this money has a positive value. */ - public function setPositive(bool $positive): self + public function setPositive(?bool $positive): self { $this->positive = $positive; @@ -296,7 +296,7 @@ public function setPositive(bool $positive): self /** * Returns whether this money has a positive or zero value. */ - public function getPositiveOrZero(): bool + public function getPositiveOrZero(): ?bool { return $this->positiveOrZero; } @@ -304,7 +304,7 @@ public function getPositiveOrZero(): bool /** * Returns whether this money has a positive or zero value. */ - public function setPositiveOrZero(bool $positiveOrZero): self + public function setPositiveOrZero(?bool $positiveOrZero): self { $this->positiveOrZero = $positiveOrZero; diff --git a/src/Model/Offer.php b/src/Model/Offer.php index 15160d50..a373ccb4 100644 --- a/src/Model/Offer.php +++ b/src/Model/Offer.php @@ -5,118 +5,118 @@ class Offer { /** - * @var string[] + * @var string[]|null */ protected $options; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $sku; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $slug; /** - * @var string + * @var string|null */ protected $description; /** - * @var Price + * @var Price|null */ protected $price; /** - * @return string[] + * @return string[]|null */ - public function getOptions(): array + public function getOptions(): ?array { return $this->options; } /** - * @param string[] $options + * @param string[]|null $options */ - public function setOptions(array $options): self + public function setOptions(?array $options): self { $this->options = $options; return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getSku(): string + public function getSku(): ?string { return $this->sku; } - public function setSku(string $sku): self + public function setSku(?string $sku): self { $this->sku = $sku; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getSlug(): string + public function getSlug(): ?string { return $this->slug; } - public function setSlug(string $slug): self + public function setSlug(?string $slug): self { $this->slug = $slug; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getPrice(): Price + public function getPrice(): ?Price { return $this->price; } - public function setPrice(Price $price): self + public function setPrice(?Price $price): self { $this->price = $price; diff --git a/src/Model/OfferJsonld.php b/src/Model/OfferJsonld.php index 878a1736..d08e713e 100644 --- a/src/Model/OfferJsonld.php +++ b/src/Model/OfferJsonld.php @@ -5,64 +5,64 @@ class OfferJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string[] + * @var string[]|null */ protected $options; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $sku; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $slug; /** - * @var string + * @var string|null */ protected $description; /** - * @var PriceJsonld + * @var PriceJsonld|null */ protected $price; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -88,89 +88,89 @@ public function setContext($context): self } /** - * @return string[] + * @return string[]|null */ - public function getOptions(): array + public function getOptions(): ?array { return $this->options; } /** - * @param string[] $options + * @param string[]|null $options */ - public function setOptions(array $options): self + public function setOptions(?array $options): self { $this->options = $options; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getSku(): string + public function getSku(): ?string { return $this->sku; } - public function setSku(string $sku): self + public function setSku(?string $sku): self { $this->sku = $sku; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getSlug(): string + public function getSlug(): ?string { return $this->slug; } - public function setSlug(string $slug): self + public function setSlug(?string $slug): self { $this->slug = $slug; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getPrice(): PriceJsonld + public function getPrice(): ?PriceJsonld { return $this->price; } - public function setPrice(PriceJsonld $price): self + public function setPrice(?PriceJsonld $price): self { $this->price = $price; diff --git a/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php b/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php index f051e86e..1a3b6e39 100644 --- a/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php +++ b/src/Model/OnPremiseRequestJsonldOnPremiseRequestRead.php @@ -5,60 +5,60 @@ class OnPremiseRequestJsonldOnPremiseRequestRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $message; /** - * @var \DateTime + * @var \DateTime|null */ protected $createdAt; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -83,72 +83,72 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getMessage(): string + public function getMessage(): ?string { return $this->message; } - public function setMessage(string $message): self + public function setMessage(?string $message): self { $this->message = $message; return $this; } - public function getCreatedAt(): \DateTime + public function getCreatedAt(): ?\DateTime { return $this->createdAt; } - public function setCreatedAt(\DateTime $createdAt): self + public function setCreatedAt(?\DateTime $createdAt): self { $this->createdAt = $createdAt; diff --git a/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php b/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php index 6d4b3d75..e1c0a5e9 100644 --- a/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php +++ b/src/Model/OnPremiseRequestJsonldOnPremiseRequestWrite.php @@ -5,31 +5,31 @@ class OnPremiseRequestJsonldOnPremiseRequestWrite { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $message; @@ -51,72 +51,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getMessage(): string + public function getMessage(): ?string { return $this->message; } - public function setMessage(string $message): self + public function setMessage(?string $message): self { $this->message = $message; diff --git a/src/Model/OnPremiseRequestOnPremiseRequestRead.php b/src/Model/OnPremiseRequestOnPremiseRequestRead.php index 55dc9502..da44f0a0 100644 --- a/src/Model/OnPremiseRequestOnPremiseRequestRead.php +++ b/src/Model/OnPremiseRequestOnPremiseRequestRead.php @@ -5,96 +5,96 @@ class OnPremiseRequestOnPremiseRequestRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $message; /** - * @var \DateTime + * @var \DateTime|null */ protected $createdAt; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getMessage(): string + public function getMessage(): ?string { return $this->message; } - public function setMessage(string $message): self + public function setMessage(?string $message): self { $this->message = $message; return $this; } - public function getCreatedAt(): \DateTime + public function getCreatedAt(): ?\DateTime { return $this->createdAt; } - public function setCreatedAt(\DateTime $createdAt): self + public function setCreatedAt(?\DateTime $createdAt): self { $this->createdAt = $createdAt; diff --git a/src/Model/OnPremiseRequestOnPremiseRequestWrite.php b/src/Model/OnPremiseRequestOnPremiseRequestWrite.php index 71babee4..ae0ddac7 100644 --- a/src/Model/OnPremiseRequestOnPremiseRequestWrite.php +++ b/src/Model/OnPremiseRequestOnPremiseRequestWrite.php @@ -5,64 +5,64 @@ class OnPremiseRequestOnPremiseRequestWrite { /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $message; - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getMessage(): string + public function getMessage(): ?string { return $this->message; } - public function setMessage(string $message): self + public function setMessage(?string $message): self { $this->message = $message; diff --git a/src/Model/Option.php b/src/Model/Option.php index 3696f232..d93d24e7 100644 --- a/src/Model/Option.php +++ b/src/Model/Option.php @@ -9,27 +9,27 @@ class Option */ protected $offer; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $sku; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $slug; /** - * @var string + * @var string|null */ protected $description; /** - * @var Price + * @var Price|null */ protected $price; @@ -45,72 +45,72 @@ public function setOffer(?string $offer): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getSku(): string + public function getSku(): ?string { return $this->sku; } - public function setSku(string $sku): self + public function setSku(?string $sku): self { $this->sku = $sku; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getSlug(): string + public function getSlug(): ?string { return $this->slug; } - public function setSlug(string $slug): self + public function setSlug(?string $slug): self { $this->slug = $slug; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getPrice(): Price + public function getPrice(): ?Price { return $this->price; } - public function setPrice(Price $price): self + public function setPrice(?Price $price): self { $this->price = $price; diff --git a/src/Model/OptionJsonld.php b/src/Model/OptionJsonld.php index cc246f75..e009c102 100644 --- a/src/Model/OptionJsonld.php +++ b/src/Model/OptionJsonld.php @@ -5,11 +5,11 @@ class OptionJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -17,48 +17,48 @@ class OptionJsonld */ protected $offer; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $sku; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $slug; /** - * @var string + * @var string|null */ protected $description; /** - * @var PriceJsonld + * @var PriceJsonld|null */ protected $price; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -77,72 +77,72 @@ public function setOffer(?string $offer): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getSku(): string + public function getSku(): ?string { return $this->sku; } - public function setSku(string $sku): self + public function setSku(?string $sku): self { $this->sku = $sku; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getSlug(): string + public function getSlug(): ?string { return $this->slug; } - public function setSlug(string $slug): self + public function setSlug(?string $slug): self { $this->slug = $slug; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getPrice(): PriceJsonld + public function getPrice(): ?PriceJsonld { return $this->price; } - public function setPrice(PriceJsonld $price): self + public function setPrice(?PriceJsonld $price): self { $this->price = $price; diff --git a/src/Model/Organization.php b/src/Model/Organization.php index ed654d16..121648d2 100644 --- a/src/Model/Organization.php +++ b/src/Model/Organization.php @@ -5,40 +5,40 @@ class Organization { /** - * @var string + * @var string|null */ protected $id; /** - * @var string[] + * @var string[]|null */ protected $authorizations; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $slug; /** - * @var string[] + * @var string[]|null */ protected $users; /** - * @var string[] + * @var string[]|null */ protected $externalCollaborators; /** - * @var string[] + * @var string[]|null */ protected $workspaces; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -46,41 +46,41 @@ public function setId(string $id): self } /** - * @return string[] + * @return string[]|null */ - public function getAuthorizations(): array + public function getAuthorizations(): ?array { return $this->authorizations; } /** - * @param string[] $authorizations + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations): self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getSlug(): string + public function getSlug(): ?string { return $this->slug; } - public function setSlug(string $slug): self + public function setSlug(?string $slug): self { $this->slug = $slug; @@ -88,17 +88,17 @@ public function setSlug(string $slug): self } /** - * @return string[] + * @return string[]|null */ - public function getUsers(): array + public function getUsers(): ?array { return $this->users; } /** - * @param string[] $users + * @param string[]|null $users */ - public function setUsers(array $users): self + public function setUsers(?array $users): self { $this->users = $users; @@ -106,17 +106,17 @@ public function setUsers(array $users): self } /** - * @return string[] + * @return string[]|null */ - public function getExternalCollaborators(): array + public function getExternalCollaborators(): ?array { return $this->externalCollaborators; } /** - * @param string[] $externalCollaborators + * @param string[]|null $externalCollaborators */ - public function setExternalCollaborators(array $externalCollaborators): self + public function setExternalCollaborators(?array $externalCollaborators): self { $this->externalCollaborators = $externalCollaborators; @@ -124,17 +124,17 @@ public function setExternalCollaborators(array $externalCollaborators): self } /** - * @return string[] + * @return string[]|null */ - public function getWorkspaces(): array + public function getWorkspaces(): ?array { return $this->workspaces; } /** - * @param string[] $workspaces + * @param string[]|null $workspaces */ - public function setWorkspaces(array $workspaces): self + public function setWorkspaces(?array $workspaces): self { $this->workspaces = $workspaces; diff --git a/src/Model/OrganizationJsonld.php b/src/Model/OrganizationJsonld.php index e8646de8..5195e0e1 100644 --- a/src/Model/OrganizationJsonld.php +++ b/src/Model/OrganizationJsonld.php @@ -5,43 +5,43 @@ class OrganizationJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string[] + * @var string[]|null */ protected $authorizations; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $slug; /** - * @var string[] + * @var string[]|null */ protected $users; /** - * @var string[] + * @var string[]|null */ protected $externalCollaborators; /** - * @var string[] + * @var string[]|null */ protected $workspaces; @@ -63,36 +63,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -100,41 +100,41 @@ public function setId2(string $id2): self } /** - * @return string[] + * @return string[]|null */ - public function getAuthorizations(): array + public function getAuthorizations(): ?array { return $this->authorizations; } /** - * @param string[] $authorizations + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations): self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getSlug(): string + public function getSlug(): ?string { return $this->slug; } - public function setSlug(string $slug): self + public function setSlug(?string $slug): self { $this->slug = $slug; @@ -142,17 +142,17 @@ public function setSlug(string $slug): self } /** - * @return string[] + * @return string[]|null */ - public function getUsers(): array + public function getUsers(): ?array { return $this->users; } /** - * @param string[] $users + * @param string[]|null $users */ - public function setUsers(array $users): self + public function setUsers(?array $users): self { $this->users = $users; @@ -160,17 +160,17 @@ public function setUsers(array $users): self } /** - * @return string[] + * @return string[]|null */ - public function getExternalCollaborators(): array + public function getExternalCollaborators(): ?array { return $this->externalCollaborators; } /** - * @param string[] $externalCollaborators + * @param string[]|null $externalCollaborators */ - public function setExternalCollaborators(array $externalCollaborators): self + public function setExternalCollaborators(?array $externalCollaborators): self { $this->externalCollaborators = $externalCollaborators; @@ -178,17 +178,17 @@ public function setExternalCollaborators(array $externalCollaborators): self } /** - * @return string[] + * @return string[]|null */ - public function getWorkspaces(): array + public function getWorkspaces(): ?array { return $this->workspaces; } /** - * @param string[] $workspaces + * @param string[]|null $workspaces */ - public function setWorkspaces(array $workspaces): self + public function setWorkspaces(?array $workspaces): self { $this->workspaces = $workspaces; diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInput.php b/src/Model/PipelineAddAfterPipelineStepCommandInput.php index c379c0ec..f13249bb 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInput.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandInput.php @@ -5,72 +5,72 @@ class PipelineAddAfterPipelineStepCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $previous; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[][] + * @var string[][]|null */ protected $configuration; /** - * @var Probe[] + * @var Probe[]|null */ protected $probes; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getPrevious(): string + public function getPrevious(): ?string { return $this->previous; } - public function setPrevious(string $previous): self + public function setPrevious(?string $previous): self { $this->previous = $previous; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -78,17 +78,17 @@ public function setLabel(string $label): self } /** - * @return string[][] + * @return string[][]|null */ - public function getConfiguration(): iterable + public function getConfiguration(): ?iterable { return $this->configuration; } /** - * @param string[][] $configuration + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration): self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; @@ -96,17 +96,17 @@ public function setConfiguration(iterable $configuration): self } /** - * @return Probe[] + * @return Probe[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param Probe[] $probes + * @param Probe[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php index dab9906a..7dc3364c 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandInputJsonld.php @@ -5,39 +5,39 @@ class PipelineAddAfterPipelineStepCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $previous; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[][] + * @var string[][]|null */ protected $configuration; /** - * @var ProbeJsonld[] + * @var ProbeJsonld[]|null */ protected $probes; @@ -59,72 +59,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getPrevious(): string + public function getPrevious(): ?string { return $this->previous; } - public function setPrevious(string $previous): self + public function setPrevious(?string $previous): self { $this->previous = $previous; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -132,17 +132,17 @@ public function setLabel(string $label): self } /** - * @return string[][] + * @return string[][]|null */ - public function getConfiguration(): iterable + public function getConfiguration(): ?iterable { return $this->configuration; } /** - * @param string[][] $configuration + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration): self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; @@ -150,17 +150,17 @@ public function setConfiguration(iterable $configuration): self } /** - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param ProbeJsonld[] $probes + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php b/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php index f07287c0..90639612 100644 --- a/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineAddAfterPipelineStepCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineAddAfterPipelineStepCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInput.php b/src/Model/PipelineAddBeforePipelineStepCommandInput.php index 41208cfa..77791b43 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInput.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandInput.php @@ -5,72 +5,72 @@ class PipelineAddBeforePipelineStepCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $next; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[][] + * @var string[][]|null */ protected $configuration; /** - * @var Probe[] + * @var Probe[]|null */ protected $probes; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getNext(): string + public function getNext(): ?string { return $this->next; } - public function setNext(string $next): self + public function setNext(?string $next): self { $this->next = $next; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -78,17 +78,17 @@ public function setLabel(string $label): self } /** - * @return string[][] + * @return string[][]|null */ - public function getConfiguration(): iterable + public function getConfiguration(): ?iterable { return $this->configuration; } /** - * @param string[][] $configuration + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration): self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; @@ -96,17 +96,17 @@ public function setConfiguration(iterable $configuration): self } /** - * @return Probe[] + * @return Probe[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param Probe[] $probes + * @param Probe[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php index 6f66dfa1..048adc53 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandInputJsonld.php @@ -5,39 +5,39 @@ class PipelineAddBeforePipelineStepCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $next; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[][] + * @var string[][]|null */ protected $configuration; /** - * @var ProbeJsonld[] + * @var ProbeJsonld[]|null */ protected $probes; @@ -59,72 +59,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getNext(): string + public function getNext(): ?string { return $this->next; } - public function setNext(string $next): self + public function setNext(?string $next): self { $this->next = $next; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -132,17 +132,17 @@ public function setLabel(string $label): self } /** - * @return string[][] + * @return string[][]|null */ - public function getConfiguration(): iterable + public function getConfiguration(): ?iterable { return $this->configuration; } /** - * @param string[][] $configuration + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration): self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; @@ -150,17 +150,17 @@ public function setConfiguration(iterable $configuration): self } /** - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param ProbeJsonld[] $probes + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php b/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php index d887e9c6..c0e95793 100644 --- a/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineAddBeforePipelineStepCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineAddBeforePipelineStepCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php index 32dfdaad..ebc2c20f 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInput.php @@ -5,36 +5,36 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $namespace; /** - * @var string[] + * @var string[]|null */ protected $paths; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getNamespace(): string + public function getNamespace(): ?string { return $this->namespace; } - public function setNamespace(string $namespace): self + public function setNamespace(?string $namespace): self { $this->namespace = $namespace; @@ -42,17 +42,17 @@ public function setNamespace(string $namespace): self } /** - * @return string[] + * @return string[]|null */ - public function getPaths(): array + public function getPaths(): ?array { return $this->paths; } /** - * @param string[] $paths + * @param string[]|null $paths */ - public function setPaths(array $paths): self + public function setPaths(?array $paths): self { $this->paths = $paths; diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php index 06fe3311..62429854 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld.php @@ -5,27 +5,27 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $namespace; /** - * @var string[] + * @var string[]|null */ protected $paths; @@ -47,48 +47,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getNamespace(): string + public function getNamespace(): ?string { return $this->namespace; } - public function setNamespace(string $namespace): self + public function setNamespace(?string $namespace): self { $this->namespace = $namespace; @@ -96,17 +96,17 @@ public function setNamespace(string $namespace): self } /** - * @return string[] + * @return string[]|null */ - public function getPaths(): array + public function getPaths(): ?array { return $this->paths; } /** - * @param string[] $paths + * @param string[]|null $paths */ - public function setPaths(array $paths): self + public function setPaths(?array $paths): self { $this->paths = $paths; diff --git a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php index 043571db..68a28612 100644 --- a/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php +++ b/src/Model/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineAddPipelineStepProbCommandInput.php b/src/Model/PipelineAddPipelineStepProbCommandInput.php index 4bc792bc..c59f6dd9 100644 --- a/src/Model/PipelineAddPipelineStepProbCommandInput.php +++ b/src/Model/PipelineAddPipelineStepProbCommandInput.php @@ -5,48 +5,48 @@ class PipelineAddPipelineStepProbCommandInput { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $code; /** - * @var Probe + * @var Probe|null */ protected $probe; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getProbe(): Probe + public function getProbe(): ?Probe { return $this->probe; } - public function setProbe(Probe $probe): self + public function setProbe(?Probe $probe): self { $this->probe = $probe; diff --git a/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php b/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php index af518742..6f51c2f6 100644 --- a/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php +++ b/src/Model/PipelineAddPipelineStepProbCommandInputJsonld.php @@ -5,27 +5,27 @@ class PipelineAddPipelineStepProbCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $code; /** - * @var ProbeJsonld + * @var ProbeJsonld|null */ protected $probe; @@ -47,60 +47,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getProbe(): ProbeJsonld + public function getProbe(): ?ProbeJsonld { return $this->probe; } - public function setProbe(ProbeJsonld $probe): self + public function setProbe(?ProbeJsonld $probe): self { $this->probe = $probe; diff --git a/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php b/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php index 2e5ec0e3..73140dbe 100644 --- a/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php +++ b/src/Model/PipelineAddPipelineStepProbeCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineAddPipelineStepProbeCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineAppendPipelineStepCommandInput.php b/src/Model/PipelineAppendPipelineStepCommandInput.php index c398b54f..b9b5c2b7 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInput.php +++ b/src/Model/PipelineAppendPipelineStepCommandInput.php @@ -5,56 +5,56 @@ class PipelineAppendPipelineStepCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[][] + * @var string[][]|null */ protected $configuration; /** - * @var Probe[] + * @var Probe[]|null */ protected $probes; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -62,17 +62,17 @@ public function setLabel(string $label): self } /** - * @return string[][] + * @return string[][]|null */ - public function getConfiguration(): iterable + public function getConfiguration(): ?iterable { return $this->configuration; } /** - * @param string[][] $configuration + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration): self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; @@ -80,17 +80,17 @@ public function setConfiguration(iterable $configuration): self } /** - * @return Probe[] + * @return Probe[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param Probe[] $probes + * @param Probe[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php b/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php index e16f9930..88fdaf1d 100644 --- a/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineAppendPipelineStepCommandInputJsonld.php @@ -5,35 +5,35 @@ class PipelineAppendPipelineStepCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[][] + * @var string[][]|null */ protected $configuration; /** - * @var ProbeJsonld[] + * @var ProbeJsonld[]|null */ protected $probes; @@ -55,60 +55,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -116,17 +116,17 @@ public function setLabel(string $label): self } /** - * @return string[][] + * @return string[][]|null */ - public function getConfiguration(): iterable + public function getConfiguration(): ?iterable { return $this->configuration; } /** - * @param string[][] $configuration + * @param string[][]|null $configuration */ - public function setConfiguration(iterable $configuration): self + public function setConfiguration(?iterable $configuration): self { $this->configuration = $configuration; @@ -134,17 +134,17 @@ public function setConfiguration(iterable $configuration): self } /** - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param ProbeJsonld[] $probes + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php b/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php index 03420a49..d1b4059b 100644 --- a/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineAppendPipelineStepCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineAppendPipelineStepCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineCompilation.php b/src/Model/PipelineCompilation.php index b81bf7e3..188dfd89 100644 --- a/src/Model/PipelineCompilation.php +++ b/src/Model/PipelineCompilation.php @@ -5,15 +5,15 @@ class PipelineCompilation { /** - * @var string + * @var string|null */ protected $id; /** - * @var \DateTime + * @var \DateTime|null */ protected $createdAt; /** - * @var string + * @var string|null */ protected $pipeline; /** @@ -25,40 +25,40 @@ class PipelineCompilation */ protected $organization; /** - * @var string + * @var string|null */ protected $owner; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCreatedAt(): \DateTime + public function getCreatedAt(): ?\DateTime { return $this->createdAt; } - public function setCreatedAt(\DateTime $createdAt): self + public function setCreatedAt(?\DateTime $createdAt): self { $this->createdAt = $createdAt; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; @@ -89,12 +89,12 @@ public function setOrganization(?string $organization): self return $this; } - public function getOwner(): string + public function getOwner(): ?string { return $this->owner; } - public function setOwner(string $owner): self + public function setOwner(?string $owner): self { $this->owner = $owner; diff --git a/src/Model/PipelineCompilationJsonld.php b/src/Model/PipelineCompilationJsonld.php index 9d7731a9..af88308e 100644 --- a/src/Model/PipelineCompilationJsonld.php +++ b/src/Model/PipelineCompilationJsonld.php @@ -5,27 +5,27 @@ class PipelineCompilationJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var \DateTime + * @var \DateTime|null */ protected $createdAt; /** - * @var string + * @var string|null */ protected $pipeline; /** @@ -37,28 +37,28 @@ class PipelineCompilationJsonld */ protected $organization; /** - * @var string + * @var string|null */ protected $owner; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -83,36 +83,36 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCreatedAt(): \DateTime + public function getCreatedAt(): ?\DateTime { return $this->createdAt; } - public function setCreatedAt(\DateTime $createdAt): self + public function setCreatedAt(?\DateTime $createdAt): self { $this->createdAt = $createdAt; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; @@ -143,12 +143,12 @@ public function setOrganization(?string $organization): self return $this; } - public function getOwner(): string + public function getOwner(): ?string { return $this->owner; } - public function setOwner(string $owner): self + public function setOwner(?string $owner): self { $this->owner = $owner; diff --git a/src/Model/PipelineCompilePipelineCommandInput.php b/src/Model/PipelineCompilePipelineCommandInput.php index 02385cf2..4a3b6fed 100644 --- a/src/Model/PipelineCompilePipelineCommandInput.php +++ b/src/Model/PipelineCompilePipelineCommandInput.php @@ -5,16 +5,16 @@ class PipelineCompilePipelineCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; diff --git a/src/Model/PipelineCompilePipelineCommandInputJsonld.php b/src/Model/PipelineCompilePipelineCommandInputJsonld.php index a851d873..63b849ae 100644 --- a/src/Model/PipelineCompilePipelineCommandInputJsonld.php +++ b/src/Model/PipelineCompilePipelineCommandInputJsonld.php @@ -5,19 +5,19 @@ class PipelineCompilePipelineCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; @@ -39,36 +39,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; diff --git a/src/Model/PipelineCompilePipelineCommandJsonldRead.php b/src/Model/PipelineCompilePipelineCommandJsonldRead.php index 8b0117fd..81317b72 100644 --- a/src/Model/PipelineCompilePipelineCommandJsonldRead.php +++ b/src/Model/PipelineCompilePipelineCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineCompilePipelineCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineDeclarePipelineCommandInput.php b/src/Model/PipelineDeclarePipelineCommandInput.php index e76154bd..0355bdb6 100644 --- a/src/Model/PipelineDeclarePipelineCommandInput.php +++ b/src/Model/PipelineDeclarePipelineCommandInput.php @@ -5,15 +5,15 @@ class PipelineDeclarePipelineCommandInput { /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $workspace; /** @@ -21,44 +21,44 @@ class PipelineDeclarePipelineCommandInput */ protected $organization; /** - * @var StepInput[] + * @var StepInput[]|null */ protected $steps; /** - * @var AutoloadInput[] + * @var AutoloadInput[]|null */ protected $autoloads; - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getWorkspace(): string + public function getWorkspace(): ?string { return $this->workspace; } - public function setWorkspace(string $workspace): self + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; @@ -78,17 +78,17 @@ public function setOrganization(?string $organization): self } /** - * @return StepInput[] + * @return StepInput[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param StepInput[] $steps + * @param StepInput[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; @@ -96,17 +96,17 @@ public function setSteps(array $steps): self } /** - * @return AutoloadInput[] + * @return AutoloadInput[]|null */ - public function getAutoloads(): array + public function getAutoloads(): ?array { return $this->autoloads; } /** - * @param AutoloadInput[] $autoloads + * @param AutoloadInput[]|null $autoloads */ - public function setAutoloads(array $autoloads): self + public function setAutoloads(?array $autoloads): self { $this->autoloads = $autoloads; diff --git a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php b/src/Model/PipelineDeclarePipelineCommandInputJsonld.php index a5dabe99..3403f125 100644 --- a/src/Model/PipelineDeclarePipelineCommandInputJsonld.php +++ b/src/Model/PipelineDeclarePipelineCommandInputJsonld.php @@ -5,27 +5,27 @@ class PipelineDeclarePipelineCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $workspace; /** @@ -33,11 +33,11 @@ class PipelineDeclarePipelineCommandInputJsonld */ protected $organization; /** - * @var StepInputJsonld[] + * @var StepInputJsonld[]|null */ protected $steps; /** - * @var AutoloadInputJsonld[] + * @var AutoloadInputJsonld[]|null */ protected $autoloads; @@ -59,60 +59,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getWorkspace(): string + public function getWorkspace(): ?string { return $this->workspace; } - public function setWorkspace(string $workspace): self + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; @@ -132,17 +132,17 @@ public function setOrganization(?string $organization): self } /** - * @return StepInputJsonld[] + * @return StepInputJsonld[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param StepInputJsonld[] $steps + * @param StepInputJsonld[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; @@ -150,17 +150,17 @@ public function setSteps(array $steps): self } /** - * @return AutoloadInputJsonld[] + * @return AutoloadInputJsonld[]|null */ - public function getAutoloads(): array + public function getAutoloads(): ?array { return $this->autoloads; } /** - * @param AutoloadInputJsonld[] $autoloads + * @param AutoloadInputJsonld[]|null $autoloads */ - public function setAutoloads(array $autoloads): self + public function setAutoloads(?array $autoloads): self { $this->autoloads = $autoloads; diff --git a/src/Model/PipelineDeclarePipelineCommandJsonldRead.php b/src/Model/PipelineDeclarePipelineCommandJsonldRead.php index c0c9cc7f..bbf711e8 100644 --- a/src/Model/PipelineDeclarePipelineCommandJsonldRead.php +++ b/src/Model/PipelineDeclarePipelineCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineDeclarePipelineCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineIdJsonld.php b/src/Model/PipelineIdJsonld.php index 90317907..af6fdbb1 100644 --- a/src/Model/PipelineIdJsonld.php +++ b/src/Model/PipelineIdJsonld.php @@ -5,15 +5,15 @@ class PipelineIdJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineJsonldRead.php b/src/Model/PipelineJsonldRead.php index 7df48cba..d654f1ad 100644 --- a/src/Model/PipelineJsonldRead.php +++ b/src/Model/PipelineJsonldRead.php @@ -5,19 +5,19 @@ class PipelineJsonldRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var bool + * @var bool|null */ protected $isSoftDeleted; /** @@ -25,52 +25,52 @@ class PipelineJsonldRead */ protected $compiledAt; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $runtimeType; /** - * @var string[] + * @var string[]|null */ protected $runtime; /** - * @var string[] + * @var string[]|null */ protected $autoload; /** - * @var string[] + * @var string[]|null */ protected $steps; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -95,12 +95,12 @@ public function setContext($context): self return $this; } - public function getIsSoftDeleted(): bool + public function getIsSoftDeleted(): ?bool { return $this->isSoftDeleted; } - public function setIsSoftDeleted(bool $isSoftDeleted): self + public function setIsSoftDeleted(?bool $isSoftDeleted): self { $this->isSoftDeleted = $isSoftDeleted; @@ -119,48 +119,48 @@ public function setCompiledAt(?\DateTime $compiledAt): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getRuntimeType(): string + public function getRuntimeType(): ?string { return $this->runtimeType; } - public function setRuntimeType(string $runtimeType): self + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; @@ -168,17 +168,17 @@ public function setRuntimeType(string $runtimeType): self } /** - * @return string[] + * @return string[]|null */ - public function getRuntime(): array + public function getRuntime(): ?array { return $this->runtime; } /** - * @param string[] $runtime + * @param string[]|null $runtime */ - public function setRuntime(array $runtime): self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; @@ -186,17 +186,17 @@ public function setRuntime(array $runtime): self } /** - * @return string[] + * @return string[]|null */ - public function getAutoload(): array + public function getAutoload(): ?array { return $this->autoload; } /** - * @param string[] $autoload + * @param string[]|null $autoload */ - public function setAutoload(array $autoload): self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; @@ -204,17 +204,17 @@ public function setAutoload(array $autoload): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php b/src/Model/PipelineMoveAfterPipelineStepCommandInput.php index df29cdca..cafbe4e6 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInput.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandInput.php @@ -5,48 +5,48 @@ class PipelineMoveAfterPipelineStepCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $previous; /** - * @var string + * @var string|null */ protected $code; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getPrevious(): string + public function getPrevious(): ?string { return $this->previous; } - public function setPrevious(string $previous): self + public function setPrevious(?string $previous): self { $this->previous = $previous; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php index 92982053..6b58c599 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandInputJsonld.php @@ -5,27 +5,27 @@ class PipelineMoveAfterPipelineStepCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $previous; /** - * @var string + * @var string|null */ protected $code; @@ -47,60 +47,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getPrevious(): string + public function getPrevious(): ?string { return $this->previous; } - public function setPrevious(string $previous): self + public function setPrevious(?string $previous): self { $this->previous = $previous; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; diff --git a/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php b/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php index 7bb835a0..879b9232 100644 --- a/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineMoveAfterPipelineStepCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineMoveAfterPipelineStepCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php b/src/Model/PipelineMoveBeforePipelineStepCommandInput.php index f7223426..570cccc7 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInput.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandInput.php @@ -5,48 +5,48 @@ class PipelineMoveBeforePipelineStepCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $next; /** - * @var string + * @var string|null */ protected $code; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getNext(): string + public function getNext(): ?string { return $this->next; } - public function setNext(string $next): self + public function setNext(?string $next): self { $this->next = $next; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php index fcf5870f..e8b2abe7 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandInputJsonld.php @@ -5,27 +5,27 @@ class PipelineMoveBeforePipelineStepCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $next; /** - * @var string + * @var string|null */ protected $code; @@ -47,60 +47,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getNext(): string + public function getNext(): ?string { return $this->next; } - public function setNext(string $next): self + public function setNext(?string $next): self { $this->next = $next; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; diff --git a/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php b/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php index a2bc3815..103942e3 100644 --- a/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineMoveBeforePipelineStepCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineMoveBeforePipelineStepCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineRead.php b/src/Model/PipelineRead.php index b0d100f9..b8399913 100644 --- a/src/Model/PipelineRead.php +++ b/src/Model/PipelineRead.php @@ -5,7 +5,7 @@ class PipelineRead { /** - * @var bool + * @var bool|null */ protected $isSoftDeleted; /** @@ -13,40 +13,40 @@ class PipelineRead */ protected $compiledAt; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $runtimeType; /** - * @var string[] + * @var string[]|null */ protected $runtime; /** - * @var string[] + * @var string[]|null */ protected $autoload; /** - * @var string[] + * @var string[]|null */ protected $steps; - public function getIsSoftDeleted(): bool + public function getIsSoftDeleted(): ?bool { return $this->isSoftDeleted; } - public function setIsSoftDeleted(bool $isSoftDeleted): self + public function setIsSoftDeleted(?bool $isSoftDeleted): self { $this->isSoftDeleted = $isSoftDeleted; @@ -65,48 +65,48 @@ public function setCompiledAt(?\DateTime $compiledAt): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getRuntimeType(): string + public function getRuntimeType(): ?string { return $this->runtimeType; } - public function setRuntimeType(string $runtimeType): self + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; @@ -114,17 +114,17 @@ public function setRuntimeType(string $runtimeType): self } /** - * @return string[] + * @return string[]|null */ - public function getRuntime(): array + public function getRuntime(): ?array { return $this->runtime; } /** - * @param string[] $runtime + * @param string[]|null $runtime */ - public function setRuntime(array $runtime): self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; @@ -132,17 +132,17 @@ public function setRuntime(array $runtime): self } /** - * @return string[] + * @return string[]|null */ - public function getAutoload(): array + public function getAutoload(): ?array { return $this->autoload; } /** - * @param string[] $autoload + * @param string[]|null $autoload */ - public function setAutoload(array $autoload): self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; @@ -150,17 +150,17 @@ public function setAutoload(array $autoload): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php b/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php index 93d5dfe1..4a757e50 100644 --- a/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php +++ b/src/Model/PipelineRemovePipelineStepProbeCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineRemovePipelineStepProbeCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineReorderPipelineStepsCommandInput.php b/src/Model/PipelineReorderPipelineStepsCommandInput.php index dcc702c0..07417cb3 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInput.php +++ b/src/Model/PipelineReorderPipelineStepsCommandInput.php @@ -5,20 +5,20 @@ class PipelineReorderPipelineStepsCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string[] + * @var string[]|null */ protected $codes; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; @@ -26,17 +26,17 @@ public function setPipeline(string $pipeline): self } /** - * @return string[] + * @return string[]|null */ - public function getCodes(): array + public function getCodes(): ?array { return $this->codes; } /** - * @param string[] $codes + * @param string[]|null $codes */ - public function setCodes(array $codes): self + public function setCodes(?array $codes): self { $this->codes = $codes; diff --git a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php b/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php index 8b60710a..50366cbb 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php +++ b/src/Model/PipelineReorderPipelineStepsCommandInputJsonld.php @@ -5,23 +5,23 @@ class PipelineReorderPipelineStepsCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string[] + * @var string[]|null */ protected $codes; @@ -43,36 +43,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; @@ -80,17 +80,17 @@ public function setPipeline(string $pipeline): self } /** - * @return string[] + * @return string[]|null */ - public function getCodes(): array + public function getCodes(): ?array { return $this->codes; } /** - * @param string[] $codes + * @param string[]|null $codes */ - public function setCodes(array $codes): self + public function setCodes(?array $codes): self { $this->codes = $codes; diff --git a/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php b/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php index b8ffbd6b..976b0306 100644 --- a/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php +++ b/src/Model/PipelineReorderPipelineStepsCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineReorderPipelineStepsCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineReplacePipelineStepCommandInput.php b/src/Model/PipelineReplacePipelineStepCommandInput.php index 1f5dd90a..4e57364b 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInput.php +++ b/src/Model/PipelineReplacePipelineStepCommandInput.php @@ -5,72 +5,72 @@ class PipelineReplacePipelineStepCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $former; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[] + * @var string[]|null */ protected $configuration; /** - * @var Probe[] + * @var Probe[]|null */ protected $probes; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getFormer(): string + public function getFormer(): ?string { return $this->former; } - public function setFormer(string $former): self + public function setFormer(?string $former): self { $this->former = $former; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -78,17 +78,17 @@ public function setLabel(string $label): self } /** - * @return string[] + * @return string[]|null */ - public function getConfiguration(): array + public function getConfiguration(): ?array { return $this->configuration; } /** - * @param string[] $configuration + * @param string[]|null $configuration */ - public function setConfiguration(array $configuration): self + public function setConfiguration(?array $configuration): self { $this->configuration = $configuration; @@ -96,17 +96,17 @@ public function setConfiguration(array $configuration): self } /** - * @return Probe[] + * @return Probe[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param Probe[] $probes + * @param Probe[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php b/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php index d7f78c4a..fd6ea966 100644 --- a/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php +++ b/src/Model/PipelineReplacePipelineStepCommandInputJsonld.php @@ -5,39 +5,39 @@ class PipelineReplacePipelineStepCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $former; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[] + * @var string[]|null */ protected $configuration; /** - * @var ProbeJsonld[] + * @var ProbeJsonld[]|null */ protected $probes; @@ -59,72 +59,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getFormer(): string + public function getFormer(): ?string { return $this->former; } - public function setFormer(string $former): self + public function setFormer(?string $former): self { $this->former = $former; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -132,17 +132,17 @@ public function setLabel(string $label): self } /** - * @return string[] + * @return string[]|null */ - public function getConfiguration(): array + public function getConfiguration(): ?array { return $this->configuration; } /** - * @param string[] $configuration + * @param string[]|null $configuration */ - public function setConfiguration(array $configuration): self + public function setConfiguration(?array $configuration): self { $this->configuration = $configuration; @@ -150,17 +150,17 @@ public function setConfiguration(array $configuration): self } /** - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param ProbeJsonld[] $probes + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php b/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php index 33400f49..0b59aad7 100644 --- a/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php +++ b/src/Model/PipelineReplacePipelineStepCommandJsonldRead.php @@ -5,15 +5,15 @@ class PipelineReplacePipelineStepCommandJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/PipelineStep.php b/src/Model/PipelineStep.php index dda11592..8ebf5407 100644 --- a/src/Model/PipelineStep.php +++ b/src/Model/PipelineStep.php @@ -5,88 +5,88 @@ class PipelineStep { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $code; /** - * @var int + * @var int|null */ protected $order; /** - * @var string + * @var string|null */ protected $label; /** - * @var AbstractPipeline + * @var AbstractPipeline|null */ protected $pipeline; /** - * @var string[] + * @var string[]|null */ protected $probes; /** - * @var string[] + * @var string[]|null */ protected $configuration; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getOrder(): int + public function getOrder(): ?int { return $this->order; } - public function setOrder(int $order): self + public function setOrder(?int $order): self { $this->order = $order; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getPipeline(): AbstractPipeline + public function getPipeline(): ?AbstractPipeline { return $this->pipeline; } - public function setPipeline(AbstractPipeline $pipeline): self + public function setPipeline(?AbstractPipeline $pipeline): self { $this->pipeline = $pipeline; @@ -94,17 +94,17 @@ public function setPipeline(AbstractPipeline $pipeline): self } /** - * @return string[] + * @return string[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param string[] $probes + * @param string[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; @@ -112,17 +112,17 @@ public function setProbes(array $probes): self } /** - * @return string[] + * @return string[]|null */ - public function getConfiguration(): array + public function getConfiguration(): ?array { return $this->configuration; } /** - * @param string[] $configuration + * @param string[]|null $configuration */ - public function setConfiguration(array $configuration): self + public function setConfiguration(?array $configuration): self { $this->configuration = $configuration; diff --git a/src/Model/PipelineStepJsonld.php b/src/Model/PipelineStepJsonld.php index d3d1e666..ec044713 100644 --- a/src/Model/PipelineStepJsonld.php +++ b/src/Model/PipelineStepJsonld.php @@ -5,64 +5,64 @@ class PipelineStepJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $code; /** - * @var int + * @var int|null */ protected $order; /** - * @var string + * @var string|null */ protected $label; /** - * @var AbstractPipelineJsonld + * @var AbstractPipelineJsonld|null */ protected $pipeline; /** - * @var string[] + * @var string[]|null */ protected $probes; /** - * @var string[] + * @var string[]|null */ protected $configuration; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -87,60 +87,60 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getOrder(): int + public function getOrder(): ?int { return $this->order; } - public function setOrder(int $order): self + public function setOrder(?int $order): self { $this->order = $order; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getPipeline(): AbstractPipelineJsonld + public function getPipeline(): ?AbstractPipelineJsonld { return $this->pipeline; } - public function setPipeline(AbstractPipelineJsonld $pipeline): self + public function setPipeline(?AbstractPipelineJsonld $pipeline): self { $this->pipeline = $pipeline; @@ -148,17 +148,17 @@ public function setPipeline(AbstractPipelineJsonld $pipeline): self } /** - * @return string[] + * @return string[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param string[] $probes + * @param string[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; @@ -166,17 +166,17 @@ public function setProbes(array $probes): self } /** - * @return string[] + * @return string[]|null */ - public function getConfiguration(): array + public function getConfiguration(): ?array { return $this->configuration; } /** - * @param string[] $configuration + * @param string[]|null $configuration */ - public function setConfiguration(array $configuration): self + public function setConfiguration(?array $configuration): self { $this->configuration = $configuration; diff --git a/src/Model/PipelineStepProbe.php b/src/Model/PipelineStepProbe.php index b13f9846..bee2f03c 100644 --- a/src/Model/PipelineStepProbe.php +++ b/src/Model/PipelineStepProbe.php @@ -5,80 +5,80 @@ class PipelineStepProbe { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $code; /** - * @var int + * @var int|null */ protected $order; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $step; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getOrder(): int + public function getOrder(): ?int { return $this->order; } - public function setOrder(int $order): self + public function setOrder(?int $order): self { $this->order = $order; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getStep(): string + public function getStep(): ?string { return $this->step; } - public function setStep(string $step): self + public function setStep(?string $step): self { $this->step = $step; diff --git a/src/Model/PipelineStepProbeJsonld.php b/src/Model/PipelineStepProbeJsonld.php index 6e963b31..a3d75557 100644 --- a/src/Model/PipelineStepProbeJsonld.php +++ b/src/Model/PipelineStepProbeJsonld.php @@ -5,56 +5,56 @@ class PipelineStepProbeJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $code; /** - * @var int + * @var int|null */ protected $order; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $step; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -79,60 +79,60 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getOrder(): int + public function getOrder(): ?int { return $this->order; } - public function setOrder(int $order): self + public function setOrder(?int $order): self { $this->order = $order; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getStep(): string + public function getStep(): ?string { return $this->step; } - public function setStep(string $step): self + public function setStep(?string $step): self { $this->step = $step; diff --git a/src/Model/PriceJsonld.php b/src/Model/PriceJsonld.php index 78072728..24aacaba 100644 --- a/src/Model/PriceJsonld.php +++ b/src/Model/PriceJsonld.php @@ -5,15 +5,15 @@ class PriceJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -39,24 +39,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/Probe.php b/src/Model/Probe.php index 0ca20893..0256b1c2 100644 --- a/src/Model/Probe.php +++ b/src/Model/Probe.php @@ -5,32 +5,32 @@ class Probe { /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; diff --git a/src/Model/ProbeJsonld.php b/src/Model/ProbeJsonld.php index df512cef..0a97a57b 100644 --- a/src/Model/ProbeJsonld.php +++ b/src/Model/ProbeJsonld.php @@ -5,23 +5,23 @@ class ProbeJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; @@ -43,48 +43,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; diff --git a/src/Model/ReferralCodeJsonldReferralCodeRead.php b/src/Model/ReferralCodeJsonldReferralCodeRead.php index 1a63d708..1b6d45b9 100644 --- a/src/Model/ReferralCodeJsonldReferralCodeRead.php +++ b/src/Model/ReferralCodeJsonldReferralCodeRead.php @@ -5,19 +5,19 @@ class ReferralCodeJsonldReferralCodeRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** @@ -25,32 +25,32 @@ class ReferralCodeJsonldReferralCodeRead */ protected $user; /** - * @var string + * @var string|null */ protected $code; /** - * @var string[] + * @var string[]|null */ protected $referralRequests; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -75,12 +75,12 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -99,12 +99,12 @@ public function setUser(?string $user): self return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; @@ -112,17 +112,17 @@ public function setCode(string $code): self } /** - * @return string[] + * @return string[]|null */ - public function getReferralRequests(): array + public function getReferralRequests(): ?array { return $this->referralRequests; } /** - * @param string[] $referralRequests + * @param string[]|null $referralRequests */ - public function setReferralRequests(array $referralRequests): self + public function setReferralRequests(?array $referralRequests): self { $this->referralRequests = $referralRequests; diff --git a/src/Model/ReferralCodeJsonldReferralCodeWrite.php b/src/Model/ReferralCodeJsonldReferralCodeWrite.php index daa9309a..7fde6b99 100644 --- a/src/Model/ReferralCodeJsonldReferralCodeWrite.php +++ b/src/Model/ReferralCodeJsonldReferralCodeWrite.php @@ -5,15 +5,15 @@ class ReferralCodeJsonldReferralCodeWrite { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -39,24 +39,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/ReferralCodeReferralCodeRead.php b/src/Model/ReferralCodeReferralCodeRead.php index aadeee89..0461ec26 100644 --- a/src/Model/ReferralCodeReferralCodeRead.php +++ b/src/Model/ReferralCodeReferralCodeRead.php @@ -5,7 +5,7 @@ class ReferralCodeReferralCodeRead { /** - * @var string + * @var string|null */ protected $id; /** @@ -13,20 +13,20 @@ class ReferralCodeReferralCodeRead */ protected $user; /** - * @var string + * @var string|null */ protected $code; /** - * @var string[] + * @var string[]|null */ protected $referralRequests; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -45,12 +45,12 @@ public function setUser(?string $user): self return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; @@ -58,17 +58,17 @@ public function setCode(string $code): self } /** - * @return string[] + * @return string[]|null */ - public function getReferralRequests(): array + public function getReferralRequests(): ?array { return $this->referralRequests; } /** - * @param string[] $referralRequests + * @param string[]|null $referralRequests */ - public function setReferralRequests(array $referralRequests): self + public function setReferralRequests(?array $referralRequests): self { $this->referralRequests = $referralRequests; diff --git a/src/Model/ReferralCodesGetResponse200.php b/src/Model/ReferralCodesGetResponse200.php index ceac4e4a..420f0e15 100644 --- a/src/Model/ReferralCodesGetResponse200.php +++ b/src/Model/ReferralCodesGetResponse200.php @@ -5,70 +5,70 @@ class ReferralCodesGetResponse200 { /** - * @var ReferralCodeJsonldReferralCodeRead[] + * @var ReferralCodeJsonldReferralCodeRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var ReferralCodesGetResponse200HydraView + * @var ReferralCodesGetResponse200HydraView|null */ protected $hydraView; /** - * @var ReferralCodesGetResponse200HydraSearch + * @var ReferralCodesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ReferralCodeJsonldReferralCodeRead[] + * @return ReferralCodeJsonldReferralCodeRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ReferralCodeJsonldReferralCodeRead[] $hydraMember + * @param ReferralCodeJsonldReferralCodeRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): ReferralCodesGetResponse200HydraView + public function getHydraView(): ?ReferralCodesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(ReferralCodesGetResponse200HydraView $hydraView): self + public function setHydraView(?ReferralCodesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): ReferralCodesGetResponse200HydraSearch + public function getHydraSearch(): ?ReferralCodesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(ReferralCodesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?ReferralCodesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/ReferralCodesGetResponse200HydraSearch.php b/src/Model/ReferralCodesGetResponse200HydraSearch.php index 33eff091..288972f1 100644 --- a/src/Model/ReferralCodesGetResponse200HydraSearch.php +++ b/src/Model/ReferralCodesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class ReferralCodesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var ReferralCodesGetResponse200HydraSearchHydraMappingItem[] + * @var ReferralCodesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return ReferralCodesGetResponse200HydraSearchHydraMappingItem[] + * @return ReferralCodesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param ReferralCodesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param ReferralCodesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php index 73ec8f34..c7628557 100644 --- a/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralCodesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class ReferralCodesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class ReferralCodesGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/ReferralCodesGetResponse200HydraView.php b/src/Model/ReferralCodesGetResponse200HydraView.php index 0216d166..2ffec598 100644 --- a/src/Model/ReferralCodesGetResponse200HydraView.php +++ b/src/Model/ReferralCodesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class ReferralCodesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200.php b/src/Model/ReferralOnPremiseRequestsGetResponse200.php index bf1561bf..31c3bc97 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200.php @@ -5,70 +5,70 @@ class ReferralOnPremiseRequestsGetResponse200 { /** - * @var OnPremiseRequestJsonldOnPremiseRequestRead[] + * @var OnPremiseRequestJsonldOnPremiseRequestRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var ReferralOnPremiseRequestsGetResponse200HydraView + * @var ReferralOnPremiseRequestsGetResponse200HydraView|null */ protected $hydraView; /** - * @var ReferralOnPremiseRequestsGetResponse200HydraSearch + * @var ReferralOnPremiseRequestsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return OnPremiseRequestJsonldOnPremiseRequestRead[] + * @return OnPremiseRequestJsonldOnPremiseRequestRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param OnPremiseRequestJsonldOnPremiseRequestRead[] $hydraMember + * @param OnPremiseRequestJsonldOnPremiseRequestRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): ReferralOnPremiseRequestsGetResponse200HydraView + public function getHydraView(): ?ReferralOnPremiseRequestsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(ReferralOnPremiseRequestsGetResponse200HydraView $hydraView): self + public function setHydraView(?ReferralOnPremiseRequestsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): ReferralOnPremiseRequestsGetResponse200HydraSearch + public function getHydraSearch(): ?ReferralOnPremiseRequestsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(ReferralOnPremiseRequestsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?ReferralOnPremiseRequestsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php index bf8023f3..38e2ad72 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class ReferralOnPremiseRequestsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[] + * @var ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[] + * @return ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php index 18baee98..dfd33353 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php index 8b2142d4..998110b3 100644 --- a/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php +++ b/src/Model/ReferralOnPremiseRequestsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class ReferralOnPremiseRequestsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/ReferralRequestJsonldReferralRequestRead.php b/src/Model/ReferralRequestJsonldReferralRequestRead.php index 5d4082bc..21b337ac 100644 --- a/src/Model/ReferralRequestJsonldReferralRequestRead.php +++ b/src/Model/ReferralRequestJsonldReferralRequestRead.php @@ -5,43 +5,43 @@ class ReferralRequestJsonldReferralRequestRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $userName; /** - * @var string + * @var string|null */ protected $companyName; /** - * @var \DateTime + * @var \DateTime|null */ protected $creationDate; /** @@ -53,7 +53,7 @@ class ReferralRequestJsonldReferralRequestRead */ protected $approver; /** - * @var string + * @var string|null */ protected $status = 'pending'; @@ -75,108 +75,108 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getUserName(): string + public function getUserName(): ?string { return $this->userName; } - public function setUserName(string $userName): self + public function setUserName(?string $userName): self { $this->userName = $userName; return $this; } - public function getCompanyName(): string + public function getCompanyName(): ?string { return $this->companyName; } - public function setCompanyName(string $companyName): self + public function setCompanyName(?string $companyName): self { $this->companyName = $companyName; return $this; } - public function getCreationDate(): \DateTime + public function getCreationDate(): ?\DateTime { return $this->creationDate; } - public function setCreationDate(\DateTime $creationDate): self + public function setCreationDate(?\DateTime $creationDate): self { $this->creationDate = $creationDate; @@ -207,12 +207,12 @@ public function setApprover(?string $approver): self return $this; } - public function getStatus(): string + public function getStatus(): ?string { return $this->status; } - public function setStatus(string $status): self + public function setStatus(?string $status): self { $this->status = $status; diff --git a/src/Model/ReferralRequestReferralRequestInput.php b/src/Model/ReferralRequestReferralRequestInput.php index c0757d92..41278d63 100644 --- a/src/Model/ReferralRequestReferralRequestInput.php +++ b/src/Model/ReferralRequestReferralRequestInput.php @@ -5,96 +5,96 @@ class ReferralRequestReferralRequestInput { /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $username; /** - * @var string + * @var string|null */ protected $companyName; /** - * @var string + * @var string|null */ protected $referralCode; - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getUsername(): string + public function getUsername(): ?string { return $this->username; } - public function setUsername(string $username): self + public function setUsername(?string $username): self { $this->username = $username; return $this; } - public function getCompanyName(): string + public function getCompanyName(): ?string { return $this->companyName; } - public function setCompanyName(string $companyName): self + public function setCompanyName(?string $companyName): self { $this->companyName = $companyName; return $this; } - public function getReferralCode(): string + public function getReferralCode(): ?string { return $this->referralCode; } - public function setReferralCode(string $referralCode): self + public function setReferralCode(?string $referralCode): self { $this->referralCode = $referralCode; diff --git a/src/Model/ReferralRequestReferralRequestInputJsonld.php b/src/Model/ReferralRequestReferralRequestInputJsonld.php index a1337182..ab640b19 100644 --- a/src/Model/ReferralRequestReferralRequestInputJsonld.php +++ b/src/Model/ReferralRequestReferralRequestInputJsonld.php @@ -5,39 +5,39 @@ class ReferralRequestReferralRequestInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $username; /** - * @var string + * @var string|null */ protected $companyName; /** - * @var string + * @var string|null */ protected $referralCode; @@ -59,96 +59,96 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getUsername(): string + public function getUsername(): ?string { return $this->username; } - public function setUsername(string $username): self + public function setUsername(?string $username): self { $this->username = $username; return $this; } - public function getCompanyName(): string + public function getCompanyName(): ?string { return $this->companyName; } - public function setCompanyName(string $companyName): self + public function setCompanyName(?string $companyName): self { $this->companyName = $companyName; return $this; } - public function getReferralCode(): string + public function getReferralCode(): ?string { return $this->referralCode; } - public function setReferralCode(string $referralCode): self + public function setReferralCode(?string $referralCode): self { $this->referralCode = $referralCode; diff --git a/src/Model/ReferralRequestReferralRequestRead.php b/src/Model/ReferralRequestReferralRequestRead.php index 93b3f61d..0b5dba69 100644 --- a/src/Model/ReferralRequestReferralRequestRead.php +++ b/src/Model/ReferralRequestReferralRequestRead.php @@ -5,31 +5,31 @@ class ReferralRequestReferralRequestRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $userName; /** - * @var string + * @var string|null */ protected $companyName; /** - * @var \DateTime + * @var \DateTime|null */ protected $creationDate; /** @@ -41,88 +41,88 @@ class ReferralRequestReferralRequestRead */ protected $approver; /** - * @var string + * @var string|null */ protected $status = 'pending'; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getUserName(): string + public function getUserName(): ?string { return $this->userName; } - public function setUserName(string $userName): self + public function setUserName(?string $userName): self { $this->userName = $userName; return $this; } - public function getCompanyName(): string + public function getCompanyName(): ?string { return $this->companyName; } - public function setCompanyName(string $companyName): self + public function setCompanyName(?string $companyName): self { $this->companyName = $companyName; return $this; } - public function getCreationDate(): \DateTime + public function getCreationDate(): ?\DateTime { return $this->creationDate; } - public function setCreationDate(\DateTime $creationDate): self + public function setCreationDate(?\DateTime $creationDate): self { $this->creationDate = $creationDate; @@ -153,12 +153,12 @@ public function setApprover(?string $approver): self return $this; } - public function getStatus(): string + public function getStatus(): ?string { return $this->status; } - public function setStatus(string $status): self + public function setStatus(?string $status): self { $this->status = $status; diff --git a/src/Model/ReferralRequestsGetResponse200.php b/src/Model/ReferralRequestsGetResponse200.php index 368887a1..f6b5909e 100644 --- a/src/Model/ReferralRequestsGetResponse200.php +++ b/src/Model/ReferralRequestsGetResponse200.php @@ -5,70 +5,70 @@ class ReferralRequestsGetResponse200 { /** - * @var ReferralRequestJsonldReferralRequestRead[] + * @var ReferralRequestJsonldReferralRequestRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var ReferralRequestsGetResponse200HydraView + * @var ReferralRequestsGetResponse200HydraView|null */ protected $hydraView; /** - * @var ReferralRequestsGetResponse200HydraSearch + * @var ReferralRequestsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ReferralRequestJsonldReferralRequestRead[] + * @return ReferralRequestJsonldReferralRequestRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ReferralRequestJsonldReferralRequestRead[] $hydraMember + * @param ReferralRequestJsonldReferralRequestRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): ReferralRequestsGetResponse200HydraView + public function getHydraView(): ?ReferralRequestsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(ReferralRequestsGetResponse200HydraView $hydraView): self + public function setHydraView(?ReferralRequestsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): ReferralRequestsGetResponse200HydraSearch + public function getHydraSearch(): ?ReferralRequestsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(ReferralRequestsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?ReferralRequestsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/ReferralRequestsGetResponse200HydraSearch.php b/src/Model/ReferralRequestsGetResponse200HydraSearch.php index 202d1942..c45f7f18 100644 --- a/src/Model/ReferralRequestsGetResponse200HydraSearch.php +++ b/src/Model/ReferralRequestsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class ReferralRequestsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var ReferralRequestsGetResponse200HydraSearchHydraMappingItem[] + * @var ReferralRequestsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return ReferralRequestsGetResponse200HydraSearchHydraMappingItem[] + * @return ReferralRequestsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param ReferralRequestsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param ReferralRequestsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php index bd74ce54..6dab0f31 100644 --- a/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/ReferralRequestsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class ReferralRequestsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class ReferralRequestsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/ReferralRequestsGetResponse200HydraView.php b/src/Model/ReferralRequestsGetResponse200HydraView.php index df27cdf2..99160d8a 100644 --- a/src/Model/ReferralRequestsGetResponse200HydraView.php +++ b/src/Model/ReferralRequestsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class ReferralRequestsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeActionsGetResponse200.php b/src/Model/RuntimeActionsGetResponse200.php index ea3b3fda..35bf71bd 100644 --- a/src/Model/RuntimeActionsGetResponse200.php +++ b/src/Model/RuntimeActionsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeActionsGetResponse200 { /** - * @var ActionJsonldRead[] + * @var ActionJsonldRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeActionsGetResponse200HydraView + * @var RuntimeActionsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeActionsGetResponse200HydraSearch + * @var RuntimeActionsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ActionJsonldRead[] + * @return ActionJsonldRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ActionJsonldRead[] $hydraMember + * @param ActionJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeActionsGetResponse200HydraView + public function getHydraView(): ?RuntimeActionsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeActionsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeActionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeActionsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeActionsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeActionsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeActionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeActionsGetResponse200HydraSearch.php b/src/Model/RuntimeActionsGetResponse200HydraSearch.php index 98480b77..387eb94e 100644 --- a/src/Model/RuntimeActionsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeActionsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeActionsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeActionsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeActionsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeActionsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeActionsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeActionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeActionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php index 4e8d61c5..dba32cf0 100644 --- a/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeActionsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeActionsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeActionsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeActionsGetResponse200HydraView.php b/src/Model/RuntimeActionsGetResponse200HydraView.php index c26fd86d..ebc0480b 100644 --- a/src/Model/RuntimeActionsGetResponse200HydraView.php +++ b/src/Model/RuntimeActionsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeActionsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php index ad8f20bf..3e14adc6 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200 { /** - * @var ExecutionPipelineStepJsonld[] + * @var ExecutionPipelineStepJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView + * @var RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch + * @var RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionPipelineStepJsonld[] + * @return ExecutionPipelineStepJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionPipelineStepJsonld[] $hydraMember + * @param ExecutionPipelineStepJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php index d7c3ff20..b037963d 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php index 2095987f..80e0857c 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMapp */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php index 5272c78c..b0eacc0d 100644 --- a/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php index d37e33a7..096f91b7 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionExecutionPipelinesGetResponse200 { /** - * @var ExecutionPipelineJsonld[] + * @var ExecutionPipelineJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionExecutionPipelinesGetResponse200HydraView + * @var RuntimeExecutionExecutionPipelinesGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch + * @var RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionPipelineJsonld[] + * @return ExecutionPipelineJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionPipelineJsonld[] $hydraMember + * @param ExecutionPipelineJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionExecutionPipelinesGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionExecutionPipelinesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionExecutionPipelinesGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionExecutionPipelinesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php index b9252403..679a7e39 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php index f7532140..0fcd3a34 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingIte */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php index 799417b9..899aebcc 100644 --- a/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionPipelinesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionExecutionPipelinesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php index ac39dd9f..0075f763 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200 { /** - * @var ExecutionWorkflowJobJsonld[] + * @var ExecutionWorkflowJobJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView + * @var RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch + * @var RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionWorkflowJobJsonld[] + * @return ExecutionWorkflowJobJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionWorkflowJobJsonld[] $hydraMember + * @param ExecutionWorkflowJobJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php index 4eaaf7fc..3756a968 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php index b0ddc02a..71dd1f33 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappi */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php index 0498ab1b..69e832ce 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php index bf3f2d2a..6d760ebd 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200 { /** - * @var ExecutionWorkflowJsonld[] + * @var ExecutionWorkflowJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionExecutionWorkflowsGetResponse200HydraView + * @var RuntimeExecutionExecutionWorkflowsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch + * @var RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionWorkflowJsonld[] + * @return ExecutionWorkflowJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionWorkflowJsonld[] $hydraMember + * @param ExecutionWorkflowJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionExecutionWorkflowsGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionExecutionWorkflowsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionExecutionWorkflowsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionExecutionWorkflowsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php index 05e8d9e7..3c6e7eb3 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php index 3f859322..e2fd203f 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingIte */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php index bc5931a0..5a7af6e7 100644 --- a/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionExecutionWorkflowsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionExecutionWorkflowsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php index b9b181e0..f3ac50ed 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200 { /** - * @var ExecutionWorkflowJobJsonld[] + * @var ExecutionWorkflowJobJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionIdWorkflowJobsGetResponse200HydraView + * @var RuntimeExecutionIdWorkflowJobsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch + * @var RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionWorkflowJobJsonld[] + * @return ExecutionWorkflowJobJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionWorkflowJobJsonld[] $hydraMember + * @param ExecutionWorkflowJobJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionIdWorkflowJobsGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionIdWorkflowJobsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionIdWorkflowJobsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionIdWorkflowJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php index 601a862c..e7156ac0 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php index dbdda2b5..5a39c3ef 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php index c7f26c38..02cd85a8 100644 --- a/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionIdWorkflowJobsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionIdWorkflowJobsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php index 6e24668c..d258275e 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200 { /** - * @var ExecutionPipelineStepJsonld[] + * @var ExecutionPipelineStepJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView + * @var RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch + * @var RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionPipelineStepJsonld[] + * @return ExecutionPipelineStepJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionPipelineStepJsonld[] $hydraMember + * @param ExecutionPipelineStepJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php index 6cd19355..566449ac 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php index 247d8a89..9b96e5e1 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingIte */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php index b37c8a1e..6fa8cd09 100644 --- a/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php index 8ccfaac3..628327b1 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionPipelineJobsGetResponse200 { /** - * @var ExecutionPipelineJobJsonld[] + * @var ExecutionPipelineJobJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionPipelineJobsGetResponse200HydraView + * @var RuntimeExecutionPipelineJobsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionPipelineJobsGetResponse200HydraSearch + * @var RuntimeExecutionPipelineJobsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionPipelineJobJsonld[] + * @return ExecutionPipelineJobJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionPipelineJobJsonld[] $hydraMember + * @param ExecutionPipelineJobJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionPipelineJobsGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionPipelineJobsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionPipelineJobsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionPipelineJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionPipelineJobsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionPipelineJobsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionPipelineJobsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionPipelineJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php index bebe1eb7..d6ba67dc 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php index f362949b..8fc20b52 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php index 6bb91737..e9797be8 100644 --- a/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionPipelineJobsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionPipelineJobsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php index d4f7f816..8b1f3044 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200 { /** - * @var ExecutionPipelineStepJsonld[] + * @var ExecutionPipelineStepJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView + * @var RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch + * @var RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionPipelineStepJsonld[] + * @return ExecutionPipelineStepJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionPipelineStepJsonld[] $hydraMember + * @param ExecutionPipelineStepJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php index 96963bff..efbea750 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php index ed0889cb..b5966603 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200H */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php index 9e9ab7a8..39d16a7f 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php index 0d36f5d4..52ed392e 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200 { /** - * @var ExecutionWorkflowJobJsonld[] + * @var ExecutionWorkflowJobJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView + * @var RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch + * @var RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionWorkflowJobJsonld[] + * @return ExecutionWorkflowJobJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionWorkflowJobJsonld[] $hydraMember + * @param ExecutionWorkflowJobJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php index 0381812f..0d22106d 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php index 9fa36624..66c06a6c 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydr */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php index a7470dc6..81f91458 100644 --- a/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeExecutionsGetResponse200.php b/src/Model/RuntimeExecutionsGetResponse200.php index 5c77f868..7753ae4d 100644 --- a/src/Model/RuntimeExecutionsGetResponse200.php +++ b/src/Model/RuntimeExecutionsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeExecutionsGetResponse200 { /** - * @var ExecutionJsonldRead[] + * @var ExecutionJsonldRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeExecutionsGetResponse200HydraView + * @var RuntimeExecutionsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeExecutionsGetResponse200HydraSearch + * @var RuntimeExecutionsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionJsonldRead[] + * @return ExecutionJsonldRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionJsonldRead[] $hydraMember + * @param ExecutionJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeExecutionsGetResponse200HydraView + public function getHydraView(): ?RuntimeExecutionsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeExecutionsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeExecutionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeExecutionsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeExecutionsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeExecutionsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeExecutionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php b/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php index 601712bb..9d2b5bbb 100644 --- a/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeExecutionsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeExecutionsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php index d95f8c2e..8cd35d3f 100644 --- a/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeExecutionsGetResponse200HydraView.php b/src/Model/RuntimeExecutionsGetResponse200HydraView.php index 74c811f4..9707c566 100644 --- a/src/Model/RuntimeExecutionsGetResponse200HydraView.php +++ b/src/Model/RuntimeExecutionsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeExecutionsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200.php index dd85de0b..df5c37b1 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimePipelineIdCompilationsGetResponse200 { /** - * @var PipelineCompilationJsonld[] + * @var PipelineCompilationJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimePipelineIdCompilationsGetResponse200HydraView + * @var RuntimePipelineIdCompilationsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimePipelineIdCompilationsGetResponse200HydraSearch + * @var RuntimePipelineIdCompilationsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return PipelineCompilationJsonld[] + * @return PipelineCompilationJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param PipelineCompilationJsonld[] $hydraMember + * @param PipelineCompilationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimePipelineIdCompilationsGetResponse200HydraView + public function getHydraView(): ?RuntimePipelineIdCompilationsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimePipelineIdCompilationsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimePipelineIdCompilationsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimePipelineIdCompilationsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimePipelineIdCompilationsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimePipelineIdCompilationsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimePipelineIdCompilationsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php index f9551857..086b5691 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimePipelineIdCompilationsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php index 1a42e77f..6b70a815 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php index 0caf1c25..be1e162a 100644 --- a/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineIdCompilationsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimePipelineIdCompilationsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200.php index 878e214b..3bbb586c 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200.php @@ -5,70 +5,70 @@ class RuntimePipelineStepIdProbesGetResponse200 { /** - * @var PipelineStepProbeJsonld[] + * @var PipelineStepProbeJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimePipelineStepIdProbesGetResponse200HydraView + * @var RuntimePipelineStepIdProbesGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimePipelineStepIdProbesGetResponse200HydraSearch + * @var RuntimePipelineStepIdProbesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return PipelineStepProbeJsonld[] + * @return PipelineStepProbeJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param PipelineStepProbeJsonld[] $hydraMember + * @param PipelineStepProbeJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimePipelineStepIdProbesGetResponse200HydraView + public function getHydraView(): ?RuntimePipelineStepIdProbesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimePipelineStepIdProbesGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimePipelineStepIdProbesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimePipelineStepIdProbesGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimePipelineStepIdProbesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimePipelineStepIdProbesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimePipelineStepIdProbesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php index ef10ad7f..b9e7ad7e 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimePipelineStepIdProbesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php index c4566c93..20aafccc 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php index 59d82886..bdb7026f 100644 --- a/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepIdProbesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimePipelineStepIdProbesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200.php b/src/Model/RuntimePipelineStepProbesGetResponse200.php index ba4f57cb..25e258d5 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200.php @@ -5,70 +5,70 @@ class RuntimePipelineStepProbesGetResponse200 { /** - * @var PipelineStepProbeJsonld[] + * @var PipelineStepProbeJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimePipelineStepProbesGetResponse200HydraView + * @var RuntimePipelineStepProbesGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimePipelineStepProbesGetResponse200HydraSearch + * @var RuntimePipelineStepProbesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return PipelineStepProbeJsonld[] + * @return PipelineStepProbeJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param PipelineStepProbeJsonld[] $hydraMember + * @param PipelineStepProbeJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimePipelineStepProbesGetResponse200HydraView + public function getHydraView(): ?RuntimePipelineStepProbesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimePipelineStepProbesGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimePipelineStepProbesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimePipelineStepProbesGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimePipelineStepProbesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimePipelineStepProbesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimePipelineStepProbesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php index ecb2d4d8..b0e890ed 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimePipelineStepProbesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php index 0d1f94c3..ce61db6b 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php b/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php index ccabf7d5..cdacd09a 100644 --- a/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepProbesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimePipelineStepProbesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimePipelineStepsGetResponse200.php b/src/Model/RuntimePipelineStepsGetResponse200.php index e09b6fdd..e72de402 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200.php +++ b/src/Model/RuntimePipelineStepsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimePipelineStepsGetResponse200 { /** - * @var PipelineStepJsonld[] + * @var PipelineStepJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimePipelineStepsGetResponse200HydraView + * @var RuntimePipelineStepsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimePipelineStepsGetResponse200HydraSearch + * @var RuntimePipelineStepsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return PipelineStepJsonld[] + * @return PipelineStepJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param PipelineStepJsonld[] $hydraMember + * @param PipelineStepJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimePipelineStepsGetResponse200HydraView + public function getHydraView(): ?RuntimePipelineStepsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimePipelineStepsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimePipelineStepsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimePipelineStepsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimePipelineStepsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimePipelineStepsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimePipelineStepsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php b/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php index 423a1ab4..4ef404fb 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelineStepsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimePipelineStepsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php index 3fc6ec77..7f07c80c 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimePipelineStepsGetResponse200HydraView.php b/src/Model/RuntimePipelineStepsGetResponse200HydraView.php index 0fdd1c98..2ed0ee75 100644 --- a/src/Model/RuntimePipelineStepsGetResponse200HydraView.php +++ b/src/Model/RuntimePipelineStepsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimePipelineStepsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200.php b/src/Model/RuntimePipelinesCompilationGetResponse200.php index c5d10421..4ea93876 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200.php @@ -5,70 +5,70 @@ class RuntimePipelinesCompilationGetResponse200 { /** - * @var PipelineCompilationJsonld[] + * @var PipelineCompilationJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimePipelinesCompilationGetResponse200HydraView + * @var RuntimePipelinesCompilationGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimePipelinesCompilationGetResponse200HydraSearch + * @var RuntimePipelinesCompilationGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return PipelineCompilationJsonld[] + * @return PipelineCompilationJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param PipelineCompilationJsonld[] $hydraMember + * @param PipelineCompilationJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimePipelinesCompilationGetResponse200HydraView + public function getHydraView(): ?RuntimePipelinesCompilationGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimePipelinesCompilationGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimePipelinesCompilationGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimePipelinesCompilationGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimePipelinesCompilationGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimePipelinesCompilationGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimePipelinesCompilationGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php index 0baeac08..985460c7 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimePipelinesCompilationGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php index 8060072f..195f470d 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php b/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php index a19725ce..82e243b2 100644 --- a/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php +++ b/src/Model/RuntimePipelinesCompilationGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimePipelinesCompilationGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimePipelinesGetResponse200.php b/src/Model/RuntimePipelinesGetResponse200.php index e2b1a411..8fea5851 100644 --- a/src/Model/RuntimePipelinesGetResponse200.php +++ b/src/Model/RuntimePipelinesGetResponse200.php @@ -5,70 +5,70 @@ class RuntimePipelinesGetResponse200 { /** - * @var PipelineJsonldRead[] + * @var PipelineJsonldRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimePipelinesGetResponse200HydraView + * @var RuntimePipelinesGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimePipelinesGetResponse200HydraSearch + * @var RuntimePipelinesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return PipelineJsonldRead[] + * @return PipelineJsonldRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param PipelineJsonldRead[] $hydraMember + * @param PipelineJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimePipelinesGetResponse200HydraView + public function getHydraView(): ?RuntimePipelinesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimePipelinesGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimePipelinesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimePipelinesGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimePipelinesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimePipelinesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimePipelinesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimePipelinesGetResponse200HydraSearch.php b/src/Model/RuntimePipelinesGetResponse200HydraSearch.php index ff8cbd74..f53e0f93 100644 --- a/src/Model/RuntimePipelinesGetResponse200HydraSearch.php +++ b/src/Model/RuntimePipelinesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimePipelinesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimePipelinesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php index 00a34290..b474a72f 100644 --- a/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimePipelinesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimePipelinesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimePipelinesGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimePipelinesGetResponse200HydraView.php b/src/Model/RuntimePipelinesGetResponse200HydraView.php index 9dfc696b..80c8078f 100644 --- a/src/Model/RuntimePipelinesGetResponse200HydraView.php +++ b/src/Model/RuntimePipelinesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimePipelinesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php index d88c9213..7a7ada79 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeScheduleIdExecutionsGetResponse200 { /** - * @var ExecutionJsonldRead[] + * @var ExecutionJsonldRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeScheduleIdExecutionsGetResponse200HydraView + * @var RuntimeScheduleIdExecutionsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeScheduleIdExecutionsGetResponse200HydraSearch + * @var RuntimeScheduleIdExecutionsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ExecutionJsonldRead[] + * @return ExecutionJsonldRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ExecutionJsonldRead[] $hydraMember + * @param ExecutionJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeScheduleIdExecutionsGetResponse200HydraView + public function getHydraView(): ?RuntimeScheduleIdExecutionsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeScheduleIdExecutionsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeScheduleIdExecutionsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeScheduleIdExecutionsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeScheduleIdExecutionsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeScheduleIdExecutionsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeScheduleIdExecutionsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php index f5ed7e00..23488dcc 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php index ba8bd52d..89296495 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php index 3e6b2d99..62d4fa66 100644 --- a/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php +++ b/src/Model/RuntimeScheduleIdExecutionsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeScheduleIdExecutionsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php index f119defe..1af5d142 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200 { /** - * @var WorkflowJobJsonldRead[] + * @var WorkflowJobJsonldRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeScheduleIdWorkflowJobsGetResponse200HydraView + * @var RuntimeScheduleIdWorkflowJobsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch + * @var RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return WorkflowJobJsonldRead[] + * @return WorkflowJobJsonldRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param WorkflowJobJsonldRead[] $hydraMember + * @param WorkflowJobJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeScheduleIdWorkflowJobsGetResponse200HydraView + public function getHydraView(): ?RuntimeScheduleIdWorkflowJobsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeScheduleIdWorkflowJobsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeScheduleIdWorkflowJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php index 0dba08bc..a7e9d1d8 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php index cbd89ac1..e73814ae 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php index 2025e667..43ba7d52 100644 --- a/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeScheduleIdWorkflowJobsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeScheduleIdWorkflowJobsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeSchedulesGetResponse200.php b/src/Model/RuntimeSchedulesGetResponse200.php index 8f1bbf37..1d89790e 100644 --- a/src/Model/RuntimeSchedulesGetResponse200.php +++ b/src/Model/RuntimeSchedulesGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeSchedulesGetResponse200 { /** - * @var ScheduleJsonld[] + * @var ScheduleJsonld[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeSchedulesGetResponse200HydraView + * @var RuntimeSchedulesGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeSchedulesGetResponse200HydraSearch + * @var RuntimeSchedulesGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return ScheduleJsonld[] + * @return ScheduleJsonld[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param ScheduleJsonld[] $hydraMember + * @param ScheduleJsonld[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeSchedulesGetResponse200HydraView + public function getHydraView(): ?RuntimeSchedulesGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeSchedulesGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeSchedulesGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeSchedulesGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeSchedulesGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeSchedulesGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeSchedulesGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php b/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php index 7154c2d4..ca7797c2 100644 --- a/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php +++ b/src/Model/RuntimeSchedulesGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeSchedulesGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php index 73297845..19dbb4fa 100644 --- a/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeSchedulesGetResponse200HydraView.php b/src/Model/RuntimeSchedulesGetResponse200HydraView.php index a0617683..c07d7e48 100644 --- a/src/Model/RuntimeSchedulesGetResponse200HydraView.php +++ b/src/Model/RuntimeSchedulesGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeSchedulesGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200.php index 4c5ed8fa..51f1e4ba 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeWorkflowIdJobsGetResponse200 { /** - * @var WorkflowJobJsonldRead[] + * @var WorkflowJobJsonldRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeWorkflowIdJobsGetResponse200HydraView + * @var RuntimeWorkflowIdJobsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeWorkflowIdJobsGetResponse200HydraSearch + * @var RuntimeWorkflowIdJobsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return WorkflowJobJsonldRead[] + * @return WorkflowJobJsonldRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param WorkflowJobJsonldRead[] $hydraMember + * @param WorkflowJobJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeWorkflowIdJobsGetResponse200HydraView + public function getHydraView(): ?RuntimeWorkflowIdJobsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeWorkflowIdJobsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeWorkflowIdJobsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeWorkflowIdJobsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeWorkflowIdJobsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeWorkflowIdJobsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeWorkflowIdJobsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php index d46f3c3e..d3a7df4d 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeWorkflowIdJobsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php index 44fd47f2..d2d2dd59 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php index d2154b28..df546b0e 100644 --- a/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowIdJobsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeWorkflowIdJobsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/RuntimeWorkflowsGetResponse200.php b/src/Model/RuntimeWorkflowsGetResponse200.php index 6bd30b29..f637a6cc 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200.php +++ b/src/Model/RuntimeWorkflowsGetResponse200.php @@ -5,70 +5,70 @@ class RuntimeWorkflowsGetResponse200 { /** - * @var WorkflowJsonldRead[] + * @var WorkflowJsonldRead[]|null */ protected $hydraMember; /** - * @var int + * @var int|null */ protected $hydraTotalItems; /** - * @var RuntimeWorkflowsGetResponse200HydraView + * @var RuntimeWorkflowsGetResponse200HydraView|null */ protected $hydraView; /** - * @var RuntimeWorkflowsGetResponse200HydraSearch + * @var RuntimeWorkflowsGetResponse200HydraSearch|null */ protected $hydraSearch; /** - * @return WorkflowJsonldRead[] + * @return WorkflowJsonldRead[]|null */ - public function getHydraMember(): array + public function getHydraMember(): ?array { return $this->hydraMember; } /** - * @param WorkflowJsonldRead[] $hydraMember + * @param WorkflowJsonldRead[]|null $hydraMember */ - public function setHydraMember(array $hydraMember): self + public function setHydraMember(?array $hydraMember): self { $this->hydraMember = $hydraMember; return $this; } - public function getHydraTotalItems(): int + public function getHydraTotalItems(): ?int { return $this->hydraTotalItems; } - public function setHydraTotalItems(int $hydraTotalItems): self + public function setHydraTotalItems(?int $hydraTotalItems): self { $this->hydraTotalItems = $hydraTotalItems; return $this; } - public function getHydraView(): RuntimeWorkflowsGetResponse200HydraView + public function getHydraView(): ?RuntimeWorkflowsGetResponse200HydraView { return $this->hydraView; } - public function setHydraView(RuntimeWorkflowsGetResponse200HydraView $hydraView): self + public function setHydraView(?RuntimeWorkflowsGetResponse200HydraView $hydraView): self { $this->hydraView = $hydraView; return $this; } - public function getHydraSearch(): RuntimeWorkflowsGetResponse200HydraSearch + public function getHydraSearch(): ?RuntimeWorkflowsGetResponse200HydraSearch { return $this->hydraSearch; } - public function setHydraSearch(RuntimeWorkflowsGetResponse200HydraSearch $hydraSearch): self + public function setHydraSearch(?RuntimeWorkflowsGetResponse200HydraSearch $hydraSearch): self { $this->hydraSearch = $hydraSearch; diff --git a/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php b/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php index 137683dd..01e7e528 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php +++ b/src/Model/RuntimeWorkflowsGetResponse200HydraSearch.php @@ -5,52 +5,52 @@ class RuntimeWorkflowsGetResponse200HydraSearch { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraTemplate; /** - * @var string + * @var string|null */ protected $hydraVariableRepresentation; /** - * @var RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[] + * @var RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null */ protected $hydraMapping; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraTemplate(): string + public function getHydraTemplate(): ?string { return $this->hydraTemplate; } - public function setHydraTemplate(string $hydraTemplate): self + public function setHydraTemplate(?string $hydraTemplate): self { $this->hydraTemplate = $hydraTemplate; return $this; } - public function getHydraVariableRepresentation(): string + public function getHydraVariableRepresentation(): ?string { return $this->hydraVariableRepresentation; } - public function setHydraVariableRepresentation(string $hydraVariableRepresentation): self + public function setHydraVariableRepresentation(?string $hydraVariableRepresentation): self { $this->hydraVariableRepresentation = $hydraVariableRepresentation; @@ -58,17 +58,17 @@ public function setHydraVariableRepresentation(string $hydraVariableRepresentati } /** - * @return RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[] + * @return RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null */ - public function getHydraMapping(): array + public function getHydraMapping(): ?array { return $this->hydraMapping; } /** - * @param RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[] $hydraMapping + * @param RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem[]|null $hydraMapping */ - public function setHydraMapping(array $hydraMapping): self + public function setHydraMapping(?array $hydraMapping): self { $this->hydraMapping = $hydraMapping; diff --git a/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php b/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php index 15e9c5c8..6e75a817 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php +++ b/src/Model/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem.php @@ -5,11 +5,11 @@ class RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem { /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $variable; /** @@ -17,28 +17,28 @@ class RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem */ protected $property; /** - * @var bool + * @var bool|null */ protected $required; - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getVariable(): string + public function getVariable(): ?string { return $this->variable; } - public function setVariable(string $variable): self + public function setVariable(?string $variable): self { $this->variable = $variable; @@ -57,12 +57,12 @@ public function setProperty(?string $property): self return $this; } - public function getRequired(): bool + public function getRequired(): ?bool { return $this->required; } - public function setRequired(bool $required): self + public function setRequired(?bool $required): self { $this->required = $required; diff --git a/src/Model/RuntimeWorkflowsGetResponse200HydraView.php b/src/Model/RuntimeWorkflowsGetResponse200HydraView.php index 66ed2775..1bbb0400 100644 --- a/src/Model/RuntimeWorkflowsGetResponse200HydraView.php +++ b/src/Model/RuntimeWorkflowsGetResponse200HydraView.php @@ -5,96 +5,96 @@ class RuntimeWorkflowsGetResponse200HydraView { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $hydraFirst; /** - * @var string + * @var string|null */ protected $hydraLast; /** - * @var string + * @var string|null */ protected $hydraPrevious; /** - * @var string + * @var string|null */ protected $hydraNext; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getHydraFirst(): string + public function getHydraFirst(): ?string { return $this->hydraFirst; } - public function setHydraFirst(string $hydraFirst): self + public function setHydraFirst(?string $hydraFirst): self { $this->hydraFirst = $hydraFirst; return $this; } - public function getHydraLast(): string + public function getHydraLast(): ?string { return $this->hydraLast; } - public function setHydraLast(string $hydraLast): self + public function setHydraLast(?string $hydraLast): self { $this->hydraLast = $hydraLast; return $this; } - public function getHydraPrevious(): string + public function getHydraPrevious(): ?string { return $this->hydraPrevious; } - public function setHydraPrevious(string $hydraPrevious): self + public function setHydraPrevious(?string $hydraPrevious): self { $this->hydraPrevious = $hydraPrevious; return $this; } - public function getHydraNext(): string + public function getHydraNext(): ?string { return $this->hydraNext; } - public function setHydraNext(string $hydraNext): self + public function setHydraNext(?string $hydraNext): self { $this->hydraNext = $hydraNext; diff --git a/src/Model/Schedule.php b/src/Model/Schedule.php index b7c42fbd..a6e2bbd4 100644 --- a/src/Model/Schedule.php +++ b/src/Model/Schedule.php @@ -5,11 +5,11 @@ class Schedule { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type = 'once'; /** @@ -29,7 +29,7 @@ class Schedule */ protected $recurrences; /** - * @var string[] + * @var string[]|null */ protected $executions; /** @@ -41,36 +41,36 @@ class Schedule */ protected $workflow; /** - * @var string + * @var string|null */ protected $owner; /** - * @var string + * @var string|null */ protected $workspace; /** - * @var string + * @var string|null */ protected $organization; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -126,17 +126,17 @@ public function setRecurrences(?int $recurrences): self } /** - * @return string[] + * @return string[]|null */ - public function getExecutions(): array + public function getExecutions(): ?array { return $this->executions; } /** - * @param string[] $executions + * @param string[]|null $executions */ - public function setExecutions(array $executions): self + public function setExecutions(?array $executions): self { $this->executions = $executions; @@ -167,36 +167,36 @@ public function setWorkflow(?string $workflow): self return $this; } - public function getOwner(): string + public function getOwner(): ?string { return $this->owner; } - public function setOwner(string $owner): self + public function setOwner(?string $owner): self { $this->owner = $owner; return $this; } - public function getWorkspace(): string + public function getWorkspace(): ?string { return $this->workspace; } - public function setWorkspace(string $workspace): self + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php index 800cfa93..94524074 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommand.php @@ -5,15 +5,15 @@ class ScheduleDeclarePipelineScheduleImmediateCommand { /** - * @var mixed + * @var mixed|null */ protected $id; /** - * @var mixed + * @var mixed|null */ protected $pipeline; /** - * @var mixed + * @var mixed|null */ protected $user; diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php index 692817e0..dfe9db47 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInput.php @@ -5,32 +5,32 @@ class ScheduleDeclarePipelineScheduleImmediateCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $organization; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php index 344405f7..deab41fa 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld.php @@ -5,23 +5,23 @@ class ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var string + * @var string|null */ protected $organization; @@ -43,48 +43,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; diff --git a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php index 769f087d..04cc96da 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleImmediateCommandJsonld.php @@ -5,27 +5,27 @@ class ScheduleDeclarePipelineScheduleImmediateCommandJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var ScheduleIdJsonld + * @var ScheduleIdJsonld|null */ protected $id2; /** - * @var PipelineIdJsonld + * @var PipelineIdJsonld|null */ protected $pipeline; /** - * @var UserIdJsonld + * @var UserIdJsonld|null */ protected $user; @@ -47,60 +47,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): ScheduleIdJsonld + public function getId2(): ?ScheduleIdJsonld { return $this->id2; } - public function setId2(ScheduleIdJsonld $id2): self + public function setId2(?ScheduleIdJsonld $id2): self { $this->id2 = $id2; return $this; } - public function getPipeline(): PipelineIdJsonld + public function getPipeline(): ?PipelineIdJsonld { return $this->pipeline; } - public function setPipeline(PipelineIdJsonld $pipeline): self + public function setPipeline(?PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getUser(): UserIdJsonld + public function getUser(): ?UserIdJsonld { return $this->user; } - public function setUser(UserIdJsonld $user): self + public function setUser(?UserIdJsonld $user): self { $this->user = $user; diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php index 8100c0a0..3d2acc8b 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommand.php @@ -5,19 +5,19 @@ class ScheduleDeclarePipelineScheduleOnceCommand { /** - * @var mixed + * @var mixed|null */ protected $id; /** - * @var mixed + * @var mixed|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $date; /** - * @var mixed + * @var mixed|null */ protected $user; @@ -57,12 +57,12 @@ public function setPipeline($pipeline): self return $this; } - public function getDate(): \DateTime + public function getDate(): ?\DateTime { return $this->date; } - public function setDate(\DateTime $date): self + public function setDate(?\DateTime $date): self { $this->date = $date; diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php index f2038e68..bb914154 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInput.php @@ -5,32 +5,32 @@ class ScheduleDeclarePipelineScheduleOnceCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $date; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getDate(): \DateTime + public function getDate(): ?\DateTime { return $this->date; } - public function setDate(\DateTime $date): self + public function setDate(?\DateTime $date): self { $this->date = $date; diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php index 79e5f73e..99a4b9a3 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandInputJsonld.php @@ -5,23 +5,23 @@ class ScheduleDeclarePipelineScheduleOnceCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $date; @@ -43,48 +43,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getDate(): \DateTime + public function getDate(): ?\DateTime { return $this->date; } - public function setDate(\DateTime $date): self + public function setDate(?\DateTime $date): self { $this->date = $date; diff --git a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php index d4489b90..fbdb9f7e 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleOnceCommandJsonld.php @@ -5,31 +5,31 @@ class ScheduleDeclarePipelineScheduleOnceCommandJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var ScheduleIdJsonld + * @var ScheduleIdJsonld|null */ protected $id2; /** - * @var PipelineIdJsonld + * @var PipelineIdJsonld|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $date; /** - * @var UserIdJsonld + * @var UserIdJsonld|null */ protected $user; @@ -51,72 +51,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): ScheduleIdJsonld + public function getId2(): ?ScheduleIdJsonld { return $this->id2; } - public function setId2(ScheduleIdJsonld $id2): self + public function setId2(?ScheduleIdJsonld $id2): self { $this->id2 = $id2; return $this; } - public function getPipeline(): PipelineIdJsonld + public function getPipeline(): ?PipelineIdJsonld { return $this->pipeline; } - public function setPipeline(PipelineIdJsonld $pipeline): self + public function setPipeline(?PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getDate(): \DateTime + public function getDate(): ?\DateTime { return $this->date; } - public function setDate(\DateTime $date): self + public function setDate(?\DateTime $date): self { $this->date = $date; return $this; } - public function getUser(): UserIdJsonld + public function getUser(): ?UserIdJsonld { return $this->user; } - public function setUser(UserIdJsonld $user): self + public function setUser(?UserIdJsonld $user): self { $this->user = $user; diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php index 9b29d332..795cf675 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommand.php @@ -5,27 +5,27 @@ class ScheduleDeclarePipelineScheduleTimesCommand { /** - * @var mixed + * @var mixed|null */ protected $id; /** - * @var mixed + * @var mixed|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $start; /** - * @var string + * @var string|null */ protected $interval; /** - * @var int + * @var int|null */ protected $recurrences; /** - * @var mixed + * @var mixed|null */ protected $user; @@ -65,36 +65,36 @@ public function setPipeline($pipeline): self return $this; } - public function getStart(): \DateTime + public function getStart(): ?\DateTime { return $this->start; } - public function setStart(\DateTime $start): self + public function setStart(?\DateTime $start): self { $this->start = $start; return $this; } - public function getInterval(): string + public function getInterval(): ?string { return $this->interval; } - public function setInterval(string $interval): self + public function setInterval(?string $interval): self { $this->interval = $interval; return $this; } - public function getRecurrences(): int + public function getRecurrences(): ?int { return $this->recurrences; } - public function setRecurrences(int $recurrences): self + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php index a42708aa..fab5b23a 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInput.php @@ -5,64 +5,64 @@ class ScheduleDeclarePipelineScheduleTimesCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $start; /** - * @var string + * @var string|null */ protected $interval; /** - * @var int + * @var int|null */ protected $recurrences; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getStart(): \DateTime + public function getStart(): ?\DateTime { return $this->start; } - public function setStart(\DateTime $start): self + public function setStart(?\DateTime $start): self { $this->start = $start; return $this; } - public function getInterval(): string + public function getInterval(): ?string { return $this->interval; } - public function setInterval(string $interval): self + public function setInterval(?string $interval): self { $this->interval = $interval; return $this; } - public function getRecurrences(): int + public function getRecurrences(): ?int { return $this->recurrences; } - public function setRecurrences(int $recurrences): self + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php index f7e9b577..ca8f2157 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandInputJsonld.php @@ -5,31 +5,31 @@ class ScheduleDeclarePipelineScheduleTimesCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $start; /** - * @var string + * @var string|null */ protected $interval; /** - * @var int + * @var int|null */ protected $recurrences; @@ -51,72 +51,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getStart(): \DateTime + public function getStart(): ?\DateTime { return $this->start; } - public function setStart(\DateTime $start): self + public function setStart(?\DateTime $start): self { $this->start = $start; return $this; } - public function getInterval(): string + public function getInterval(): ?string { return $this->interval; } - public function setInterval(string $interval): self + public function setInterval(?string $interval): self { $this->interval = $interval; return $this; } - public function getRecurrences(): int + public function getRecurrences(): ?int { return $this->recurrences; } - public function setRecurrences(int $recurrences): self + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; diff --git a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php index f769c14e..99b0529a 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleTimesCommandJsonld.php @@ -5,39 +5,39 @@ class ScheduleDeclarePipelineScheduleTimesCommandJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var ScheduleIdJsonld + * @var ScheduleIdJsonld|null */ protected $id2; /** - * @var PipelineIdJsonld + * @var PipelineIdJsonld|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $start; /** - * @var string + * @var string|null */ protected $interval; /** - * @var int + * @var int|null */ protected $recurrences; /** - * @var UserIdJsonld + * @var UserIdJsonld|null */ protected $user; @@ -59,96 +59,96 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): ScheduleIdJsonld + public function getId2(): ?ScheduleIdJsonld { return $this->id2; } - public function setId2(ScheduleIdJsonld $id2): self + public function setId2(?ScheduleIdJsonld $id2): self { $this->id2 = $id2; return $this; } - public function getPipeline(): PipelineIdJsonld + public function getPipeline(): ?PipelineIdJsonld { return $this->pipeline; } - public function setPipeline(PipelineIdJsonld $pipeline): self + public function setPipeline(?PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getStart(): \DateTime + public function getStart(): ?\DateTime { return $this->start; } - public function setStart(\DateTime $start): self + public function setStart(?\DateTime $start): self { $this->start = $start; return $this; } - public function getInterval(): string + public function getInterval(): ?string { return $this->interval; } - public function setInterval(string $interval): self + public function setInterval(?string $interval): self { $this->interval = $interval; return $this; } - public function getRecurrences(): int + public function getRecurrences(): ?int { return $this->recurrences; } - public function setRecurrences(int $recurrences): self + public function setRecurrences(?int $recurrences): self { $this->recurrences = $recurrences; return $this; } - public function getUser(): UserIdJsonld + public function getUser(): ?UserIdJsonld { return $this->user; } - public function setUser(UserIdJsonld $user): self + public function setUser(?UserIdJsonld $user): self { $this->user = $user; diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php index dfaedacc..15e0b957 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommand.php @@ -5,27 +5,27 @@ class ScheduleDeclarePipelineScheduleUntilCommand { /** - * @var mixed + * @var mixed|null */ protected $id; /** - * @var mixed + * @var mixed|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $start; /** - * @var string + * @var string|null */ protected $interval; /** - * @var \DateTime + * @var \DateTime|null */ protected $end; /** - * @var mixed + * @var mixed|null */ protected $user; @@ -65,36 +65,36 @@ public function setPipeline($pipeline): self return $this; } - public function getStart(): \DateTime + public function getStart(): ?\DateTime { return $this->start; } - public function setStart(\DateTime $start): self + public function setStart(?\DateTime $start): self { $this->start = $start; return $this; } - public function getInterval(): string + public function getInterval(): ?string { return $this->interval; } - public function setInterval(string $interval): self + public function setInterval(?string $interval): self { $this->interval = $interval; return $this; } - public function getEnd(): \DateTime + public function getEnd(): ?\DateTime { return $this->end; } - public function setEnd(\DateTime $end): self + public function setEnd(?\DateTime $end): self { $this->end = $end; diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php index 5cc3e48a..ce9f253d 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInput.php @@ -5,64 +5,64 @@ class ScheduleDeclarePipelineScheduleUntilCommandInput { /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $start; /** - * @var string + * @var string|null */ protected $interval; /** - * @var \DateTime + * @var \DateTime|null */ protected $end; - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getStart(): \DateTime + public function getStart(): ?\DateTime { return $this->start; } - public function setStart(\DateTime $start): self + public function setStart(?\DateTime $start): self { $this->start = $start; return $this; } - public function getInterval(): string + public function getInterval(): ?string { return $this->interval; } - public function setInterval(string $interval): self + public function setInterval(?string $interval): self { $this->interval = $interval; return $this; } - public function getEnd(): \DateTime + public function getEnd(): ?\DateTime { return $this->end; } - public function setEnd(\DateTime $end): self + public function setEnd(?\DateTime $end): self { $this->end = $end; diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php index a7843e32..9f1903d6 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandInputJsonld.php @@ -5,31 +5,31 @@ class ScheduleDeclarePipelineScheduleUntilCommandInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $start; /** - * @var string + * @var string|null */ protected $interval; /** - * @var \DateTime + * @var \DateTime|null */ protected $end; @@ -51,72 +51,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getPipeline(): string + public function getPipeline(): ?string { return $this->pipeline; } - public function setPipeline(string $pipeline): self + public function setPipeline(?string $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getStart(): \DateTime + public function getStart(): ?\DateTime { return $this->start; } - public function setStart(\DateTime $start): self + public function setStart(?\DateTime $start): self { $this->start = $start; return $this; } - public function getInterval(): string + public function getInterval(): ?string { return $this->interval; } - public function setInterval(string $interval): self + public function setInterval(?string $interval): self { $this->interval = $interval; return $this; } - public function getEnd(): \DateTime + public function getEnd(): ?\DateTime { return $this->end; } - public function setEnd(\DateTime $end): self + public function setEnd(?\DateTime $end): self { $this->end = $end; diff --git a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php index a18fc123..e4a262ae 100644 --- a/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php +++ b/src/Model/ScheduleDeclarePipelineScheduleUntilCommandJsonld.php @@ -5,39 +5,39 @@ class ScheduleDeclarePipelineScheduleUntilCommandJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var ScheduleIdJsonld + * @var ScheduleIdJsonld|null */ protected $id2; /** - * @var PipelineIdJsonld + * @var PipelineIdJsonld|null */ protected $pipeline; /** - * @var \DateTime + * @var \DateTime|null */ protected $start; /** - * @var string + * @var string|null */ protected $interval; /** - * @var \DateTime + * @var \DateTime|null */ protected $end; /** - * @var UserIdJsonld + * @var UserIdJsonld|null */ protected $user; @@ -59,96 +59,96 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): ScheduleIdJsonld + public function getId2(): ?ScheduleIdJsonld { return $this->id2; } - public function setId2(ScheduleIdJsonld $id2): self + public function setId2(?ScheduleIdJsonld $id2): self { $this->id2 = $id2; return $this; } - public function getPipeline(): PipelineIdJsonld + public function getPipeline(): ?PipelineIdJsonld { return $this->pipeline; } - public function setPipeline(PipelineIdJsonld $pipeline): self + public function setPipeline(?PipelineIdJsonld $pipeline): self { $this->pipeline = $pipeline; return $this; } - public function getStart(): \DateTime + public function getStart(): ?\DateTime { return $this->start; } - public function setStart(\DateTime $start): self + public function setStart(?\DateTime $start): self { $this->start = $start; return $this; } - public function getInterval(): string + public function getInterval(): ?string { return $this->interval; } - public function setInterval(string $interval): self + public function setInterval(?string $interval): self { $this->interval = $interval; return $this; } - public function getEnd(): \DateTime + public function getEnd(): ?\DateTime { return $this->end; } - public function setEnd(\DateTime $end): self + public function setEnd(?\DateTime $end): self { $this->end = $end; return $this; } - public function getUser(): UserIdJsonld + public function getUser(): ?UserIdJsonld { return $this->user; } - public function setUser(UserIdJsonld $user): self + public function setUser(?UserIdJsonld $user): self { $this->user = $user; diff --git a/src/Model/ScheduleIdJsonld.php b/src/Model/ScheduleIdJsonld.php index c1fdd097..912ef14c 100644 --- a/src/Model/ScheduleIdJsonld.php +++ b/src/Model/ScheduleIdJsonld.php @@ -5,15 +5,15 @@ class ScheduleIdJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/ScheduleJsonld.php b/src/Model/ScheduleJsonld.php index 2bb8d378..d649414f 100644 --- a/src/Model/ScheduleJsonld.php +++ b/src/Model/ScheduleJsonld.php @@ -5,23 +5,23 @@ class ScheduleJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $type2 = 'once'; /** @@ -41,7 +41,7 @@ class ScheduleJsonld */ protected $recurrences; /** - * @var string[] + * @var string[]|null */ protected $executions; /** @@ -53,36 +53,36 @@ class ScheduleJsonld */ protected $workflow; /** - * @var string + * @var string|null */ protected $owner; /** - * @var string + * @var string|null */ protected $workspace; /** - * @var string + * @var string|null */ protected $organization; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -107,24 +107,24 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getType2(): string + public function getType2(): ?string { return $this->type2; } - public function setType2(string $type2): self + public function setType2(?string $type2): self { $this->type2 = $type2; @@ -180,17 +180,17 @@ public function setRecurrences(?int $recurrences): self } /** - * @return string[] + * @return string[]|null */ - public function getExecutions(): array + public function getExecutions(): ?array { return $this->executions; } /** - * @param string[] $executions + * @param string[]|null $executions */ - public function setExecutions(array $executions): self + public function setExecutions(?array $executions): self { $this->executions = $executions; @@ -221,36 +221,36 @@ public function setWorkflow(?string $workflow): self return $this; } - public function getOwner(): string + public function getOwner(): ?string { return $this->owner; } - public function setOwner(string $owner): self + public function setOwner(?string $owner): self { $this->owner = $owner; return $this; } - public function getWorkspace(): string + public function getWorkspace(): ?string { return $this->workspace; } - public function setWorkspace(string $workspace): self + public function setWorkspace(?string $workspace): self { $this->workspace = $workspace; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; diff --git a/src/Model/Secret.php b/src/Model/Secret.php index 7e35cc6f..bd72daed 100644 --- a/src/Model/Secret.php +++ b/src/Model/Secret.php @@ -5,19 +5,19 @@ class Secret { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string + * @var string|null */ protected $organization; /** @@ -25,52 +25,52 @@ class Secret */ protected $workspace; /** - * @var mixed + * @var mixed|null */ protected $iterator; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; diff --git a/src/Model/SecretInput.php b/src/Model/SecretInput.php index a9f9d0fb..b65f539b 100644 --- a/src/Model/SecretInput.php +++ b/src/Model/SecretInput.php @@ -5,36 +5,36 @@ class SecretInput { /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string[] + * @var string[]|null */ protected $contents; - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; @@ -42,17 +42,17 @@ public function setDescription(string $description): self } /** - * @return string[] + * @return string[]|null */ - public function getContents(): iterable + public function getContents(): ?iterable { return $this->contents; } /** - * @param string[] $contents + * @param string[]|null $contents */ - public function setContents(iterable $contents): self + public function setContents(?iterable $contents): self { $this->contents = $contents; diff --git a/src/Model/SecretInputJsonld.php b/src/Model/SecretInputJsonld.php index ae66fd6e..db18d500 100644 --- a/src/Model/SecretInputJsonld.php +++ b/src/Model/SecretInputJsonld.php @@ -5,27 +5,27 @@ class SecretInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string[] + * @var string[]|null */ protected $contents; @@ -47,48 +47,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; @@ -96,17 +96,17 @@ public function setDescription(string $description): self } /** - * @return string[] + * @return string[]|null */ - public function getContents(): iterable + public function getContents(): ?iterable { return $this->contents; } /** - * @param string[] $contents + * @param string[]|null $contents */ - public function setContents(iterable $contents): self + public function setContents(?iterable $contents): self { $this->contents = $contents; diff --git a/src/Model/SecretJsonld.php b/src/Model/SecretJsonld.php index b13619f6..ce796943 100644 --- a/src/Model/SecretJsonld.php +++ b/src/Model/SecretJsonld.php @@ -5,31 +5,31 @@ class SecretJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string + * @var string|null */ protected $organization; /** @@ -37,28 +37,28 @@ class SecretJsonld */ protected $workspace; /** - * @var TraversableJsonld + * @var TraversableJsonld|null */ protected $iterator; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -83,48 +83,48 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; @@ -143,12 +143,12 @@ public function setWorkspace(?string $workspace): self return $this; } - public function getIterator(): TraversableJsonld + public function getIterator(): ?TraversableJsonld { return $this->iterator; } - public function setIterator(TraversableJsonld $iterator): self + public function setIterator(?TraversableJsonld $iterator): self { $this->iterator = $iterator; diff --git a/src/Model/SecretSecretInput.php b/src/Model/SecretSecretInput.php index bef0fb6f..bc5c6c60 100644 --- a/src/Model/SecretSecretInput.php +++ b/src/Model/SecretSecretInput.php @@ -5,36 +5,36 @@ class SecretSecretInput { /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string[] + * @var string[]|null */ protected $contents; - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; @@ -42,17 +42,17 @@ public function setDescription(string $description): self } /** - * @return string[] + * @return string[]|null */ - public function getContents(): iterable + public function getContents(): ?iterable { return $this->contents; } /** - * @param string[] $contents + * @param string[]|null $contents */ - public function setContents(iterable $contents): self + public function setContents(?iterable $contents): self { $this->contents = $contents; diff --git a/src/Model/SecretSecretInputJsonld.php b/src/Model/SecretSecretInputJsonld.php index 56e12e8b..1b47f147 100644 --- a/src/Model/SecretSecretInputJsonld.php +++ b/src/Model/SecretSecretInputJsonld.php @@ -5,27 +5,27 @@ class SecretSecretInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $description; /** - * @var string[] + * @var string[]|null */ protected $contents; @@ -47,48 +47,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getDescription(): string + public function getDescription(): ?string { return $this->description; } - public function setDescription(string $description): self + public function setDescription(?string $description): self { $this->description = $description; @@ -96,17 +96,17 @@ public function setDescription(string $description): self } /** - * @return string[] + * @return string[]|null */ - public function getContents(): iterable + public function getContents(): ?iterable { return $this->contents; } /** - * @param string[] $contents + * @param string[]|null $contents */ - public function setContents(iterable $contents): self + public function setContents(?iterable $contents): self { $this->contents = $contents; diff --git a/src/Model/StepInput.php b/src/Model/StepInput.php index 452e411a..a1de1fae 100644 --- a/src/Model/StepInput.php +++ b/src/Model/StepInput.php @@ -5,40 +5,40 @@ class StepInput { /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[][] + * @var string[][]|null */ protected $config; /** - * @var Probe[] + * @var Probe[]|null */ protected $probes; - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -46,17 +46,17 @@ public function setLabel(string $label): self } /** - * @return string[][] + * @return string[][]|null */ - public function getConfig(): iterable + public function getConfig(): ?iterable { return $this->config; } /** - * @param string[][] $config + * @param string[][]|null $config */ - public function setConfig(iterable $config): self + public function setConfig(?iterable $config): self { $this->config = $config; @@ -64,17 +64,17 @@ public function setConfig(iterable $config): self } /** - * @return Probe[] + * @return Probe[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param Probe[] $probes + * @param Probe[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/StepInputJsonld.php b/src/Model/StepInputJsonld.php index 0299c361..a1116c37 100644 --- a/src/Model/StepInputJsonld.php +++ b/src/Model/StepInputJsonld.php @@ -5,31 +5,31 @@ class StepInputJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string[][] + * @var string[][]|null */ protected $config; /** - * @var ProbeJsonld[] + * @var ProbeJsonld[]|null */ protected $probes; @@ -51,48 +51,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -100,17 +100,17 @@ public function setLabel(string $label): self } /** - * @return string[][] + * @return string[][]|null */ - public function getConfig(): iterable + public function getConfig(): ?iterable { return $this->config; } /** - * @param string[][] $config + * @param string[][]|null $config */ - public function setConfig(iterable $config): self + public function setConfig(?iterable $config): self { $this->config = $config; @@ -118,17 +118,17 @@ public function setConfig(iterable $config): self } /** - * @return ProbeJsonld[] + * @return ProbeJsonld[]|null */ - public function getProbes(): array + public function getProbes(): ?array { return $this->probes; } /** - * @param ProbeJsonld[] $probes + * @param ProbeJsonld[]|null $probes */ - public function setProbes(array $probes): self + public function setProbes(?array $probes): self { $this->probes = $probes; diff --git a/src/Model/Subscription.php b/src/Model/Subscription.php index 5f9255ae..82ead4e2 100644 --- a/src/Model/Subscription.php +++ b/src/Model/Subscription.php @@ -5,11 +5,11 @@ class Subscription { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $organization; /** @@ -17,36 +17,36 @@ class Subscription */ protected $offer; /** - * @var string[] + * @var string[]|null */ protected $options; /** - * @var Price + * @var Price|null */ protected $cost; /** - * @var string[] + * @var string[]|null */ protected $periods; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; @@ -66,29 +66,29 @@ public function setOffer(?string $offer): self } /** - * @return string[] + * @return string[]|null */ - public function getOptions(): array + public function getOptions(): ?array { return $this->options; } /** - * @param string[] $options + * @param string[]|null $options */ - public function setOptions(array $options): self + public function setOptions(?array $options): self { $this->options = $options; return $this; } - public function getCost(): Price + public function getCost(): ?Price { return $this->cost; } - public function setCost(Price $cost): self + public function setCost(?Price $cost): self { $this->cost = $cost; @@ -96,17 +96,17 @@ public function setCost(Price $cost): self } /** - * @return string[] + * @return string[]|null */ - public function getPeriods(): iterable + public function getPeriods(): ?iterable { return $this->periods; } /** - * @param string[] $periods + * @param string[]|null $periods */ - public function setPeriods(iterable $periods): self + public function setPeriods(?iterable $periods): self { $this->periods = $periods; diff --git a/src/Model/SubscriptionJsonld.php b/src/Model/SubscriptionJsonld.php index eef174f3..275e0322 100644 --- a/src/Model/SubscriptionJsonld.php +++ b/src/Model/SubscriptionJsonld.php @@ -5,23 +5,23 @@ class SubscriptionJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $organization; /** @@ -29,15 +29,15 @@ class SubscriptionJsonld */ protected $offer; /** - * @var string[] + * @var string[]|null */ protected $options; /** - * @var PriceJsonld + * @var PriceJsonld|null */ protected $cost; /** - * @var string[] + * @var string[]|null */ protected $periods; @@ -59,48 +59,48 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; @@ -120,29 +120,29 @@ public function setOffer(?string $offer): self } /** - * @return string[] + * @return string[]|null */ - public function getOptions(): array + public function getOptions(): ?array { return $this->options; } /** - * @param string[] $options + * @param string[]|null $options */ - public function setOptions(array $options): self + public function setOptions(?array $options): self { $this->options = $options; return $this; } - public function getCost(): PriceJsonld + public function getCost(): ?PriceJsonld { return $this->cost; } - public function setCost(PriceJsonld $cost): self + public function setCost(?PriceJsonld $cost): self { $this->cost = $cost; @@ -150,17 +150,17 @@ public function setCost(PriceJsonld $cost): self } /** - * @return string[] + * @return string[]|null */ - public function getPeriods(): iterable + public function getPeriods(): ?iterable { return $this->periods; } /** - * @param string[] $periods + * @param string[]|null $periods */ - public function setPeriods(iterable $periods): self + public function setPeriods(?iterable $periods): self { $this->periods = $periods; diff --git a/src/Model/SubscriptionOption.php b/src/Model/SubscriptionOption.php index 4176c80b..53982440 100644 --- a/src/Model/SubscriptionOption.php +++ b/src/Model/SubscriptionOption.php @@ -5,7 +5,7 @@ class SubscriptionOption { /** - * @var string + * @var string|null */ protected $id; /** @@ -17,16 +17,16 @@ class SubscriptionOption */ protected $option; /** - * @var Price + * @var Price|null */ protected $price; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -57,12 +57,12 @@ public function setOption(?string $option): self return $this; } - public function getPrice(): Price + public function getPrice(): ?Price { return $this->price; } - public function setPrice(Price $price): self + public function setPrice(?Price $price): self { $this->price = $price; diff --git a/src/Model/SubscriptionOptionJsonld.php b/src/Model/SubscriptionOptionJsonld.php index aafb4b18..68895165 100644 --- a/src/Model/SubscriptionOptionJsonld.php +++ b/src/Model/SubscriptionOptionJsonld.php @@ -5,15 +5,15 @@ class SubscriptionOptionJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** @@ -25,40 +25,40 @@ class SubscriptionOptionJsonld */ protected $option; /** - * @var PriceJsonld + * @var PriceJsonld|null */ protected $price; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -89,12 +89,12 @@ public function setOption(?string $option): self return $this; } - public function getPrice(): PriceJsonld + public function getPrice(): ?PriceJsonld { return $this->price; } - public function setPrice(PriceJsonld $price): self + public function setPrice(?PriceJsonld $price): self { $this->price = $price; diff --git a/src/Model/Token.php b/src/Model/Token.php index cf0f8791..6c86d62e 100644 --- a/src/Model/Token.php +++ b/src/Model/Token.php @@ -5,16 +5,16 @@ class Token { /** - * @var string + * @var string|null */ protected $token; - public function getToken(): string + public function getToken(): ?string { return $this->token; } - public function setToken(string $token): self + public function setToken(?string $token): self { $this->token = $token; diff --git a/src/Model/TraversableJsonld.php b/src/Model/TraversableJsonld.php index da84b503..886bb785 100644 --- a/src/Model/TraversableJsonld.php +++ b/src/Model/TraversableJsonld.php @@ -5,15 +5,15 @@ class TraversableJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/UpdateList.php b/src/Model/UpdateList.php index cb3e495f..e69bdb03 100644 --- a/src/Model/UpdateList.php +++ b/src/Model/UpdateList.php @@ -5,7 +5,7 @@ class UpdateList { /** - * @var mixed + * @var mixed|null */ protected $iterator; diff --git a/src/Model/UpdateListJsonld.php b/src/Model/UpdateListJsonld.php index a9bdd2f5..8cd468b4 100644 --- a/src/Model/UpdateListJsonld.php +++ b/src/Model/UpdateListJsonld.php @@ -5,19 +5,19 @@ class UpdateListJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var TraversableJsonld + * @var TraversableJsonld|null */ protected $iterator; @@ -39,36 +39,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getIterator(): TraversableJsonld + public function getIterator(): ?TraversableJsonld { return $this->iterator; } - public function setIterator(TraversableJsonld $iterator): self + public function setIterator(?TraversableJsonld $iterator): self { $this->iterator = $iterator; diff --git a/src/Model/User.php b/src/Model/User.php index 0ea8523e..dea7b300 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -5,51 +5,51 @@ class User { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $username; /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $password; /** - * @var bool + * @var bool|null */ protected $enabled; /** - * @var string[][] + * @var string[][]|null */ protected $roles; /** - * @var string[] + * @var string[]|null */ protected $authorizations; /** - * @var string + * @var string|null */ protected $organization; /** - * @var string[] + * @var string[]|null */ protected $additionalOrganizations; /** - * @var string[] + * @var string[]|null */ protected $workspaces; /** @@ -57,104 +57,104 @@ class User */ protected $currentWorkspace; /** - * @var string[] + * @var string[]|null */ protected $referralCodes; /** - * @var string[] + * @var string[]|null */ protected $acceptedReferralRequests; /** - * @var string + * @var string|null */ protected $userIdentifier; /** - * @var string + * @var string|null */ protected $salt; /** - * @var string[] + * @var string[]|null */ protected $workspace; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getUsername(): string + public function getUsername(): ?string { return $this->username; } - public function setUsername(string $username): self + public function setUsername(?string $username): self { $this->username = $username; return $this; } - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getPassword(): string + public function getPassword(): ?string { return $this->password; } - public function setPassword(string $password): self + public function setPassword(?string $password): self { $this->password = $password; return $this; } - public function getEnabled(): bool + public function getEnabled(): ?bool { return $this->enabled; } - public function setEnabled(bool $enabled): self + public function setEnabled(?bool $enabled): self { $this->enabled = $enabled; @@ -162,17 +162,17 @@ public function setEnabled(bool $enabled): self } /** - * @return string[][] + * @return string[][]|null */ - public function getRoles(): array + public function getRoles(): ?array { return $this->roles; } /** - * @param string[][] $roles + * @param string[][]|null $roles */ - public function setRoles(array $roles): self + public function setRoles(?array $roles): self { $this->roles = $roles; @@ -180,29 +180,29 @@ public function setRoles(array $roles): self } /** - * @return string[] + * @return string[]|null */ - public function getAuthorizations(): array + public function getAuthorizations(): ?array { return $this->authorizations; } /** - * @param string[] $authorizations + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations): self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; @@ -210,17 +210,17 @@ public function setOrganization(string $organization): self } /** - * @return string[] + * @return string[]|null */ - public function getAdditionalOrganizations(): array + public function getAdditionalOrganizations(): ?array { return $this->additionalOrganizations; } /** - * @param string[] $additionalOrganizations + * @param string[]|null $additionalOrganizations */ - public function setAdditionalOrganizations(array $additionalOrganizations): self + public function setAdditionalOrganizations(?array $additionalOrganizations): self { $this->additionalOrganizations = $additionalOrganizations; @@ -228,17 +228,17 @@ public function setAdditionalOrganizations(array $additionalOrganizations): self } /** - * @return string[] + * @return string[]|null */ - public function getWorkspaces(): array + public function getWorkspaces(): ?array { return $this->workspaces; } /** - * @param string[] $workspaces + * @param string[]|null $workspaces */ - public function setWorkspaces(array $workspaces): self + public function setWorkspaces(?array $workspaces): self { $this->workspaces = $workspaces; @@ -258,17 +258,17 @@ public function setCurrentWorkspace(?string $currentWorkspace): self } /** - * @return string[] + * @return string[]|null */ - public function getReferralCodes(): array + public function getReferralCodes(): ?array { return $this->referralCodes; } /** - * @param string[] $referralCodes + * @param string[]|null $referralCodes */ - public function setReferralCodes(array $referralCodes): self + public function setReferralCodes(?array $referralCodes): self { $this->referralCodes = $referralCodes; @@ -276,41 +276,41 @@ public function setReferralCodes(array $referralCodes): self } /** - * @return string[] + * @return string[]|null */ - public function getAcceptedReferralRequests(): array + public function getAcceptedReferralRequests(): ?array { return $this->acceptedReferralRequests; } /** - * @param string[] $acceptedReferralRequests + * @param string[]|null $acceptedReferralRequests */ - public function setAcceptedReferralRequests(array $acceptedReferralRequests): self + public function setAcceptedReferralRequests(?array $acceptedReferralRequests): self { $this->acceptedReferralRequests = $acceptedReferralRequests; return $this; } - public function getUserIdentifier(): string + public function getUserIdentifier(): ?string { return $this->userIdentifier; } - public function setUserIdentifier(string $userIdentifier): self + public function setUserIdentifier(?string $userIdentifier): self { $this->userIdentifier = $userIdentifier; return $this; } - public function getSalt(): string + public function getSalt(): ?string { return $this->salt; } - public function setSalt(string $salt): self + public function setSalt(?string $salt): self { $this->salt = $salt; @@ -318,17 +318,17 @@ public function setSalt(string $salt): self } /** - * @return string[] + * @return string[]|null */ - public function getWorkspace(): array + public function getWorkspace(): ?array { return $this->workspace; } /** - * @param string[] $workspace + * @param string[]|null $workspace */ - public function setWorkspace(array $workspace): self + public function setWorkspace(?array $workspace): self { $this->workspace = $workspace; diff --git a/src/Model/UserAuthorization.php b/src/Model/UserAuthorization.php index ee7499cf..1046b4f9 100644 --- a/src/Model/UserAuthorization.php +++ b/src/Model/UserAuthorization.php @@ -5,7 +5,7 @@ class UserAuthorization { /** - * @var string + * @var string|null */ protected $id; /** @@ -21,20 +21,20 @@ class UserAuthorization */ protected $organization; /** - * @var string + * @var string|null */ protected $resource; /** - * @var string[] + * @var string[]|null */ protected $authorizations; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -77,12 +77,12 @@ public function setOrganization(?string $organization): self return $this; } - public function getResource(): string + public function getResource(): ?string { return $this->resource; } - public function setResource(string $resource): self + public function setResource(?string $resource): self { $this->resource = $resource; @@ -90,17 +90,17 @@ public function setResource(string $resource): self } /** - * @return string[] + * @return string[]|null */ - public function getAuthorizations(): array + public function getAuthorizations(): ?array { return $this->authorizations; } /** - * @param string[] $authorizations + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations): self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; diff --git a/src/Model/UserAuthorizationJsonld.php b/src/Model/UserAuthorizationJsonld.php index 8b65db3c..d6071c62 100644 --- a/src/Model/UserAuthorizationJsonld.php +++ b/src/Model/UserAuthorizationJsonld.php @@ -5,19 +5,19 @@ class UserAuthorizationJsonld { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** @@ -33,32 +33,32 @@ class UserAuthorizationJsonld */ protected $organization; /** - * @var string + * @var string|null */ protected $resource; /** - * @var string[] + * @var string[]|null */ protected $authorizations; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -83,12 +83,12 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -131,12 +131,12 @@ public function setOrganization(?string $organization): self return $this; } - public function getResource(): string + public function getResource(): ?string { return $this->resource; } - public function setResource(string $resource): self + public function setResource(?string $resource): self { $this->resource = $resource; @@ -144,17 +144,17 @@ public function setResource(string $resource): self } /** - * @return string[] + * @return string[]|null */ - public function getAuthorizations(): array + public function getAuthorizations(): ?array { return $this->authorizations; } /** - * @param string[] $authorizations + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations): self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; diff --git a/src/Model/UserIdJsonld.php b/src/Model/UserIdJsonld.php index cd8b15ff..67ad4889 100644 --- a/src/Model/UserIdJsonld.php +++ b/src/Model/UserIdJsonld.php @@ -5,15 +5,15 @@ class UserIdJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; @@ -35,24 +35,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/UserJsonld.php b/src/Model/UserJsonld.php index 5954ac26..2d4ce7ae 100644 --- a/src/Model/UserJsonld.php +++ b/src/Model/UserJsonld.php @@ -5,63 +5,63 @@ class UserJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $firstName; /** - * @var string + * @var string|null */ protected $lastName; /** - * @var string + * @var string|null */ protected $username; /** - * @var string + * @var string|null */ protected $email; /** - * @var string + * @var string|null */ protected $password; /** - * @var bool + * @var bool|null */ protected $enabled; /** - * @var string[][] + * @var string[][]|null */ protected $roles; /** - * @var string[] + * @var string[]|null */ protected $authorizations; /** - * @var string + * @var string|null */ protected $organization; /** - * @var string[] + * @var string[]|null */ protected $additionalOrganizations; /** - * @var string[] + * @var string[]|null */ protected $workspaces; /** @@ -69,23 +69,23 @@ class UserJsonld */ protected $currentWorkspace; /** - * @var string[] + * @var string[]|null */ protected $referralCodes; /** - * @var string[] + * @var string[]|null */ protected $acceptedReferralRequests; /** - * @var string + * @var string|null */ protected $userIdentifier; /** - * @var string + * @var string|null */ protected $salt; /** - * @var string[] + * @var string[]|null */ protected $workspace; @@ -107,108 +107,108 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getFirstName(): string + public function getFirstName(): ?string { return $this->firstName; } - public function setFirstName(string $firstName): self + public function setFirstName(?string $firstName): self { $this->firstName = $firstName; return $this; } - public function getLastName(): string + public function getLastName(): ?string { return $this->lastName; } - public function setLastName(string $lastName): self + public function setLastName(?string $lastName): self { $this->lastName = $lastName; return $this; } - public function getUsername(): string + public function getUsername(): ?string { return $this->username; } - public function setUsername(string $username): self + public function setUsername(?string $username): self { $this->username = $username; return $this; } - public function getEmail(): string + public function getEmail(): ?string { return $this->email; } - public function setEmail(string $email): self + public function setEmail(?string $email): self { $this->email = $email; return $this; } - public function getPassword(): string + public function getPassword(): ?string { return $this->password; } - public function setPassword(string $password): self + public function setPassword(?string $password): self { $this->password = $password; return $this; } - public function getEnabled(): bool + public function getEnabled(): ?bool { return $this->enabled; } - public function setEnabled(bool $enabled): self + public function setEnabled(?bool $enabled): self { $this->enabled = $enabled; @@ -216,17 +216,17 @@ public function setEnabled(bool $enabled): self } /** - * @return string[][] + * @return string[][]|null */ - public function getRoles(): array + public function getRoles(): ?array { return $this->roles; } /** - * @param string[][] $roles + * @param string[][]|null $roles */ - public function setRoles(array $roles): self + public function setRoles(?array $roles): self { $this->roles = $roles; @@ -234,29 +234,29 @@ public function setRoles(array $roles): self } /** - * @return string[] + * @return string[]|null */ - public function getAuthorizations(): array + public function getAuthorizations(): ?array { return $this->authorizations; } /** - * @param string[] $authorizations + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations): self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; return $this; } - public function getOrganization(): string + public function getOrganization(): ?string { return $this->organization; } - public function setOrganization(string $organization): self + public function setOrganization(?string $organization): self { $this->organization = $organization; @@ -264,17 +264,17 @@ public function setOrganization(string $organization): self } /** - * @return string[] + * @return string[]|null */ - public function getAdditionalOrganizations(): array + public function getAdditionalOrganizations(): ?array { return $this->additionalOrganizations; } /** - * @param string[] $additionalOrganizations + * @param string[]|null $additionalOrganizations */ - public function setAdditionalOrganizations(array $additionalOrganizations): self + public function setAdditionalOrganizations(?array $additionalOrganizations): self { $this->additionalOrganizations = $additionalOrganizations; @@ -282,17 +282,17 @@ public function setAdditionalOrganizations(array $additionalOrganizations): self } /** - * @return string[] + * @return string[]|null */ - public function getWorkspaces(): array + public function getWorkspaces(): ?array { return $this->workspaces; } /** - * @param string[] $workspaces + * @param string[]|null $workspaces */ - public function setWorkspaces(array $workspaces): self + public function setWorkspaces(?array $workspaces): self { $this->workspaces = $workspaces; @@ -312,17 +312,17 @@ public function setCurrentWorkspace(?string $currentWorkspace): self } /** - * @return string[] + * @return string[]|null */ - public function getReferralCodes(): array + public function getReferralCodes(): ?array { return $this->referralCodes; } /** - * @param string[] $referralCodes + * @param string[]|null $referralCodes */ - public function setReferralCodes(array $referralCodes): self + public function setReferralCodes(?array $referralCodes): self { $this->referralCodes = $referralCodes; @@ -330,41 +330,41 @@ public function setReferralCodes(array $referralCodes): self } /** - * @return string[] + * @return string[]|null */ - public function getAcceptedReferralRequests(): array + public function getAcceptedReferralRequests(): ?array { return $this->acceptedReferralRequests; } /** - * @param string[] $acceptedReferralRequests + * @param string[]|null $acceptedReferralRequests */ - public function setAcceptedReferralRequests(array $acceptedReferralRequests): self + public function setAcceptedReferralRequests(?array $acceptedReferralRequests): self { $this->acceptedReferralRequests = $acceptedReferralRequests; return $this; } - public function getUserIdentifier(): string + public function getUserIdentifier(): ?string { return $this->userIdentifier; } - public function setUserIdentifier(string $userIdentifier): self + public function setUserIdentifier(?string $userIdentifier): self { $this->userIdentifier = $userIdentifier; return $this; } - public function getSalt(): string + public function getSalt(): ?string { return $this->salt; } - public function setSalt(string $salt): self + public function setSalt(?string $salt): self { $this->salt = $salt; @@ -372,17 +372,17 @@ public function setSalt(string $salt): self } /** - * @return string[] + * @return string[]|null */ - public function getWorkspace(): array + public function getWorkspace(): ?array { return $this->workspace; } /** - * @param string[] $workspace + * @param string[]|null $workspace */ - public function setWorkspace(array $workspace): self + public function setWorkspace(?array $workspace): self { $this->workspace = $workspace; diff --git a/src/Model/UserUserChangePasswordInput.php b/src/Model/UserUserChangePasswordInput.php index 5eb2482e..d03cf880 100644 --- a/src/Model/UserUserChangePasswordInput.php +++ b/src/Model/UserUserChangePasswordInput.php @@ -5,48 +5,48 @@ class UserUserChangePasswordInput { /** - * @var string + * @var string|null */ protected $currentPassword; /** - * @var string + * @var string|null */ protected $newPassword; /** - * @var string + * @var string|null */ protected $confirmPassword; - public function getCurrentPassword(): string + public function getCurrentPassword(): ?string { return $this->currentPassword; } - public function setCurrentPassword(string $currentPassword): self + public function setCurrentPassword(?string $currentPassword): self { $this->currentPassword = $currentPassword; return $this; } - public function getNewPassword(): string + public function getNewPassword(): ?string { return $this->newPassword; } - public function setNewPassword(string $newPassword): self + public function setNewPassword(?string $newPassword): self { $this->newPassword = $newPassword; return $this; } - public function getConfirmPassword(): string + public function getConfirmPassword(): ?string { return $this->confirmPassword; } - public function setConfirmPassword(string $confirmPassword): self + public function setConfirmPassword(?string $confirmPassword): self { $this->confirmPassword = $confirmPassword; diff --git a/src/Model/Variable.php b/src/Model/Variable.php index 77547f84..9cdd9c2c 100644 --- a/src/Model/Variable.php +++ b/src/Model/Variable.php @@ -5,48 +5,48 @@ class Variable { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $environment; /** - * @var string + * @var string|null */ protected $name; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getEnvironment(): string + public function getEnvironment(): ?string { return $this->environment; } - public function setEnvironment(string $environment): self + public function setEnvironment(?string $environment): self { $this->environment = $environment; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; diff --git a/src/Model/VariableFromConfigMap.php b/src/Model/VariableFromConfigMap.php index 0cf70b38..9a50fefc 100644 --- a/src/Model/VariableFromConfigMap.php +++ b/src/Model/VariableFromConfigMap.php @@ -9,11 +9,11 @@ class VariableFromConfigMap */ protected $configMap; /** - * @var string + * @var string|null */ protected $item; /** - * @var string + * @var string|null */ protected $id; /** @@ -21,7 +21,7 @@ class VariableFromConfigMap */ protected $environment; /** - * @var string + * @var string|null */ protected $name; @@ -37,24 +37,24 @@ public function setConfigMap(?string $configMap): self return $this; } - public function getItem(): string + public function getItem(): ?string { return $this->item; } - public function setItem(string $item): self + public function setItem(?string $item): self { $this->item = $item; return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -73,12 +73,12 @@ public function setEnvironment(?string $environment): self return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; diff --git a/src/Model/VariableFromConfigMapJsonld.php b/src/Model/VariableFromConfigMapJsonld.php index 28f8bd85..764fd150 100644 --- a/src/Model/VariableFromConfigMapJsonld.php +++ b/src/Model/VariableFromConfigMapJsonld.php @@ -5,15 +5,15 @@ class VariableFromConfigMapJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -21,11 +21,11 @@ class VariableFromConfigMapJsonld */ protected $configMap; /** - * @var string + * @var string|null */ protected $item; /** - * @var string + * @var string|null */ protected $id2; /** @@ -33,7 +33,7 @@ class VariableFromConfigMapJsonld */ protected $environment; /** - * @var string + * @var string|null */ protected $name; @@ -55,24 +55,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -91,24 +91,24 @@ public function setConfigMap(?string $configMap): self return $this; } - public function getItem(): string + public function getItem(): ?string { return $this->item; } - public function setItem(string $item): self + public function setItem(?string $item): self { $this->item = $item; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -127,12 +127,12 @@ public function setEnvironment(?string $environment): self return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; diff --git a/src/Model/VariableFromSecret.php b/src/Model/VariableFromSecret.php index 43dfc4d5..27585b13 100644 --- a/src/Model/VariableFromSecret.php +++ b/src/Model/VariableFromSecret.php @@ -9,11 +9,11 @@ class VariableFromSecret */ protected $secret; /** - * @var string + * @var string|null */ protected $item; /** - * @var string + * @var string|null */ protected $id; /** @@ -21,7 +21,7 @@ class VariableFromSecret */ protected $environment; /** - * @var string + * @var string|null */ protected $name; @@ -37,24 +37,24 @@ public function setSecret(?string $secret): self return $this; } - public function getItem(): string + public function getItem(): ?string { return $this->item; } - public function setItem(string $item): self + public function setItem(?string $item): self { $this->item = $item; return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; @@ -73,12 +73,12 @@ public function setEnvironment(?string $environment): self return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; diff --git a/src/Model/VariableFromSecretJsonld.php b/src/Model/VariableFromSecretJsonld.php index c62ccbcc..e1cd3f52 100644 --- a/src/Model/VariableFromSecretJsonld.php +++ b/src/Model/VariableFromSecretJsonld.php @@ -5,15 +5,15 @@ class VariableFromSecretJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -21,11 +21,11 @@ class VariableFromSecretJsonld */ protected $secret; /** - * @var string + * @var string|null */ protected $item; /** - * @var string + * @var string|null */ protected $id2; /** @@ -33,7 +33,7 @@ class VariableFromSecretJsonld */ protected $environment; /** - * @var string + * @var string|null */ protected $name; @@ -55,24 +55,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -91,24 +91,24 @@ public function setSecret(?string $secret): self return $this; } - public function getItem(): string + public function getItem(): ?string { return $this->item; } - public function setItem(string $item): self + public function setItem(?string $item): self { $this->item = $item; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; @@ -127,12 +127,12 @@ public function setEnvironment(?string $environment): self return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; diff --git a/src/Model/VariableJsonld.php b/src/Model/VariableJsonld.php index 46bbd72e..89a7c669 100644 --- a/src/Model/VariableJsonld.php +++ b/src/Model/VariableJsonld.php @@ -5,27 +5,27 @@ class VariableJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $environment; /** - * @var string + * @var string|null */ protected $name; @@ -47,60 +47,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getEnvironment(): string + public function getEnvironment(): ?string { return $this->environment; } - public function setEnvironment(string $environment): self + public function setEnvironment(?string $environment): self { $this->environment = $environment; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; diff --git a/src/Model/WorkflowJobAction.php b/src/Model/WorkflowJobAction.php index 4620fc80..298a2b4b 100644 --- a/src/Model/WorkflowJobAction.php +++ b/src/Model/WorkflowJobAction.php @@ -9,7 +9,7 @@ class WorkflowJobAction */ protected $job; /** - * @var string + * @var string|null */ protected $id; @@ -25,12 +25,12 @@ public function setJob(?string $job): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; diff --git a/src/Model/WorkflowJobActionJsonld.php b/src/Model/WorkflowJobActionJsonld.php index 5e380074..f2f4b714 100644 --- a/src/Model/WorkflowJobActionJsonld.php +++ b/src/Model/WorkflowJobActionJsonld.php @@ -5,15 +5,15 @@ class WorkflowJobActionJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -21,7 +21,7 @@ class WorkflowJobActionJsonld */ protected $job; /** - * @var string + * @var string|null */ protected $id2; @@ -43,24 +43,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -79,12 +79,12 @@ public function setJob(?string $job): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; diff --git a/src/Model/WorkflowJobActionJsonldRead.php b/src/Model/WorkflowJobActionJsonldRead.php index 24517640..8fb3548c 100644 --- a/src/Model/WorkflowJobActionJsonldRead.php +++ b/src/Model/WorkflowJobActionJsonldRead.php @@ -5,19 +5,19 @@ class WorkflowJobActionJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; @@ -39,36 +39,36 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; diff --git a/src/Model/WorkflowJobActionRead.php b/src/Model/WorkflowJobActionRead.php index 34859220..2fb1ef3d 100644 --- a/src/Model/WorkflowJobActionRead.php +++ b/src/Model/WorkflowJobActionRead.php @@ -5,16 +5,16 @@ class WorkflowJobActionRead { /** - * @var string + * @var string|null */ protected $id; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; diff --git a/src/Model/WorkflowJobJsonldRead.php b/src/Model/WorkflowJobJsonldRead.php index e943a3d6..ce9400e1 100644 --- a/src/Model/WorkflowJobJsonldRead.php +++ b/src/Model/WorkflowJobJsonldRead.php @@ -5,15 +5,15 @@ class WorkflowJobJsonldRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** @@ -29,24 +29,24 @@ class WorkflowJobJsonldRead */ protected $action; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; diff --git a/src/Model/WorkflowJobPipeline.php b/src/Model/WorkflowJobPipeline.php index f393cc81..b08b84b8 100644 --- a/src/Model/WorkflowJobPipeline.php +++ b/src/Model/WorkflowJobPipeline.php @@ -9,31 +9,31 @@ class WorkflowJobPipeline */ protected $job; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $runtimeType; /** - * @var string[] + * @var string[]|null */ protected $runtime; /** - * @var string[] + * @var string[]|null */ protected $autoload; /** - * @var string[] + * @var string[]|null */ protected $steps; @@ -49,48 +49,48 @@ public function setJob(?string $job): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getRuntimeType(): string + public function getRuntimeType(): ?string { return $this->runtimeType; } - public function setRuntimeType(string $runtimeType): self + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; @@ -98,17 +98,17 @@ public function setRuntimeType(string $runtimeType): self } /** - * @return string[] + * @return string[]|null */ - public function getRuntime(): array + public function getRuntime(): ?array { return $this->runtime; } /** - * @param string[] $runtime + * @param string[]|null $runtime */ - public function setRuntime(array $runtime): self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; @@ -116,17 +116,17 @@ public function setRuntime(array $runtime): self } /** - * @return string[] + * @return string[]|null */ - public function getAutoload(): array + public function getAutoload(): ?array { return $this->autoload; } /** - * @param string[] $autoload + * @param string[]|null $autoload */ - public function setAutoload(array $autoload): self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; @@ -134,17 +134,17 @@ public function setAutoload(array $autoload): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/WorkflowJobPipelineJsonld.php b/src/Model/WorkflowJobPipelineJsonld.php index 2d21243a..515ac620 100644 --- a/src/Model/WorkflowJobPipelineJsonld.php +++ b/src/Model/WorkflowJobPipelineJsonld.php @@ -5,15 +5,15 @@ class WorkflowJobPipelineJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** @@ -21,31 +21,31 @@ class WorkflowJobPipelineJsonld */ protected $job; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $runtimeType; /** - * @var string[] + * @var string[]|null */ protected $runtime; /** - * @var string[] + * @var string[]|null */ protected $autoload; /** - * @var string[] + * @var string[]|null */ protected $steps; @@ -67,24 +67,24 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -103,48 +103,48 @@ public function setJob(?string $job): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getRuntimeType(): string + public function getRuntimeType(): ?string { return $this->runtimeType; } - public function setRuntimeType(string $runtimeType): self + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; @@ -152,17 +152,17 @@ public function setRuntimeType(string $runtimeType): self } /** - * @return string[] + * @return string[]|null */ - public function getRuntime(): array + public function getRuntime(): ?array { return $this->runtime; } /** - * @param string[] $runtime + * @param string[]|null $runtime */ - public function setRuntime(array $runtime): self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; @@ -170,17 +170,17 @@ public function setRuntime(array $runtime): self } /** - * @return string[] + * @return string[]|null */ - public function getAutoload(): array + public function getAutoload(): ?array { return $this->autoload; } /** - * @param string[] $autoload + * @param string[]|null $autoload */ - public function setAutoload(array $autoload): self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; @@ -188,17 +188,17 @@ public function setAutoload(array $autoload): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/WorkflowJobPipelineJsonldRead.php b/src/Model/WorkflowJobPipelineJsonldRead.php index 9e0a9711..e5052067 100644 --- a/src/Model/WorkflowJobPipelineJsonldRead.php +++ b/src/Model/WorkflowJobPipelineJsonldRead.php @@ -5,43 +5,43 @@ class WorkflowJobPipelineJsonldRead { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $runtimeType; /** - * @var string[] + * @var string[]|null */ protected $runtime; /** - * @var string[] + * @var string[]|null */ protected $autoload; /** - * @var string[] + * @var string[]|null */ protected $steps; @@ -63,72 +63,72 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getRuntimeType(): string + public function getRuntimeType(): ?string { return $this->runtimeType; } - public function setRuntimeType(string $runtimeType): self + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; @@ -136,17 +136,17 @@ public function setRuntimeType(string $runtimeType): self } /** - * @return string[] + * @return string[]|null */ - public function getRuntime(): array + public function getRuntime(): ?array { return $this->runtime; } /** - * @param string[] $runtime + * @param string[]|null $runtime */ - public function setRuntime(array $runtime): self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; @@ -154,17 +154,17 @@ public function setRuntime(array $runtime): self } /** - * @return string[] + * @return string[]|null */ - public function getAutoload(): array + public function getAutoload(): ?array { return $this->autoload; } /** - * @param string[] $autoload + * @param string[]|null $autoload */ - public function setAutoload(array $autoload): self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; @@ -172,17 +172,17 @@ public function setAutoload(array $autoload): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/WorkflowJobPipelineRead.php b/src/Model/WorkflowJobPipelineRead.php index 71c43516..6aa317be 100644 --- a/src/Model/WorkflowJobPipelineRead.php +++ b/src/Model/WorkflowJobPipelineRead.php @@ -5,76 +5,76 @@ class WorkflowJobPipelineRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var string + * @var string|null */ protected $runtimeType; /** - * @var string[] + * @var string[]|null */ protected $runtime; /** - * @var string[] + * @var string[]|null */ protected $autoload; /** - * @var string[] + * @var string[]|null */ protected $steps; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; return $this; } - public function getRuntimeType(): string + public function getRuntimeType(): ?string { return $this->runtimeType; } - public function setRuntimeType(string $runtimeType): self + public function setRuntimeType(?string $runtimeType): self { $this->runtimeType = $runtimeType; @@ -82,17 +82,17 @@ public function setRuntimeType(string $runtimeType): self } /** - * @return string[] + * @return string[]|null */ - public function getRuntime(): array + public function getRuntime(): ?array { return $this->runtime; } /** - * @param string[] $runtime + * @param string[]|null $runtime */ - public function setRuntime(array $runtime): self + public function setRuntime(?array $runtime): self { $this->runtime = $runtime; @@ -100,17 +100,17 @@ public function setRuntime(array $runtime): self } /** - * @return string[] + * @return string[]|null */ - public function getAutoload(): array + public function getAutoload(): ?array { return $this->autoload; } /** - * @param string[] $autoload + * @param string[]|null $autoload */ - public function setAutoload(array $autoload): self + public function setAutoload(?array $autoload): self { $this->autoload = $autoload; @@ -118,17 +118,17 @@ public function setAutoload(array $autoload): self } /** - * @return string[] + * @return string[]|null */ - public function getSteps(): array + public function getSteps(): ?array { return $this->steps; } /** - * @param string[] $steps + * @param string[]|null $steps */ - public function setSteps(array $steps): self + public function setSteps(?array $steps): self { $this->steps = $steps; diff --git a/src/Model/WorkflowJsonldRead.php b/src/Model/WorkflowJsonldRead.php index 1cbb0f68..addb9f30 100644 --- a/src/Model/WorkflowJsonldRead.php +++ b/src/Model/WorkflowJsonldRead.php @@ -5,52 +5,52 @@ class WorkflowJsonldRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var WorkflowJobJsonldRead[] + * @var WorkflowJobJsonldRead[]|null */ protected $jobs; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; @@ -75,36 +75,36 @@ public function setContext($context): self return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -112,17 +112,17 @@ public function setLabel(string $label): self } /** - * @return WorkflowJobJsonldRead[] + * @return WorkflowJobJsonldRead[]|null */ - public function getJobs(): array + public function getJobs(): ?array { return $this->jobs; } /** - * @param WorkflowJobJsonldRead[] $jobs + * @param WorkflowJobJsonldRead[]|null $jobs */ - public function setJobs(array $jobs): self + public function setJobs(?array $jobs): self { $this->jobs = $jobs; diff --git a/src/Model/WorkflowRead.php b/src/Model/WorkflowRead.php index 1861e4ab..961ed49f 100644 --- a/src/Model/WorkflowRead.php +++ b/src/Model/WorkflowRead.php @@ -5,52 +5,52 @@ class WorkflowRead { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $code; /** - * @var string + * @var string|null */ protected $label; /** - * @var WorkflowJobRead[] + * @var WorkflowJobRead[]|null */ protected $jobs; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getCode(): string + public function getCode(): ?string { return $this->code; } - public function setCode(string $code): self + public function setCode(?string $code): self { $this->code = $code; return $this; } - public function getLabel(): string + public function getLabel(): ?string { return $this->label; } - public function setLabel(string $label): self + public function setLabel(?string $label): self { $this->label = $label; @@ -58,17 +58,17 @@ public function setLabel(string $label): self } /** - * @return WorkflowJobRead[] + * @return WorkflowJobRead[]|null */ - public function getJobs(): array + public function getJobs(): ?array { return $this->jobs; } /** - * @param WorkflowJobRead[] $jobs + * @param WorkflowJobRead[]|null $jobs */ - public function setJobs(array $jobs): self + public function setJobs(?array $jobs): self { $this->jobs = $jobs; diff --git a/src/Model/Workspace.php b/src/Model/Workspace.php index 3abd6265..83cefe7e 100644 --- a/src/Model/Workspace.php +++ b/src/Model/Workspace.php @@ -5,15 +5,15 @@ class Workspace { /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $slug; /** @@ -21,44 +21,44 @@ class Workspace */ protected $organization; /** - * @var string[] + * @var string[]|null */ protected $authorizations; /** - * @var string[] + * @var string[]|null */ protected $users; - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getSlug(): string + public function getSlug(): ?string { return $this->slug; } - public function setSlug(string $slug): self + public function setSlug(?string $slug): self { $this->slug = $slug; @@ -78,17 +78,17 @@ public function setOrganization(?string $organization): self } /** - * @return string[] + * @return string[]|null */ - public function getAuthorizations(): array + public function getAuthorizations(): ?array { return $this->authorizations; } /** - * @param string[] $authorizations + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations): self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; @@ -96,17 +96,17 @@ public function setAuthorizations(array $authorizations): self } /** - * @return string[] + * @return string[]|null */ - public function getUsers(): array + public function getUsers(): ?array { return $this->users; } /** - * @param string[] $users + * @param string[]|null $users */ - public function setUsers(array $users): self + public function setUsers(?array $users): self { $this->users = $users; diff --git a/src/Model/WorkspaceJsonld.php b/src/Model/WorkspaceJsonld.php index a1bf1e50..5977a99b 100644 --- a/src/Model/WorkspaceJsonld.php +++ b/src/Model/WorkspaceJsonld.php @@ -5,27 +5,27 @@ class WorkspaceJsonld { /** - * @var mixed + * @var mixed|null */ protected $context; /** - * @var string + * @var string|null */ protected $id; /** - * @var string + * @var string|null */ protected $type; /** - * @var string + * @var string|null */ protected $id2; /** - * @var string + * @var string|null */ protected $name; /** - * @var string + * @var string|null */ protected $slug; /** @@ -33,11 +33,11 @@ class WorkspaceJsonld */ protected $organization; /** - * @var string[] + * @var string[]|null */ protected $authorizations; /** - * @var string[] + * @var string[]|null */ protected $users; @@ -59,60 +59,60 @@ public function setContext($context): self return $this; } - public function getId(): string + public function getId(): ?string { return $this->id; } - public function setId(string $id): self + public function setId(?string $id): self { $this->id = $id; return $this; } - public function getType(): string + public function getType(): ?string { return $this->type; } - public function setType(string $type): self + public function setType(?string $type): self { $this->type = $type; return $this; } - public function getId2(): string + public function getId2(): ?string { return $this->id2; } - public function setId2(string $id2): self + public function setId2(?string $id2): self { $this->id2 = $id2; return $this; } - public function getName(): string + public function getName(): ?string { return $this->name; } - public function setName(string $name): self + public function setName(?string $name): self { $this->name = $name; return $this; } - public function getSlug(): string + public function getSlug(): ?string { return $this->slug; } - public function setSlug(string $slug): self + public function setSlug(?string $slug): self { $this->slug = $slug; @@ -132,17 +132,17 @@ public function setOrganization(?string $organization): self } /** - * @return string[] + * @return string[]|null */ - public function getAuthorizations(): array + public function getAuthorizations(): ?array { return $this->authorizations; } /** - * @param string[] $authorizations + * @param string[]|null $authorizations */ - public function setAuthorizations(array $authorizations): self + public function setAuthorizations(?array $authorizations): self { $this->authorizations = $authorizations; @@ -150,17 +150,17 @@ public function setAuthorizations(array $authorizations): self } /** - * @return string[] + * @return string[]|null */ - public function getUsers(): array + public function getUsers(): ?array { return $this->users; } /** - * @param string[] $users + * @param string[]|null $users */ - public function setUsers(array $users): self + public function setUsers(?array $users): self { $this->users = $users; diff --git a/src/Normalizer/AbstractPipelineJsonldNormalizer.php b/src/Normalizer/AbstractPipelineJsonldNormalizer.php index f46ec98f..68ac621a 100644 --- a/src/Normalizer/AbstractPipelineJsonldNormalizer.php +++ b/src/Normalizer/AbstractPipelineJsonldNormalizer.php @@ -45,47 +45,67 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/AbstractPipelineNormalizer.php b/src/Normalizer/AbstractPipelineNormalizer.php index 77791fe4..6ff50cda 100644 --- a/src/Normalizer/AbstractPipelineNormalizer.php +++ b/src/Normalizer/AbstractPipelineNormalizer.php @@ -45,38 +45,52 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/ActionJsonldReadNormalizer.php b/src/Normalizer/ActionJsonldReadNormalizer.php index b202bee8..f7493cda 100644 --- a/src/Normalizer/ActionJsonldReadNormalizer.php +++ b/src/Normalizer/ActionJsonldReadNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } return $object; diff --git a/src/Normalizer/ActionReadNormalizer.php b/src/Normalizer/ActionReadNormalizer.php index 1a8e8197..1e8bc0c1 100644 --- a/src/Normalizer/ActionReadNormalizer.php +++ b/src/Normalizer/ActionReadNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } return $object; diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php index f110ad94..98f96f15 100644 --- a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputJsonldNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pimUrl', $data)) { + if (\array_key_exists('pimUrl', $data) && null !== $data['pimUrl']) { $object->setPimUrl($data['pimUrl']); + } elseif (\array_key_exists('pimUrl', $data) && null === $data['pimUrl']) { + $object->setPimUrl(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('secret', $data)) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($this->denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\SecretInputJsonld', 'json', $context)); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); } return $object; diff --git a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php index 89c72e46..81f25eb3 100644 --- a/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php +++ b/src/Normalizer/AkeneoInstanceAkeneoInstanceInputNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pimUrl', $data)) { + if (\array_key_exists('pimUrl', $data) && null !== $data['pimUrl']) { $object->setPimUrl($data['pimUrl']); + } elseif (\array_key_exists('pimUrl', $data) && null === $data['pimUrl']) { + $object->setPimUrl(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('secret', $data)) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($this->denormalizer->denormalize($data['secret'], 'Gyroscops\\Api\\Model\\SecretInput', 'json', $context)); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); } return $object; diff --git a/src/Normalizer/AkeneoInstanceJsonldNormalizer.php b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php index 9913556e..2e1c6f2a 100644 --- a/src/Normalizer/AkeneoInstanceJsonldNormalizer.php +++ b/src/Normalizer/AkeneoInstanceJsonldNormalizer.php @@ -45,45 +45,63 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('url', $data)) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('secret', $data)) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($data['secret']); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); } - if (\array_key_exists('linkedAccounts', $data)) { + if (\array_key_exists('linkedAccounts', $data) && null !== $data['linkedAccounts']) { $values = []; foreach ($data['linkedAccounts'] as $value) { $values[] = $value; } $object->setLinkedAccounts($values); + } elseif (\array_key_exists('linkedAccounts', $data) && null === $data['linkedAccounts']) { + $object->setLinkedAccounts(null); } - if (\array_key_exists('oauthTokens', $data)) { + if (\array_key_exists('oauthTokens', $data) && null !== $data['oauthTokens']) { $values_1 = []; foreach ($data['oauthTokens'] as $value_1) { $values_1[] = $value_1; } $object->setOauthTokens($values_1); + } elseif (\array_key_exists('oauthTokens', $data) && null === $data['oauthTokens']) { + $object->setOauthTokens(null); } return $object; diff --git a/src/Normalizer/AkeneoInstanceNormalizer.php b/src/Normalizer/AkeneoInstanceNormalizer.php index b08996b6..8f93d337 100644 --- a/src/Normalizer/AkeneoInstanceNormalizer.php +++ b/src/Normalizer/AkeneoInstanceNormalizer.php @@ -45,36 +45,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('url', $data)) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('secret', $data)) { + if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($data['secret']); + } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { + $object->setSecret(null); } - if (\array_key_exists('linkedAccounts', $data)) { + if (\array_key_exists('linkedAccounts', $data) && null !== $data['linkedAccounts']) { $values = []; foreach ($data['linkedAccounts'] as $value) { $values[] = $value; } $object->setLinkedAccounts($values); + } elseif (\array_key_exists('linkedAccounts', $data) && null === $data['linkedAccounts']) { + $object->setLinkedAccounts(null); } - if (\array_key_exists('oauthTokens', $data)) { + if (\array_key_exists('oauthTokens', $data) && null !== $data['oauthTokens']) { $values_1 = []; foreach ($data['oauthTokens'] as $value_1) { $values_1[] = $value_1; } $object->setOauthTokens($values_1); + } elseif (\array_key_exists('oauthTokens', $data) && null === $data['oauthTokens']) { + $object->setOauthTokens(null); } return $object; diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php index e48897ee..299dd405 100644 --- a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer.php @@ -45,26 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('akeneoInstance', $data)) { + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { $object->setAkeneoInstance($data['akeneoInstance']); + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + $object->setAkeneoInstance(null); } - if (\array_key_exists('tokenId', $data)) { + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { $object->setTokenId($data['tokenId']); + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data)) { + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { $object->setAkeneoUserId($data['akeneoUserId']); + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data)) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); } return $object; diff --git a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php index 876ab87c..e88132bc 100644 --- a/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('akeneoInstance', $data)) { + if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { $object->setAkeneoInstance($data['akeneoInstance']); + } elseif (\array_key_exists('akeneoInstance', $data) && null === $data['akeneoInstance']) { + $object->setAkeneoInstance(null); } - if (\array_key_exists('tokenId', $data)) { + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { $object->setTokenId($data['tokenId']); + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data)) { + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { $object->setAkeneoUserId($data['akeneoUserId']); + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data)) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); } return $object; diff --git a/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php index 0bc01297..89942d34 100644 --- a/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountJsonldNormalizer.php @@ -45,31 +45,45 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('tokenId', $data)) { + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { $object->setTokenId($data['tokenId']); + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data)) { + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { $object->setAkeneoUserId($data['akeneoUserId']); + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data)) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); } if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { $object->setAkeneoInstance($data['akeneoInstance']); diff --git a/src/Normalizer/AkeneoLinkedAccountNormalizer.php b/src/Normalizer/AkeneoLinkedAccountNormalizer.php index b9e41abb..147e537e 100644 --- a/src/Normalizer/AkeneoLinkedAccountNormalizer.php +++ b/src/Normalizer/AkeneoLinkedAccountNormalizer.php @@ -45,22 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('tokenId', $data)) { + if (\array_key_exists('tokenId', $data) && null !== $data['tokenId']) { $object->setTokenId($data['tokenId']); + } elseif (\array_key_exists('tokenId', $data) && null === $data['tokenId']) { + $object->setTokenId(null); } - if (\array_key_exists('akeneoUserId', $data)) { + if (\array_key_exists('akeneoUserId', $data) && null !== $data['akeneoUserId']) { $object->setAkeneoUserId($data['akeneoUserId']); + } elseif (\array_key_exists('akeneoUserId', $data) && null === $data['akeneoUserId']) { + $object->setAkeneoUserId(null); } - if (\array_key_exists('token', $data)) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); } if (\array_key_exists('akeneoInstance', $data) && null !== $data['akeneoInstance']) { $object->setAkeneoInstance($data['akeneoInstance']); diff --git a/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php index 675f7f20..7c750a3f 100644 --- a/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenJsonldReadNormalizer.php @@ -45,30 +45,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)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('url', $data)) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); } - if (\array_key_exists('scopes', $data)) { + if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } $object->setScopes($values); + } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { + $object->setScopes(null); } - if (\array_key_exists('responseType', $data)) { + if (\array_key_exists('responseType', $data) && null !== $data['responseType']) { $object->setResponseType($data['responseType']); + } elseif (\array_key_exists('responseType', $data) && null === $data['responseType']) { + $object->setResponseType(null); } return $object; diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php index 08d0915d..d518b94d 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputJsonldNormalizer.php @@ -45,24 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('url', $data)) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); } - if (\array_key_exists('scope', $data)) { + if (\array_key_exists('scope', $data) && null !== $data['scope']) { $values = []; foreach ($data['scope'] as $value) { $values[] = $value; } $object->setScope($values); + } elseif (\array_key_exists('scope', $data) && null === $data['scope']) { + $object->setScope(null); } return $object; diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php index 9cf1c20a..53436c1f 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateInputNormalizer.php @@ -45,15 +45,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('url', $data)) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); } - if (\array_key_exists('scope', $data)) { + if (\array_key_exists('scope', $data) && null !== $data['scope']) { $values = []; foreach ($data['scope'] as $value) { $values[] = $value; } $object->setScope($values); + } elseif (\array_key_exists('scope', $data) && null === $data['scope']) { + $object->setScope(null); } return $object; diff --git a/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php index c16d71d0..50183a87 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php index 77359999..30ad3d86 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputJsonldNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('url', $data)) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); } - if (\array_key_exists('state', $data)) { + if (\array_key_exists('state', $data) && null !== $data['state']) { $object->setState($data['state']); + } elseif (\array_key_exists('state', $data) && null === $data['state']) { + $object->setState(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } return $object; diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php index 2b74bb6a..aecf0a55 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenInputNormalizer.php @@ -45,14 +45,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)) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); } - if (\array_key_exists('state', $data)) { + if (\array_key_exists('state', $data) && null !== $data['state']) { $object->setState($data['state']); + } elseif (\array_key_exists('state', $data) && null === $data['state']) { + $object->setState(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } return $object; diff --git a/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php index 04311153..cfddfc84 100644 --- a/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer.php @@ -45,11 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/AkeneoOauthTokenReadNormalizer.php b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php index 3ce6baeb..a137bb9e 100644 --- a/src/Normalizer/AkeneoOauthTokenReadNormalizer.php +++ b/src/Normalizer/AkeneoOauthTokenReadNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('url', $data)) { + if (\array_key_exists('url', $data) && null !== $data['url']) { $object->setUrl($data['url']); + } elseif (\array_key_exists('url', $data) && null === $data['url']) { + $object->setUrl(null); } - if (\array_key_exists('scopes', $data)) { + if (\array_key_exists('scopes', $data) && null !== $data['scopes']) { $values = []; foreach ($data['scopes'] as $value) { $values[] = $value; } $object->setScopes($values); + } elseif (\array_key_exists('scopes', $data) && null === $data['scopes']) { + $object->setScopes(null); } - if (\array_key_exists('responseType', $data)) { + if (\array_key_exists('responseType', $data) && null !== $data['responseType']) { $object->setResponseType($data['responseType']); + } elseif (\array_key_exists('responseType', $data) && null === $data['responseType']) { + $object->setResponseType(null); } return $object; diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php index fe1f148a..6f695ea6 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php index 6622d121..3c86c41c 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php index da060df2..60bd1e46 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php b/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php index d7544a6e..b01a788b 100644 --- a/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationMeGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 19f330a4..4039dd64 100644 --- a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php index f1e537a7..b1c5f3a0 100644 --- a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php index e47e2afb..f686fd70 100644 --- a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php index 0d36e9a7..6eb5e9d7 100644 --- a/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOfferIdOptionsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php index 3037cdbb..f2b8f6c3 100644 --- a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php index e4362f52..6457d1bb 100644 --- a/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php index 85b9baf1..76ee9c9c 100644 --- a/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOffersGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php index 480fdbd8..8997123f 100644 --- a/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOffersGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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\\OfferJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 64818841..40ba6b43 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php index 692e8e8f..a80a9e6f 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php index a52dab13..1793f0d5 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php index 3da57a5d..dd13e614 100644 --- a/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 47e49d22..671d7554 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php index 105db923..e5f6ceb3 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php index 6a54e9eb..4976aa7e 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php index 0ebd6600..bd10d6cd 100644 --- a/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index 24f5c1de..a769d03b 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php index f6f34065..803cc306 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php index 742a2c92..fb216d53 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php index 7fd4a5f3..c2208dcb 100644 --- a/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdUsersGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 94e1f59f..15b13e33 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php index fd9e743f..3d53eb94 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php index 27d96719..c54e9449 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php index bd6e885c..2d373aeb 100644 --- a/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 582b655b..19285469 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php index 9b650074..777f7b42 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php index 098ffa13..f5dd3ce6 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php index c08509bc..6b51fa7a 100644 --- a/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationOrganizationsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index e1a54480..e3ea79dc 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php index 203c0b68..187fd4ed 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php index 65915a07..1e44ace6 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php index b2389045..b781f12f 100644 --- a/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 56c2fc95..635bd684 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php index 6182b580..cdcfbbb5 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php index d0cd3bbc..f833f5e5 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php index ba185181..16ba733a 100644 --- a/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 0716d254..a8994d66 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php index 29ccf6a4..457f3e02 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php index 89f07c86..de58624a 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php index a3abd267..07b939ac 100644 --- a/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUserAuthorizationsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 92d6dd2c..d717ef88 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php index 996156c7..412a4df9 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php index 803474f9..a781bbd4 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php index bbaf43e6..eebfc8b7 100644 --- a/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUserIdAuthorizationsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index 93182841..0884c7c2 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php index 54de07b4..2dcf9df2 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php index 86af6e43..3120647f 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php index 5dc000fe..cf409fd5 100644 --- a/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationUsersGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 83506776..d7442e79 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php index 66259208..35cfe2b8 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php index 4e74499c..d2004e65 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php index 7705fa27..b32a37de 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php index a7ba4624..7ad3e9e1 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php index 941622fd..cf386501 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php index b94f84a2..4d8e0cc7 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php index 6a1ba84d..8f10f7a9 100644 --- a/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspaceIdUsersGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php index e04a88cc..696c0467 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php index 0638db61..1ed0696f 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php index 5bf5cb10..ae7f27fe 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php b/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php index 2055d154..55419014 100644 --- a/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php +++ b/src/Normalizer/AuthenticationWorkspacesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/AutoloadInputJsonldNormalizer.php b/src/Normalizer/AutoloadInputJsonldNormalizer.php index 0d8ca923..df98c8d6 100644 --- a/src/Normalizer/AutoloadInputJsonldNormalizer.php +++ b/src/Normalizer/AutoloadInputJsonldNormalizer.php @@ -45,24 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('namespace', $data)) { + if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { $object->setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + $object->setNamespace(null); } - if (\array_key_exists('paths', $data)) { + if (\array_key_exists('paths', $data) && null !== $data['paths']) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + $object->setPaths(null); } return $object; diff --git a/src/Normalizer/AutoloadInputNormalizer.php b/src/Normalizer/AutoloadInputNormalizer.php index 14080976..0b540c89 100644 --- a/src/Normalizer/AutoloadInputNormalizer.php +++ b/src/Normalizer/AutoloadInputNormalizer.php @@ -45,15 +45,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('namespace', $data)) { + if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { $object->setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + $object->setNamespace(null); } - if (\array_key_exists('paths', $data)) { + if (\array_key_exists('paths', $data) && null !== $data['paths']) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + $object->setPaths(null); } return $object; diff --git a/src/Normalizer/BigDecimalJsonldNormalizer.php b/src/Normalizer/BigDecimalJsonldNormalizer.php index e568091b..58e18249 100644 --- a/src/Normalizer/BigDecimalJsonldNormalizer.php +++ b/src/Normalizer/BigDecimalJsonldNormalizer.php @@ -45,47 +45,75 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('scale', $data)) { + if (\array_key_exists('scale', $data) && null !== $data['scale']) { $object->setScale($data['scale']); + } elseif (\array_key_exists('scale', $data) && null === $data['scale']) { + $object->setScale(null); } - if (\array_key_exists('sign', $data)) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); } - if (\array_key_exists('unscaledValue', $data)) { + if (\array_key_exists('unscaledValue', $data) && null !== $data['unscaledValue']) { $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], 'Gyroscops\\Api\\Model\\BigIntegerJsonld', 'json', $context)); + } elseif (\array_key_exists('unscaledValue', $data) && null === $data['unscaledValue']) { + $object->setUnscaledValue(null); } - if (\array_key_exists('integralPart', $data)) { + if (\array_key_exists('integralPart', $data) && null !== $data['integralPart']) { $object->setIntegralPart($data['integralPart']); + } elseif (\array_key_exists('integralPart', $data) && null === $data['integralPart']) { + $object->setIntegralPart(null); } - if (\array_key_exists('fractionalPart', $data)) { + if (\array_key_exists('fractionalPart', $data) && null !== $data['fractionalPart']) { $object->setFractionalPart($data['fractionalPart']); + } elseif (\array_key_exists('fractionalPart', $data) && null === $data['fractionalPart']) { + $object->setFractionalPart(null); } - if (\array_key_exists('nonZeroFractionalPart', $data)) { + if (\array_key_exists('nonZeroFractionalPart', $data) && null !== $data['nonZeroFractionalPart']) { $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); + } elseif (\array_key_exists('nonZeroFractionalPart', $data) && null === $data['nonZeroFractionalPart']) { + $object->setNonZeroFractionalPart(null); } - if (\array_key_exists('zero', $data)) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); } - if (\array_key_exists('negative', $data)) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data)) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data)) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data)) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); } return $object; diff --git a/src/Normalizer/BigDecimalNormalizer.php b/src/Normalizer/BigDecimalNormalizer.php index 0920293d..c7436ac7 100644 --- a/src/Normalizer/BigDecimalNormalizer.php +++ b/src/Normalizer/BigDecimalNormalizer.php @@ -45,38 +45,60 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('scale', $data)) { + if (\array_key_exists('scale', $data) && null !== $data['scale']) { $object->setScale($data['scale']); + } elseif (\array_key_exists('scale', $data) && null === $data['scale']) { + $object->setScale(null); } - if (\array_key_exists('sign', $data)) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); } - if (\array_key_exists('unscaledValue', $data)) { + if (\array_key_exists('unscaledValue', $data) && null !== $data['unscaledValue']) { $object->setUnscaledValue($this->denormalizer->denormalize($data['unscaledValue'], 'Gyroscops\\Api\\Model\\BigInteger', 'json', $context)); + } elseif (\array_key_exists('unscaledValue', $data) && null === $data['unscaledValue']) { + $object->setUnscaledValue(null); } - if (\array_key_exists('integralPart', $data)) { + if (\array_key_exists('integralPart', $data) && null !== $data['integralPart']) { $object->setIntegralPart($data['integralPart']); + } elseif (\array_key_exists('integralPart', $data) && null === $data['integralPart']) { + $object->setIntegralPart(null); } - if (\array_key_exists('fractionalPart', $data)) { + if (\array_key_exists('fractionalPart', $data) && null !== $data['fractionalPart']) { $object->setFractionalPart($data['fractionalPart']); + } elseif (\array_key_exists('fractionalPart', $data) && null === $data['fractionalPart']) { + $object->setFractionalPart(null); } - if (\array_key_exists('nonZeroFractionalPart', $data)) { + if (\array_key_exists('nonZeroFractionalPart', $data) && null !== $data['nonZeroFractionalPart']) { $object->setNonZeroFractionalPart($data['nonZeroFractionalPart']); + } elseif (\array_key_exists('nonZeroFractionalPart', $data) && null === $data['nonZeroFractionalPart']) { + $object->setNonZeroFractionalPart(null); } - if (\array_key_exists('zero', $data)) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); } - if (\array_key_exists('negative', $data)) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data)) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data)) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data)) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); } return $object; diff --git a/src/Normalizer/BigIntegerJsonldNormalizer.php b/src/Normalizer/BigIntegerJsonldNormalizer.php index 73366e55..2bf735b6 100644 --- a/src/Normalizer/BigIntegerJsonldNormalizer.php +++ b/src/Normalizer/BigIntegerJsonldNormalizer.php @@ -45,44 +45,70 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('bitLength', $data)) { + if (\array_key_exists('bitLength', $data) && null !== $data['bitLength']) { $object->setBitLength($data['bitLength']); + } elseif (\array_key_exists('bitLength', $data) && null === $data['bitLength']) { + $object->setBitLength(null); } - if (\array_key_exists('lowestSetBit', $data)) { + if (\array_key_exists('lowestSetBit', $data) && null !== $data['lowestSetBit']) { $object->setLowestSetBit($data['lowestSetBit']); + } elseif (\array_key_exists('lowestSetBit', $data) && null === $data['lowestSetBit']) { + $object->setLowestSetBit(null); } - if (\array_key_exists('even', $data)) { + if (\array_key_exists('even', $data) && null !== $data['even']) { $object->setEven($data['even']); + } elseif (\array_key_exists('even', $data) && null === $data['even']) { + $object->setEven(null); } - if (\array_key_exists('odd', $data)) { + if (\array_key_exists('odd', $data) && null !== $data['odd']) { $object->setOdd($data['odd']); + } elseif (\array_key_exists('odd', $data) && null === $data['odd']) { + $object->setOdd(null); } - if (\array_key_exists('sign', $data)) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); } - if (\array_key_exists('zero', $data)) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); } - if (\array_key_exists('negative', $data)) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data)) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data)) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data)) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); } return $object; diff --git a/src/Normalizer/BigIntegerNormalizer.php b/src/Normalizer/BigIntegerNormalizer.php index 58538b39..bb345848 100644 --- a/src/Normalizer/BigIntegerNormalizer.php +++ b/src/Normalizer/BigIntegerNormalizer.php @@ -45,35 +45,55 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('bitLength', $data)) { + if (\array_key_exists('bitLength', $data) && null !== $data['bitLength']) { $object->setBitLength($data['bitLength']); + } elseif (\array_key_exists('bitLength', $data) && null === $data['bitLength']) { + $object->setBitLength(null); } - if (\array_key_exists('lowestSetBit', $data)) { + if (\array_key_exists('lowestSetBit', $data) && null !== $data['lowestSetBit']) { $object->setLowestSetBit($data['lowestSetBit']); + } elseif (\array_key_exists('lowestSetBit', $data) && null === $data['lowestSetBit']) { + $object->setLowestSetBit(null); } - if (\array_key_exists('even', $data)) { + if (\array_key_exists('even', $data) && null !== $data['even']) { $object->setEven($data['even']); + } elseif (\array_key_exists('even', $data) && null === $data['even']) { + $object->setEven(null); } - if (\array_key_exists('odd', $data)) { + if (\array_key_exists('odd', $data) && null !== $data['odd']) { $object->setOdd($data['odd']); + } elseif (\array_key_exists('odd', $data) && null === $data['odd']) { + $object->setOdd(null); } - if (\array_key_exists('sign', $data)) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); } - if (\array_key_exists('zero', $data)) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); } - if (\array_key_exists('negative', $data)) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data)) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data)) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data)) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); } return $object; diff --git a/src/Normalizer/BigNumberJsonldNormalizer.php b/src/Normalizer/BigNumberJsonldNormalizer.php index f2d296ab..c8ba6815 100644 --- a/src/Normalizer/BigNumberJsonldNormalizer.php +++ b/src/Normalizer/BigNumberJsonldNormalizer.php @@ -45,32 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('zero', $data)) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); } - if (\array_key_exists('negative', $data)) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data)) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data)) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data)) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); } - if (\array_key_exists('sign', $data)) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); } return $object; diff --git a/src/Normalizer/BigNumberNormalizer.php b/src/Normalizer/BigNumberNormalizer.php index c444313d..7a4c06f6 100644 --- a/src/Normalizer/BigNumberNormalizer.php +++ b/src/Normalizer/BigNumberNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('zero', $data)) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); } - if (\array_key_exists('negative', $data)) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data)) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data)) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data)) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); } - if (\array_key_exists('sign', $data)) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); } return $object; diff --git a/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php b/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php index d2e7e35c..46eb94ed 100644 --- a/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigMapConfigMapInputJsonldNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('configs', $data)) { + if (\array_key_exists('configs', $data) && null !== $data['configs']) { $object->setConfigs($this->denormalizer->denormalize($data['configs'], 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld', 'json', $context)); + } elseif (\array_key_exists('configs', $data) && null === $data['configs']) { + $object->setConfigs(null); } return $object; diff --git a/src/Normalizer/ConfigMapConfigMapInputNormalizer.php b/src/Normalizer/ConfigMapConfigMapInputNormalizer.php index 52aa9828..79255569 100644 --- a/src/Normalizer/ConfigMapConfigMapInputNormalizer.php +++ b/src/Normalizer/ConfigMapConfigMapInputNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('configs', $data)) { + if (\array_key_exists('configs', $data) && null !== $data['configs']) { $object->setConfigs($this->denormalizer->denormalize($data['configs'], 'Gyroscops\\Api\\Model\\ConfigMapValueInput', 'json', $context)); + } elseif (\array_key_exists('configs', $data) && null === $data['configs']) { + $object->setConfigs(null); } return $object; diff --git a/src/Normalizer/ConfigMapJsonldNormalizer.php b/src/Normalizer/ConfigMapJsonldNormalizer.php index c8e679a1..0a4e2ef0 100644 --- a/src/Normalizer/ConfigMapJsonldNormalizer.php +++ b/src/Normalizer/ConfigMapJsonldNormalizer.php @@ -45,32 +45,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)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } return $object; diff --git a/src/Normalizer/ConfigMapNormalizer.php b/src/Normalizer/ConfigMapNormalizer.php index f06e441d..828739ec 100644 --- a/src/Normalizer/ConfigMapNormalizer.php +++ b/src/Normalizer/ConfigMapNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } return $object; diff --git a/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php b/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php index 8c36c753..fb5abdbd 100644 --- a/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php +++ b/src/Normalizer/ConfigMapValueInputJsonldNormalizer.php @@ -45,26 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('arrayCopy', $data)) { + if (\array_key_exists('arrayCopy', $data) && null !== $data['arrayCopy']) { $object->setArrayCopy($data['arrayCopy']); + } elseif (\array_key_exists('arrayCopy', $data) && null === $data['arrayCopy']) { + $object->setArrayCopy(null); } - if (\array_key_exists('flags', $data)) { + if (\array_key_exists('flags', $data) && null !== $data['flags']) { $object->setFlags($data['flags']); + } elseif (\array_key_exists('flags', $data) && null === $data['flags']) { + $object->setFlags(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } - if (\array_key_exists('iteratorClass', $data)) { + if (\array_key_exists('iteratorClass', $data) && null !== $data['iteratorClass']) { $object->setIteratorClass($data['iteratorClass']); + } elseif (\array_key_exists('iteratorClass', $data) && null === $data['iteratorClass']) { + $object->setIteratorClass(null); } return $object; diff --git a/src/Normalizer/ConfigMapValueInputNormalizer.php b/src/Normalizer/ConfigMapValueInputNormalizer.php index b7ce81fd..72ccbd61 100644 --- a/src/Normalizer/ConfigMapValueInputNormalizer.php +++ b/src/Normalizer/ConfigMapValueInputNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('arrayCopy', $data)) { + if (\array_key_exists('arrayCopy', $data) && null !== $data['arrayCopy']) { $object->setArrayCopy($data['arrayCopy']); + } elseif (\array_key_exists('arrayCopy', $data) && null === $data['arrayCopy']) { + $object->setArrayCopy(null); } - if (\array_key_exists('flags', $data)) { + if (\array_key_exists('flags', $data) && null !== $data['flags']) { $object->setFlags($data['flags']); + } elseif (\array_key_exists('flags', $data) && null === $data['flags']) { + $object->setFlags(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } - if (\array_key_exists('iteratorClass', $data)) { + if (\array_key_exists('iteratorClass', $data) && null !== $data['iteratorClass']) { $object->setIteratorClass($data['iteratorClass']); + } elseif (\array_key_exists('iteratorClass', $data) && null === $data['iteratorClass']) { + $object->setIteratorClass(null); } return $object; diff --git a/src/Normalizer/ContextJsonldNormalizer.php b/src/Normalizer/ContextJsonldNormalizer.php index edbd0871..ae6f321e 100644 --- a/src/Normalizer/ContextJsonldNormalizer.php +++ b/src/Normalizer/ContextJsonldNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('step', $data)) { + if (\array_key_exists('step', $data) && null !== $data['step']) { $object->setStep($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); } - if (\array_key_exists('fixedScale', $data)) { + if (\array_key_exists('fixedScale', $data) && null !== $data['fixedScale']) { $object->setFixedScale($data['fixedScale']); + } elseif (\array_key_exists('fixedScale', $data) && null === $data['fixedScale']) { + $object->setFixedScale(null); } return $object; diff --git a/src/Normalizer/ContextNormalizer.php b/src/Normalizer/ContextNormalizer.php index 652073a0..83c8f3e4 100644 --- a/src/Normalizer/ContextNormalizer.php +++ b/src/Normalizer/ContextNormalizer.php @@ -45,11 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('step', $data)) { + if (\array_key_exists('step', $data) && null !== $data['step']) { $object->setStep($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); } - if (\array_key_exists('fixedScale', $data)) { + if (\array_key_exists('fixedScale', $data) && null !== $data['fixedScale']) { $object->setFixedScale($data['fixedScale']); + } elseif (\array_key_exists('fixedScale', $data) && null === $data['fixedScale']) { + $object->setFixedScale(null); } return $object; diff --git a/src/Normalizer/CredentialsNormalizer.php b/src/Normalizer/CredentialsNormalizer.php index be34a09e..26bfe352 100644 --- a/src/Normalizer/CredentialsNormalizer.php +++ b/src/Normalizer/CredentialsNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('username', $data)) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('password', $data)) { + if (\array_key_exists('password', $data) && null !== $data['password']) { $object->setPassword($data['password']); + } elseif (\array_key_exists('password', $data) && null === $data['password']) { + $object->setPassword(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } return $object; diff --git a/src/Normalizer/CurrencyJsonldNormalizer.php b/src/Normalizer/CurrencyJsonldNormalizer.php index 6d5a935b..8a393036 100644 --- a/src/Normalizer/CurrencyJsonldNormalizer.php +++ b/src/Normalizer/CurrencyJsonldNormalizer.php @@ -45,26 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('currencyCode', $data)) { + if (\array_key_exists('currencyCode', $data) && null !== $data['currencyCode']) { $object->setCurrencyCode($data['currencyCode']); + } elseif (\array_key_exists('currencyCode', $data) && null === $data['currencyCode']) { + $object->setCurrencyCode(null); } - if (\array_key_exists('numericCode', $data)) { + if (\array_key_exists('numericCode', $data) && null !== $data['numericCode']) { $object->setNumericCode($data['numericCode']); + } elseif (\array_key_exists('numericCode', $data) && null === $data['numericCode']) { + $object->setNumericCode(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('defaultFractionDigits', $data)) { + if (\array_key_exists('defaultFractionDigits', $data) && null !== $data['defaultFractionDigits']) { $object->setDefaultFractionDigits($data['defaultFractionDigits']); + } elseif (\array_key_exists('defaultFractionDigits', $data) && null === $data['defaultFractionDigits']) { + $object->setDefaultFractionDigits(null); } return $object; diff --git a/src/Normalizer/CurrencyNormalizer.php b/src/Normalizer/CurrencyNormalizer.php index b2be9b93..38cb7cc6 100644 --- a/src/Normalizer/CurrencyNormalizer.php +++ b/src/Normalizer/CurrencyNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('currencyCode', $data)) { + if (\array_key_exists('currencyCode', $data) && null !== $data['currencyCode']) { $object->setCurrencyCode($data['currencyCode']); + } elseif (\array_key_exists('currencyCode', $data) && null === $data['currencyCode']) { + $object->setCurrencyCode(null); } - if (\array_key_exists('numericCode', $data)) { + if (\array_key_exists('numericCode', $data) && null !== $data['numericCode']) { $object->setNumericCode($data['numericCode']); + } elseif (\array_key_exists('numericCode', $data) && null === $data['numericCode']) { + $object->setNumericCode(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('defaultFractionDigits', $data)) { + if (\array_key_exists('defaultFractionDigits', $data) && null !== $data['defaultFractionDigits']) { $object->setDefaultFractionDigits($data['defaultFractionDigits']); + } elseif (\array_key_exists('defaultFractionDigits', $data) && null === $data['defaultFractionDigits']) { + $object->setDefaultFractionDigits(null); } return $object; diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php index a0239c92..74bdc6c5 100644 --- a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php index 26096a15..5fb5e656 100644 --- a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php index b26a2983..b5c65b82 100644 --- a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php index 4301400b..a70ebd05 100644 --- a/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentConfigMapIdPutPutResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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\\ConfigMapJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php index afa6b483..3aaa4ba6 100644 --- a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php index 0f3ed119..3e796bce 100644 --- a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php index 57b1cee3..d8e954e3 100644 --- a/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php index 1faad0e5..66e2ab1b 100644 --- a/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentConfigMapsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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\\ConfigMapJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 206c85c3..87cdbc14 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php index 828c45f5..a6648d9c 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php index 3b6e2fd8..49541094 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php index ab4e2550..bd4bd151 100644 --- a/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentEnvironmentsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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\\EnvironmentJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/EnvironmentJsonldNormalizer.php b/src/Normalizer/EnvironmentJsonldNormalizer.php index f94cc0ea..a688cc52 100644 --- a/src/Normalizer/EnvironmentJsonldNormalizer.php +++ b/src/Normalizer/EnvironmentJsonldNormalizer.php @@ -45,36 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('variables', $data)) { + if (\array_key_exists('variables', $data) && null !== $data['variables']) { $values = []; foreach ($data['variables'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\VariableJsonld', 'json', $context); } $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); } return $object; diff --git a/src/Normalizer/EnvironmentNormalizer.php b/src/Normalizer/EnvironmentNormalizer.php index 98a4c926..ec39ea53 100644 --- a/src/Normalizer/EnvironmentNormalizer.php +++ b/src/Normalizer/EnvironmentNormalizer.php @@ -45,27 +45,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('variables', $data)) { + if (\array_key_exists('variables', $data) && null !== $data['variables']) { $values = []; foreach ($data['variables'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\Variable', 'json', $context); } $object->setVariables($values); + } elseif (\array_key_exists('variables', $data) && null === $data['variables']) { + $object->setVariables(null); } return $object; diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php index 334dcfb9..60771c18 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php index 1d54b269..560e878e 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php index 9f4d8b77..76d43a2a 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php b/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php index 5d6b8e99..21f6c8a1 100644 --- a/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentSecretIdPutPutResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 3389b251..44661714 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php index d09d4815..d1345624 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php index 364d40a9..f9e6b966 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php index b294f71a..439fcc7e 100644 --- a/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentSecretsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 94b17332..1141f490 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php index e98b34d7..2e90e8e4 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php index 2c9ddd42..364857d7 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php index b57fbc2c..10475374 100644 --- a/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentVariableFromConfigMapsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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\\VariableFromConfigMapJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 5e156d87..32f6286e 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php index 6bc0c263..bd5bd83e 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php index 7fefdba1..10d3604b 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php index d669e74c..7e2f5b4e 100644 --- a/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php +++ b/src/Normalizer/EnvironmentVariableFromSecretsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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\\VariableFromSecretJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/ExecutionActionJsonldNormalizer.php b/src/Normalizer/ExecutionActionJsonldNormalizer.php index 5c3cebdb..6f26c812 100644 --- a/src/Normalizer/ExecutionActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionActionJsonldNormalizer.php @@ -45,22 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } return $object; diff --git a/src/Normalizer/ExecutionActionJsonldReadNormalizer.php b/src/Normalizer/ExecutionActionJsonldReadNormalizer.php index e945af39..b8e23c6c 100644 --- a/src/Normalizer/ExecutionActionJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionActionJsonldReadNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } return $object; diff --git a/src/Normalizer/ExecutionActionNormalizer.php b/src/Normalizer/ExecutionActionNormalizer.php index 89fa7a76..0de2c7ab 100644 --- a/src/Normalizer/ExecutionActionNormalizer.php +++ b/src/Normalizer/ExecutionActionNormalizer.php @@ -50,8 +50,10 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } return $object; diff --git a/src/Normalizer/ExecutionActionReadNormalizer.php b/src/Normalizer/ExecutionActionReadNormalizer.php index 29ae946d..568f33b4 100644 --- a/src/Normalizer/ExecutionActionReadNormalizer.php +++ b/src/Normalizer/ExecutionActionReadNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } return $object; diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php index 85a119fe..72aaedcb 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('schedule', $data)) { + if (\array_key_exists('schedule', $data) && null !== $data['schedule']) { $object->setSchedule($data['schedule']); + } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { + $object->setSchedule(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } return $object; diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php index 1557954a..6bee75b0 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandInputNormalizer.php @@ -45,11 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('schedule', $data)) { + if (\array_key_exists('schedule', $data) && null !== $data['schedule']) { $object->setSchedule($data['schedule']); + } elseif (\array_key_exists('schedule', $data) && null === $data['schedule']) { + $object->setSchedule(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } return $object; diff --git a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php index 52f3996a..40a15160 100644 --- a/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php index 0bdfec3e..e85cf57b 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php index 797edbb2..cb7cf0fb 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandInputNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php index 4e8451ac..7b0f34f3 100644 --- a/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php index c30cc7a6..5c1542e3 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php index f84c59ac..be5d3c82 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandInputNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php index a9d4cc4d..9a45c49c 100644 --- a/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/ExecutionJsonldReadNormalizer.php b/src/Normalizer/ExecutionJsonldReadNormalizer.php index 871b7f0b..1e731383 100644 --- a/src/Normalizer/ExecutionJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionJsonldReadNormalizer.php @@ -45,26 +45,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)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('status', $data)) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); } - if (\array_key_exists('errors', $data)) { + if (\array_key_exists('errors', $data) && null !== $data['errors']) { $object->setErrors($data['errors']); + } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { + $object->setErrors(null); } if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); diff --git a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php index fe8b3ac2..3e2c04f3 100644 --- a/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobJsonldNormalizer.php @@ -45,29 +45,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/ExecutionPipelineJobNormalizer.php b/src/Normalizer/ExecutionPipelineJobNormalizer.php index 4d8cdad1..20fb55f3 100644 --- a/src/Normalizer/ExecutionPipelineJobNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJobNormalizer.php @@ -50,15 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineJsonldNormalizer.php index a5f92ed4..00b22b74 100644 --- a/src/Normalizer/ExecutionPipelineJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineJsonldNormalizer.php @@ -45,29 +45,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/ExecutionPipelineNormalizer.php b/src/Normalizer/ExecutionPipelineNormalizer.php index 88dec5ed..a8023fc9 100644 --- a/src/Normalizer/ExecutionPipelineNormalizer.php +++ b/src/Normalizer/ExecutionPipelineNormalizer.php @@ -50,15 +50,19 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { $object->setExecution(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $value; } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php b/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php index 088fc20d..2c17c952 100644 --- a/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepJsonldNormalizer.php @@ -45,27 +45,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('metrics', $data)) { + if (\array_key_exists('metrics', $data) && null !== $data['metrics']) { $values = []; foreach ($data['metrics'] as $value) { $values[] = $value; } $object->setMetrics($values); + } elseif (\array_key_exists('metrics', $data) && null === $data['metrics']) { + $object->setMetrics(null); } return $object; diff --git a/src/Normalizer/ExecutionPipelineStepNormalizer.php b/src/Normalizer/ExecutionPipelineStepNormalizer.php index 54e9afc6..2d990eac 100644 --- a/src/Normalizer/ExecutionPipelineStepNormalizer.php +++ b/src/Normalizer/ExecutionPipelineStepNormalizer.php @@ -45,18 +45,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)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('metrics', $data)) { + if (\array_key_exists('metrics', $data) && null !== $data['metrics']) { $values = []; foreach ($data['metrics'] as $value) { $values[] = $value; } $object->setMetrics($values); + } elseif (\array_key_exists('metrics', $data) && null === $data['metrics']) { + $object->setMetrics(null); } return $object; diff --git a/src/Normalizer/ExecutionReadNormalizer.php b/src/Normalizer/ExecutionReadNormalizer.php index 57983e34..1f1b2ac5 100644 --- a/src/Normalizer/ExecutionReadNormalizer.php +++ b/src/Normalizer/ExecutionReadNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('status', $data)) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); } - if (\array_key_exists('errors', $data)) { + if (\array_key_exists('errors', $data) && null !== $data['errors']) { $object->setErrors($data['errors']); + } elseif (\array_key_exists('errors', $data) && null === $data['errors']) { + $object->setErrors(null); } if (\array_key_exists('scheduledAt', $data) && null !== $data['scheduledAt']) { $object->setScheduledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['scheduledAt'])); diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php index e1e02bb7..003d0d46 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputJsonldNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php index 7d4844b0..a7607adc 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandInputNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php index 0dfb4028..71340880 100644 --- a/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionResumePipelineExecutionCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php index a7c0930c..f83fb543 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputJsonldNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php index a4cacc0d..cb7fe17f 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandInputNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php index 10452a56..6f76d41b 100644 --- a/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionStartPipelineExecutionCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php index 6093b375..f9c1890c 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } - if (\array_key_exists('reason', $data)) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + $object->setReason(null); } return $object; diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php index e8ba1770..e66ad3b8 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandInputNormalizer.php @@ -45,11 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } - if (\array_key_exists('reason', $data)) { + if (\array_key_exists('reason', $data) && null !== $data['reason']) { $object->setReason($data['reason']); + } elseif (\array_key_exists('reason', $data) && null === $data['reason']) { + $object->setReason(null); } return $object; diff --git a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php index a7a47e01..022184e4 100644 --- a/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php index 32ac3fd8..cfe99855 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } - if (\array_key_exists('stepsUpdates', $data)) { + if (\array_key_exists('stepsUpdates', $data) && null !== $data['stepsUpdates']) { $object->setStepsUpdates($this->denormalizer->denormalize($data['stepsUpdates'], 'Gyroscops\\Api\\Model\\UpdateListJsonld', 'json', $context)); + } elseif (\array_key_exists('stepsUpdates', $data) && null === $data['stepsUpdates']) { + $object->setStepsUpdates(null); } return $object; diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php index 76458eea..6a905b46 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandInputNormalizer.php @@ -45,11 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } - if (\array_key_exists('stepsUpdates', $data)) { + if (\array_key_exists('stepsUpdates', $data) && null !== $data['stepsUpdates']) { $object->setStepsUpdates($this->denormalizer->denormalize($data['stepsUpdates'], 'Gyroscops\\Api\\Model\\UpdateList', 'json', $context)); + } elseif (\array_key_exists('stepsUpdates', $data) && null === $data['stepsUpdates']) { + $object->setStepsUpdates(null); } return $object; diff --git a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php index 5873a3d2..c461f3b5 100644 --- a/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php +++ b/src/Normalizer/ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php index b406501d..354fe9ba 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionJsonldNormalizer.php @@ -45,22 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } return $object; diff --git a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php index e22dc830..f3181724 100644 --- a/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobActionNormalizer.php @@ -50,8 +50,10 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } return $object; diff --git a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php index 0c0d11c4..410e9b5d 100644 --- a/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobJsonldNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); diff --git a/src/Normalizer/ExecutionWorkflowJobNormalizer.php b/src/Normalizer/ExecutionWorkflowJobNormalizer.php index 462f4c1d..378b40cb 100644 --- a/src/Normalizer/ExecutionWorkflowJobNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJobNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); diff --git a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php b/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php index 7781c0e8..48338646 100644 --- a/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowJsonldNormalizer.php @@ -45,27 +45,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('jobs', $data)) { + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { $values = []; foreach ($data['jobs'] as $value) { $values[] = $value; } $object->setJobs($values); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/ExecutionWorkflowNormalizer.php b/src/Normalizer/ExecutionWorkflowNormalizer.php index 972b81f0..17e26706 100644 --- a/src/Normalizer/ExecutionWorkflowNormalizer.php +++ b/src/Normalizer/ExecutionWorkflowNormalizer.php @@ -45,18 +45,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)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('jobs', $data)) { + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { $values = []; foreach ($data['jobs'] as $value) { $values[] = $value; } $object->setJobs($values); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } - if (\array_key_exists('execution', $data)) { + if (\array_key_exists('execution', $data) && null !== $data['execution']) { $object->setExecution($data['execution']); + } elseif (\array_key_exists('execution', $data) && null === $data['execution']) { + $object->setExecution(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php index 0803a45c..c5cb9e46 100644 --- a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php index 91bb706b..3d346a14 100644 --- a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php index 0b207eee..55482d4d 100644 --- a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php index 4550c500..6a78d76d 100644 --- a/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceFromUrlGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php index abfcf776..64d68d8a 100644 --- a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php index 06c6b29d..95c7cf36 100644 --- a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php index c91e097c..911fdf16 100644 --- a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php index 5990fa91..017afef7 100644 --- a/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoInstanceOauthStateGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 9e5bdc4a..8771cf97 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php index 5d907769..e5a96ea4 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php index 72ce7b7e..a97a00af 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php index 1c019d1c..9044284c 100644 --- a/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoInstancesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php index 4f9ae67b..bb5c96a3 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php index 1601c47e..b45c2373 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php index 623af985..e868b758 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php index 469086ad..5352e86a 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 85017e6a..a61d1675 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php index fc9da862..775b5181 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php index f994190b..0c99073f 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php index 37966195..2ae371b0 100644 --- a/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoLinkedAccountsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 369b0407..c729279a 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php index dfb3d1a3..3b4bdd7c 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php index bd58a048..9b2f1e72 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php index 71c7d810..b53abe02 100644 --- a/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthStatesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php index 7da399a1..dd57f7e1 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php index 542eacef..5f5acbda 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php index fdc16358..89fb8790 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php index 822ca802..3b8c8743 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutBodyNormalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php index 247c56ec..c7fe9213 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php index b574c332..864fc7de 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php index c856dccd..5976cf83 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php index 3a8ce2cf..4908a475 100644 --- a/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php +++ b/src/Normalizer/GatewayAkeneoOauthTokenPutResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/MoneyJsonldNormalizer.php b/src/Normalizer/MoneyJsonldNormalizer.php index a9305706..d74b6f7c 100644 --- a/src/Normalizer/MoneyJsonldNormalizer.php +++ b/src/Normalizer/MoneyJsonldNormalizer.php @@ -45,54 +45,84 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('amount', $data)) { + if (\array_key_exists('amount', $data) && null !== $data['amount']) { $object->setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\BigDecimalJsonld', 'json', $context)); + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { + $object->setAmount(null); } - if (\array_key_exists('currency', $data)) { + if (\array_key_exists('currency', $data) && null !== $data['currency']) { $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Gyroscops\\Api\\Model\\CurrencyJsonld', 'json', $context)); + } elseif (\array_key_exists('currency', $data) && null === $data['currency']) { + $object->setCurrency(null); } - if (\array_key_exists('context', $data)) { + if (\array_key_exists('context', $data) && null !== $data['context']) { $object->setContext2($this->denormalizer->denormalize($data['context'], 'Gyroscops\\Api\\Model\\ContextJsonld', 'json', $context)); + } elseif (\array_key_exists('context', $data) && null === $data['context']) { + $object->setContext2(null); } - if (\array_key_exists('minorAmount', $data)) { + if (\array_key_exists('minorAmount', $data) && null !== $data['minorAmount']) { $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], 'Gyroscops\\Api\\Model\\BigDecimalJsonld', 'json', $context)); + } elseif (\array_key_exists('minorAmount', $data) && null === $data['minorAmount']) { + $object->setMinorAmount(null); } - if (\array_key_exists('unscaledAmount', $data)) { + if (\array_key_exists('unscaledAmount', $data) && null !== $data['unscaledAmount']) { $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], 'Gyroscops\\Api\\Model\\BigIntegerJsonld', 'json', $context)); + } elseif (\array_key_exists('unscaledAmount', $data) && null === $data['unscaledAmount']) { + $object->setUnscaledAmount(null); } - if (\array_key_exists('amounts', $data)) { + if (\array_key_exists('amounts', $data) && null !== $data['amounts']) { $values = []; foreach ($data['amounts'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumberJsonld', 'json', $context); } $object->setAmounts($values); + } elseif (\array_key_exists('amounts', $data) && null === $data['amounts']) { + $object->setAmounts(null); } - if (\array_key_exists('sign', $data)) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); } - if (\array_key_exists('zero', $data)) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); } - if (\array_key_exists('negative', $data)) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data)) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data)) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data)) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); } return $object; diff --git a/src/Normalizer/MoneyNormalizer.php b/src/Normalizer/MoneyNormalizer.php index 638a6b1a..6c5f7bc9 100644 --- a/src/Normalizer/MoneyNormalizer.php +++ b/src/Normalizer/MoneyNormalizer.php @@ -45,45 +45,69 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('amount', $data)) { + if (\array_key_exists('amount', $data) && null !== $data['amount']) { $object->setAmount($this->denormalizer->denormalize($data['amount'], 'Gyroscops\\Api\\Model\\BigDecimal', 'json', $context)); + } elseif (\array_key_exists('amount', $data) && null === $data['amount']) { + $object->setAmount(null); } - if (\array_key_exists('currency', $data)) { + if (\array_key_exists('currency', $data) && null !== $data['currency']) { $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'Gyroscops\\Api\\Model\\Currency', 'json', $context)); + } elseif (\array_key_exists('currency', $data) && null === $data['currency']) { + $object->setCurrency(null); } - if (\array_key_exists('context', $data)) { + if (\array_key_exists('context', $data) && null !== $data['context']) { $object->setContext($this->denormalizer->denormalize($data['context'], 'Gyroscops\\Api\\Model\\Context', 'json', $context)); + } elseif (\array_key_exists('context', $data) && null === $data['context']) { + $object->setContext(null); } - if (\array_key_exists('minorAmount', $data)) { + if (\array_key_exists('minorAmount', $data) && null !== $data['minorAmount']) { $object->setMinorAmount($this->denormalizer->denormalize($data['minorAmount'], 'Gyroscops\\Api\\Model\\BigDecimal', 'json', $context)); + } elseif (\array_key_exists('minorAmount', $data) && null === $data['minorAmount']) { + $object->setMinorAmount(null); } - if (\array_key_exists('unscaledAmount', $data)) { + if (\array_key_exists('unscaledAmount', $data) && null !== $data['unscaledAmount']) { $object->setUnscaledAmount($this->denormalizer->denormalize($data['unscaledAmount'], 'Gyroscops\\Api\\Model\\BigInteger', 'json', $context)); + } elseif (\array_key_exists('unscaledAmount', $data) && null === $data['unscaledAmount']) { + $object->setUnscaledAmount(null); } - if (\array_key_exists('amounts', $data)) { + if (\array_key_exists('amounts', $data) && null !== $data['amounts']) { $values = []; foreach ($data['amounts'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\BigNumber', 'json', $context); } $object->setAmounts($values); + } elseif (\array_key_exists('amounts', $data) && null === $data['amounts']) { + $object->setAmounts(null); } - if (\array_key_exists('sign', $data)) { + if (\array_key_exists('sign', $data) && null !== $data['sign']) { $object->setSign($data['sign']); + } elseif (\array_key_exists('sign', $data) && null === $data['sign']) { + $object->setSign(null); } - if (\array_key_exists('zero', $data)) { + if (\array_key_exists('zero', $data) && null !== $data['zero']) { $object->setZero($data['zero']); + } elseif (\array_key_exists('zero', $data) && null === $data['zero']) { + $object->setZero(null); } - if (\array_key_exists('negative', $data)) { + if (\array_key_exists('negative', $data) && null !== $data['negative']) { $object->setNegative($data['negative']); + } elseif (\array_key_exists('negative', $data) && null === $data['negative']) { + $object->setNegative(null); } - if (\array_key_exists('negativeOrZero', $data)) { + if (\array_key_exists('negativeOrZero', $data) && null !== $data['negativeOrZero']) { $object->setNegativeOrZero($data['negativeOrZero']); + } elseif (\array_key_exists('negativeOrZero', $data) && null === $data['negativeOrZero']) { + $object->setNegativeOrZero(null); } - if (\array_key_exists('positive', $data)) { + if (\array_key_exists('positive', $data) && null !== $data['positive']) { $object->setPositive($data['positive']); + } elseif (\array_key_exists('positive', $data) && null === $data['positive']) { + $object->setPositive(null); } - if (\array_key_exists('positiveOrZero', $data)) { + if (\array_key_exists('positiveOrZero', $data) && null !== $data['positiveOrZero']) { $object->setPositiveOrZero($data['positiveOrZero']); + } elseif (\array_key_exists('positiveOrZero', $data) && null === $data['positiveOrZero']) { + $object->setPositiveOrZero(null); } return $object; diff --git a/src/Normalizer/OfferJsonldNormalizer.php b/src/Normalizer/OfferJsonldNormalizer.php index 05e1d993..ad0518fc 100644 --- a/src/Normalizer/OfferJsonldNormalizer.php +++ b/src/Normalizer/OfferJsonldNormalizer.php @@ -45,39 +45,59 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('options', $data)) { + if (\array_key_exists('options', $data) && null !== $data['options']) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); + } elseif (\array_key_exists('options', $data) && null === $data['options']) { + $object->setOptions(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('sku', $data)) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + $object->setSku(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('price', $data)) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); } return $object; diff --git a/src/Normalizer/OfferNormalizer.php b/src/Normalizer/OfferNormalizer.php index eac96ae3..20a867b0 100644 --- a/src/Normalizer/OfferNormalizer.php +++ b/src/Normalizer/OfferNormalizer.php @@ -45,30 +45,44 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('options', $data)) { + if (\array_key_exists('options', $data) && null !== $data['options']) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); + } elseif (\array_key_exists('options', $data) && null === $data['options']) { + $object->setOptions(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('sku', $data)) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + $object->setSku(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('price', $data)) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); } return $object; diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php index e3d5fb50..9c6d530a 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestReadNormalizer.php @@ -45,32 +45,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)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('message', $data)) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); + } elseif (\array_key_exists('message', $data) && null === $data['message']) { + $object->setMessage(null); } - if (\array_key_exists('createdAt', $data)) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); } return $object; diff --git a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php index f584f64f..c2bceb9c 100644 --- a/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer.php @@ -45,26 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('message', $data)) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); + } elseif (\array_key_exists('message', $data) && null === $data['message']) { + $object->setMessage(null); } return $object; diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php index db0f6806..ddf04388 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestReadNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('message', $data)) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); + } elseif (\array_key_exists('message', $data) && null === $data['message']) { + $object->setMessage(null); } - if (\array_key_exists('createdAt', $data)) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); } return $object; diff --git a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php index c5debea0..68775182 100644 --- a/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php +++ b/src/Normalizer/OnPremiseRequestOnPremiseRequestWriteNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('message', $data)) { + if (\array_key_exists('message', $data) && null !== $data['message']) { $object->setMessage($data['message']); + } elseif (\array_key_exists('message', $data) && null === $data['message']) { + $object->setMessage(null); } return $object; diff --git a/src/Normalizer/OptionJsonldNormalizer.php b/src/Normalizer/OptionJsonldNormalizer.php index 70fe3139..d5dc2ee9 100644 --- a/src/Normalizer/OptionJsonldNormalizer.php +++ b/src/Normalizer/OptionJsonldNormalizer.php @@ -45,34 +45,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)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('offer', $data) && null !== $data['offer']) { $object->setOffer($data['offer']); } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { $object->setOffer(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('sku', $data)) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + $object->setSku(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('price', $data)) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); } return $object; diff --git a/src/Normalizer/OptionNormalizer.php b/src/Normalizer/OptionNormalizer.php index 0051f28a..56869f24 100644 --- a/src/Normalizer/OptionNormalizer.php +++ b/src/Normalizer/OptionNormalizer.php @@ -50,23 +50,35 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { $object->setOffer(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('sku', $data)) { + if (\array_key_exists('sku', $data) && null !== $data['sku']) { $object->setSku($data['sku']); + } elseif (\array_key_exists('sku', $data) && null === $data['sku']) { + $object->setSku(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('price', $data)) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); } return $object; diff --git a/src/Normalizer/OrganizationJsonldNormalizer.php b/src/Normalizer/OrganizationJsonldNormalizer.php index 2d9d43cd..c1ac16cc 100644 --- a/src/Normalizer/OrganizationJsonldNormalizer.php +++ b/src/Normalizer/OrganizationJsonldNormalizer.php @@ -45,51 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('authorizations', $data)) { + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - if (\array_key_exists('users', $data)) { + if (\array_key_exists('users', $data) && null !== $data['users']) { $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); } - if (\array_key_exists('externalCollaborators', $data)) { + if (\array_key_exists('externalCollaborators', $data) && null !== $data['externalCollaborators']) { $values_2 = []; foreach ($data['externalCollaborators'] as $value_2) { $values_2[] = $value_2; } $object->setExternalCollaborators($values_2); + } elseif (\array_key_exists('externalCollaborators', $data) && null === $data['externalCollaborators']) { + $object->setExternalCollaborators(null); } - if (\array_key_exists('workspaces', $data)) { + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { $values_3 = []; foreach ($data['workspaces'] as $value_3) { $values_3[] = $value_3; } $object->setWorkspaces($values_3); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); } return $object; diff --git a/src/Normalizer/OrganizationNormalizer.php b/src/Normalizer/OrganizationNormalizer.php index b8358705..9eb5880e 100644 --- a/src/Normalizer/OrganizationNormalizer.php +++ b/src/Normalizer/OrganizationNormalizer.php @@ -45,42 +45,56 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('authorizations', $data)) { + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } - if (\array_key_exists('users', $data)) { + if (\array_key_exists('users', $data) && null !== $data['users']) { $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); } - if (\array_key_exists('externalCollaborators', $data)) { + if (\array_key_exists('externalCollaborators', $data) && null !== $data['externalCollaborators']) { $values_2 = []; foreach ($data['externalCollaborators'] as $value_2) { $values_2[] = $value_2; } $object->setExternalCollaborators($values_2); + } elseif (\array_key_exists('externalCollaborators', $data) && null === $data['externalCollaborators']) { + $object->setExternalCollaborators(null); } - if (\array_key_exists('workspaces', $data)) { + if (\array_key_exists('workspaces', $data) && null !== $data['workspaces']) { $values_3 = []; foreach ($data['workspaces'] as $value_3) { $values_3[] = $value_3; } $object->setWorkspaces($values_3); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); } return $object; diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php index 269e8f4f..90f38f19 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputJsonldNormalizer.php @@ -45,28 +45,42 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('previous', $data)) { + if (\array_key_exists('previous', $data) && null !== $data['previous']) { $object->setPrevious($data['previous']); + } elseif (\array_key_exists('previous', $data) && null === $data['previous']) { + $object->setPrevious(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -76,13 +90,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php index ef72b2b5..f1409caa 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandInputNormalizer.php @@ -45,19 +45,27 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('previous', $data)) { + if (\array_key_exists('previous', $data) && null !== $data['previous']) { $object->setPrevious($data['previous']); + } elseif (\array_key_exists('previous', $data) && null === $data['previous']) { + $object->setPrevious(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -67,13 +75,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php index 86830df0..0845d4e0 100644 --- a/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddAfterPipelineStepCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php index aa24ede0..06f7af5e 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputJsonldNormalizer.php @@ -45,28 +45,42 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('next', $data)) { + if (\array_key_exists('next', $data) && null !== $data['next']) { $object->setNext($data['next']); + } elseif (\array_key_exists('next', $data) && null === $data['next']) { + $object->setNext(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -76,13 +90,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php index df67b5e3..e4bf5e2a 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandInputNormalizer.php @@ -45,19 +45,27 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('next', $data)) { + if (\array_key_exists('next', $data) && null !== $data['next']) { $object->setNext($data['next']); + } elseif (\array_key_exists('next', $data) && null === $data['next']) { + $object->setNext(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -67,13 +75,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php index fb054ab3..655a5f61 100644 --- a/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddBeforePipelineStepCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php index cba148c9..653e6648 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer.php @@ -45,27 +45,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('namespace', $data)) { + if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { $object->setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + $object->setNamespace(null); } - if (\array_key_exists('paths', $data)) { + if (\array_key_exists('paths', $data) && null !== $data['paths']) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + $object->setPaths(null); } return $object; diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php index 49b51f86..5cd69694 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer.php @@ -45,18 +45,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('namespace', $data)) { + if (\array_key_exists('namespace', $data) && null !== $data['namespace']) { $object->setNamespace($data['namespace']); + } elseif (\array_key_exists('namespace', $data) && null === $data['namespace']) { + $object->setNamespace(null); } - if (\array_key_exists('paths', $data)) { + if (\array_key_exists('paths', $data) && null !== $data['paths']) { $values = []; foreach ($data['paths'] as $value) { $values[] = $value; } $object->setPaths($values); + } elseif (\array_key_exists('paths', $data) && null === $data['paths']) { + $object->setPaths(null); } return $object; diff --git a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php index 35c30dbf..3e881e4d 100644 --- a/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php index 1654e32f..f7efedd2 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbCommandInputJsonldNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('probe', $data)) { + if (\array_key_exists('probe', $data) && null !== $data['probe']) { $object->setProbe($this->denormalizer->denormalize($data['probe'], 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context)); + } elseif (\array_key_exists('probe', $data) && null === $data['probe']) { + $object->setProbe(null); } return $object; diff --git a/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php index be4584bb..3a4e2a46 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbCommandInputNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('probe', $data)) { + if (\array_key_exists('probe', $data) && null !== $data['probe']) { $object->setProbe($this->denormalizer->denormalize($data['probe'], 'Gyroscops\\Api\\Model\\Probe', 'json', $context)); + } elseif (\array_key_exists('probe', $data) && null === $data['probe']) { + $object->setProbe(null); } return $object; diff --git a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php index ed637c65..71d1240b 100644 --- a/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAddPipelineStepProbeCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php index 67425a82..9e8ed334 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputJsonldNormalizer.php @@ -45,25 +45,37 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -73,13 +85,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php index f188a4fe..13171e92 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandInputNormalizer.php @@ -45,16 +45,22 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['configuration'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -64,13 +70,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php index c2f4c4b0..f2f06e72 100644 --- a/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineAppendPipelineStepCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineCompilationJsonldNormalizer.php b/src/Normalizer/PipelineCompilationJsonldNormalizer.php index cacbb467..10c2512a 100644 --- a/src/Normalizer/PipelineCompilationJsonldNormalizer.php +++ b/src/Normalizer/PipelineCompilationJsonldNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('createdAt', $data)) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); @@ -73,8 +85,10 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('owner', $data)) { + if (\array_key_exists('owner', $data) && null !== $data['owner']) { $object->setOwner($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); } return $object; diff --git a/src/Normalizer/PipelineCompilationNormalizer.php b/src/Normalizer/PipelineCompilationNormalizer.php index 5338b51d..8f11371c 100644 --- a/src/Normalizer/PipelineCompilationNormalizer.php +++ b/src/Normalizer/PipelineCompilationNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('createdAt', $data)) { + if (\array_key_exists('createdAt', $data) && null !== $data['createdAt']) { $object->setCreatedAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['createdAt'])); + } elseif (\array_key_exists('createdAt', $data) && null === $data['createdAt']) { + $object->setCreatedAt(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); @@ -64,8 +70,10 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('owner', $data)) { + if (\array_key_exists('owner', $data) && null !== $data['owner']) { $object->setOwner($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); } return $object; diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php index 612871fc..712519db 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandInputJsonldNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } return $object; diff --git a/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php index f8c5ee99..463d13b4 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandInputNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } return $object; diff --git a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php index a365a9af..e7d38d77 100644 --- a/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineCompilePipelineCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php index c47c3752..e5edd7b0 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputJsonldNormalizer.php @@ -45,42 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepInputJsonld', 'json', $context); } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } - if (\array_key_exists('autoloads', $data)) { + if (\array_key_exists('autoloads', $data) && null !== $data['autoloads']) { $values_1 = []; foreach ($data['autoloads'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\AutoloadInputJsonld', 'json', $context); } $object->setAutoloads($values_1); + } elseif (\array_key_exists('autoloads', $data) && null === $data['autoloads']) { + $object->setAutoloads(null); } return $object; diff --git a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php index 39a1cf1e..5bcbbf76 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandInputNormalizer.php @@ -45,33 +45,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values = []; foreach ($data['steps'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\StepInput', 'json', $context); } $object->setSteps($values); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } - if (\array_key_exists('autoloads', $data)) { + if (\array_key_exists('autoloads', $data) && null !== $data['autoloads']) { $values_1 = []; foreach ($data['autoloads'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\AutoloadInput', 'json', $context); } $object->setAutoloads($values_1); + } elseif (\array_key_exists('autoloads', $data) && null === $data['autoloads']) { + $object->setAutoloads(null); } return $object; diff --git a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php index 9fe539dd..ace35250 100644 --- a/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineDeclarePipelineCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineIdJsonldNormalizer.php b/src/Normalizer/PipelineIdJsonldNormalizer.php index 5fd60857..da09a0dd 100644 --- a/src/Normalizer/PipelineIdJsonldNormalizer.php +++ b/src/Normalizer/PipelineIdJsonldNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineJsonldReadNormalizer.php b/src/Normalizer/PipelineJsonldReadNormalizer.php index 3a099484..fde9fb5c 100644 --- a/src/Normalizer/PipelineJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineJsonldReadNormalizer.php @@ -45,55 +45,77 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('isSoftDeleted', $data)) { + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { $object->setIsSoftDeleted($data['isSoftDeleted']); + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + $object->setIsSoftDeleted(null); } if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { $object->setCompiledAt(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php index 02b478e5..47e424ee 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('previous', $data)) { + if (\array_key_exists('previous', $data) && null !== $data['previous']) { $object->setPrevious($data['previous']); + } elseif (\array_key_exists('previous', $data) && null === $data['previous']) { + $object->setPrevious(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } return $object; diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php index bb8402e5..d0dd4bd0 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandInputNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('previous', $data)) { + if (\array_key_exists('previous', $data) && null !== $data['previous']) { $object->setPrevious($data['previous']); + } elseif (\array_key_exists('previous', $data) && null === $data['previous']) { + $object->setPrevious(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } return $object; diff --git a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php index 75aecde6..481aa23d 100644 --- a/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php index 5faa7fb9..2132d5df 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('next', $data)) { + if (\array_key_exists('next', $data) && null !== $data['next']) { $object->setNext($data['next']); + } elseif (\array_key_exists('next', $data) && null === $data['next']) { + $object->setNext(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } return $object; diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php index b8cc99ae..3e5577fb 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandInputNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('next', $data)) { + if (\array_key_exists('next', $data) && null !== $data['next']) { $object->setNext($data['next']); + } elseif (\array_key_exists('next', $data) && null === $data['next']) { + $object->setNext(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } return $object; diff --git a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php index 992a8c35..c97f2338 100644 --- a/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineReadNormalizer.php b/src/Normalizer/PipelineReadNormalizer.php index eaf945ab..0d80a344 100644 --- a/src/Normalizer/PipelineReadNormalizer.php +++ b/src/Normalizer/PipelineReadNormalizer.php @@ -45,46 +45,62 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('isSoftDeleted', $data)) { + if (\array_key_exists('isSoftDeleted', $data) && null !== $data['isSoftDeleted']) { $object->setIsSoftDeleted($data['isSoftDeleted']); + } elseif (\array_key_exists('isSoftDeleted', $data) && null === $data['isSoftDeleted']) { + $object->setIsSoftDeleted(null); } if (\array_key_exists('compiledAt', $data) && null !== $data['compiledAt']) { $object->setCompiledAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['compiledAt'])); } elseif (\array_key_exists('compiledAt', $data) && null === $data['compiledAt']) { $object->setCompiledAt(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php index 071d994d..94b3d006 100644 --- a/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php index 75d2689a..5b0b26e6 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputJsonldNormalizer.php @@ -45,24 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('codes', $data)) { + if (\array_key_exists('codes', $data) && null !== $data['codes']) { $values = []; foreach ($data['codes'] as $value) { $values[] = $value; } $object->setCodes($values); + } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { + $object->setCodes(null); } return $object; diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php index a255cc81..56357a35 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandInputNormalizer.php @@ -45,15 +45,19 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('codes', $data)) { + if (\array_key_exists('codes', $data) && null !== $data['codes']) { $values = []; foreach ($data['codes'] as $value) { $values[] = $value; } $object->setCodes($values); + } elseif (\array_key_exists('codes', $data) && null === $data['codes']) { + $object->setCodes(null); } return $object; diff --git a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php index b38e778e..6d93be97 100644 --- a/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReorderPipelineStepsCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php index 598e3851..a4ed06c0 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputJsonldNormalizer.php @@ -45,40 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('former', $data)) { + if (\array_key_exists('former', $data) && null !== $data['former']) { $object->setFormer($data['former']); + } elseif (\array_key_exists('former', $data) && null === $data['former']) { + $object->setFormer(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = []; foreach ($data['configuration'] as $value) { $values[] = $value; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_1 = []; foreach ($data['probes'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_1); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php index 27f763ba..f1a5e199 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandInputNormalizer.php @@ -45,31 +45,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('former', $data)) { + if (\array_key_exists('former', $data) && null !== $data['former']) { $object->setFormer($data['former']); + } elseif (\array_key_exists('former', $data) && null === $data['former']) { + $object->setFormer(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values = []; foreach ($data['configuration'] as $value) { $values[] = $value; } $object->setConfiguration($values); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_1 = []; foreach ($data['probes'] as $value_1) { $values_1[] = $this->denormalizer->denormalize($value_1, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_1); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php index f226afc7..cc0ef870 100644 --- a/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php +++ b/src/Normalizer/PipelineReplacePipelineStepCommandJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/PipelineStepJsonldNormalizer.php b/src/Normalizer/PipelineStepJsonldNormalizer.php index d3b6a501..912cbf6f 100644 --- a/src/Normalizer/PipelineStepJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepJsonldNormalizer.php @@ -45,43 +45,63 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('order', $data)) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values = []; foreach ($data['probes'] as $value) { $values[] = $value; } $object->setProbes($values); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values_1 = []; foreach ($data['configuration'] as $value_1) { $values_1[] = $value_1; } $object->setConfiguration($values_1); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } return $object; diff --git a/src/Normalizer/PipelineStepNormalizer.php b/src/Normalizer/PipelineStepNormalizer.php index c61f9a7a..58979ce1 100644 --- a/src/Normalizer/PipelineStepNormalizer.php +++ b/src/Normalizer/PipelineStepNormalizer.php @@ -45,34 +45,48 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('order', $data)) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\AbstractPipeline', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values = []; foreach ($data['probes'] as $value) { $values[] = $value; } $object->setProbes($values); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } - if (\array_key_exists('configuration', $data)) { + if (\array_key_exists('configuration', $data) && null !== $data['configuration']) { $values_1 = []; foreach ($data['configuration'] as $value_1) { $values_1[] = $value_1; } $object->setConfiguration($values_1); + } elseif (\array_key_exists('configuration', $data) && null === $data['configuration']) { + $object->setConfiguration(null); } return $object; diff --git a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php b/src/Normalizer/PipelineStepProbeJsonldNormalizer.php index 2d6a38d2..e44b7928 100644 --- a/src/Normalizer/PipelineStepProbeJsonldNormalizer.php +++ b/src/Normalizer/PipelineStepProbeJsonldNormalizer.php @@ -45,29 +45,45 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('order', $data)) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('step', $data)) { + if (\array_key_exists('step', $data) && null !== $data['step']) { $object->setStep($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); } return $object; diff --git a/src/Normalizer/PipelineStepProbeNormalizer.php b/src/Normalizer/PipelineStepProbeNormalizer.php index 16380bb5..0ae1bb51 100644 --- a/src/Normalizer/PipelineStepProbeNormalizer.php +++ b/src/Normalizer/PipelineStepProbeNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('order', $data)) { + if (\array_key_exists('order', $data) && null !== $data['order']) { $object->setOrder($data['order']); + } elseif (\array_key_exists('order', $data) && null === $data['order']) { + $object->setOrder(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('step', $data)) { + if (\array_key_exists('step', $data) && null !== $data['step']) { $object->setStep($data['step']); + } elseif (\array_key_exists('step', $data) && null === $data['step']) { + $object->setStep(null); } return $object; diff --git a/src/Normalizer/PriceJsonldNormalizer.php b/src/Normalizer/PriceJsonldNormalizer.php index ab00e5d9..89441b3d 100644 --- a/src/Normalizer/PriceJsonldNormalizer.php +++ b/src/Normalizer/PriceJsonldNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($data['price']); diff --git a/src/Normalizer/ProbeJsonldNormalizer.php b/src/Normalizer/ProbeJsonldNormalizer.php index f7a6b3bb..c0da932e 100644 --- a/src/Normalizer/ProbeJsonldNormalizer.php +++ b/src/Normalizer/ProbeJsonldNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } return $object; diff --git a/src/Normalizer/ProbeNormalizer.php b/src/Normalizer/ProbeNormalizer.php index e2c944be..ff0f35c9 100644 --- a/src/Normalizer/ProbeNormalizer.php +++ b/src/Normalizer/ProbeNormalizer.php @@ -45,11 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } return $object; diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php index 032eee00..06cad3ca 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeReadNormalizer.php @@ -45,32 +45,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)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('referralRequests', $data)) { + if (\array_key_exists('referralRequests', $data) && null !== $data['referralRequests']) { $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); + } elseif (\array_key_exists('referralRequests', $data) && null === $data['referralRequests']) { + $object->setReferralRequests(null); } return $object; diff --git a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php index 20804cab..07d9b878 100644 --- a/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php +++ b/src/Normalizer/ReferralCodeJsonldReferralCodeWriteNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); diff --git a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php index 75e04490..60a01501 100644 --- a/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php +++ b/src/Normalizer/ReferralCodeReferralCodeReadNormalizer.php @@ -45,23 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); } elseif (\array_key_exists('user', $data) && null === $data['user']) { $object->setUser(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('referralRequests', $data)) { + if (\array_key_exists('referralRequests', $data) && null !== $data['referralRequests']) { $values = []; foreach ($data['referralRequests'] as $value) { $values[] = $value; } $object->setReferralRequests($values); + } elseif (\array_key_exists('referralRequests', $data) && null === $data['referralRequests']) { + $object->setReferralRequests(null); } return $object; diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 7431b2e0..0313c63e 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php index f053b3f1..b9aa9d29 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php index 1fbb5cb2..bb8c8e74 100644 --- a/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/ReferralCodesGetResponse200Normalizer.php b/src/Normalizer/ReferralCodesGetResponse200Normalizer.php index 2955da17..1558e338 100644 --- a/src/Normalizer/ReferralCodesGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralCodesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 81eec7d0..2a049deb 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php index c59b822d..a10e0376 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php index 10198e6a..bc4a9f91 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php index 0424c484..5d71ac11 100644 --- a/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralOnPremiseRequestsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php index a421ebe6..e1069cc4 100644 --- a/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestJsonldReferralRequestReadNormalizer.php @@ -45,35 +45,55 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('userName', $data)) { + if (\array_key_exists('userName', $data) && null !== $data['userName']) { $object->setUserName($data['userName']); + } elseif (\array_key_exists('userName', $data) && null === $data['userName']) { + $object->setUserName(null); } - if (\array_key_exists('companyName', $data)) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + $object->setCompanyName(null); } - if (\array_key_exists('creationDate', $data)) { + if (\array_key_exists('creationDate', $data) && null !== $data['creationDate']) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); + } elseif (\array_key_exists('creationDate', $data) && null === $data['creationDate']) { + $object->setCreationDate(null); } if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); @@ -85,8 +105,10 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { $object->setApprover(null); } - if (\array_key_exists('status', $data)) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); } return $object; diff --git a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php index 44b12d0a..ba409ff5 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputJsonldNormalizer.php @@ -45,32 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('username', $data)) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('companyName', $data)) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + $object->setCompanyName(null); } - if (\array_key_exists('referralCode', $data)) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { + $object->setReferralCode(null); } return $object; diff --git a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php index bf09525a..5a5fa901 100644 --- a/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestInputNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('username', $data)) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('companyName', $data)) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + $object->setCompanyName(null); } - if (\array_key_exists('referralCode', $data)) { + if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); + } elseif (\array_key_exists('referralCode', $data) && null === $data['referralCode']) { + $object->setReferralCode(null); } return $object; diff --git a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php index 3359bd48..a1e0c0db 100644 --- a/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php +++ b/src/Normalizer/ReferralRequestReferralRequestReadNormalizer.php @@ -45,26 +45,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)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('userName', $data)) { + if (\array_key_exists('userName', $data) && null !== $data['userName']) { $object->setUserName($data['userName']); + } elseif (\array_key_exists('userName', $data) && null === $data['userName']) { + $object->setUserName(null); } - if (\array_key_exists('companyName', $data)) { + if (\array_key_exists('companyName', $data) && null !== $data['companyName']) { $object->setCompanyName($data['companyName']); + } elseif (\array_key_exists('companyName', $data) && null === $data['companyName']) { + $object->setCompanyName(null); } - if (\array_key_exists('creationDate', $data)) { + if (\array_key_exists('creationDate', $data) && null !== $data['creationDate']) { $object->setCreationDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['creationDate'])); + } elseif (\array_key_exists('creationDate', $data) && null === $data['creationDate']) { + $object->setCreationDate(null); } if (\array_key_exists('referralCode', $data) && null !== $data['referralCode']) { $object->setReferralCode($data['referralCode']); @@ -76,8 +90,10 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('approver', $data) && null === $data['approver']) { $object->setApprover(null); } - if (\array_key_exists('status', $data)) { + if (\array_key_exists('status', $data) && null !== $data['status']) { $object->setStatus($data['status']); + } elseif (\array_key_exists('status', $data) && null === $data['status']) { + $object->setStatus(null); } return $object; diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php index efccf841..0d7f4d73 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php index 832d8c3e..5f0166bf 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php b/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php index 284968f4..f81be09b 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php b/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php index f3f41d68..79949277 100644 --- a/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php +++ b/src/Normalizer/ReferralRequestsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 7768ad0e..4124d1f8 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php index d99e875c..1c13d09d 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php index 30d68358..0905aab0 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php index e58fc756..51230a5f 100644 --- a/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeActionsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index b6e8e6a1..9727f085 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php index f2365479..9940025d 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php index f8b33277..d8217f98 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php index 68945ab3..dc1e1a40 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php index f2aa736e..ca32d163 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php index cc6b8a6a..a5356f7e 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php index 33458f9f..e4a986b8 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php index cef00cc2..485bd158 100644 --- a/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionPipelinesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index d4fa1e1b..57ace64b 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php index 2c665893..13119a45 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php index 989d6bb6..25153212 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php index 0801138a..096be3e0 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php index c26d2b34..dca513e9 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php index 1bd0bffd..05da5f37 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php index 9221e84f..b09f8199 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php index 17f96c4a..a4f8b9bb 100644 --- a/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index a9ecc215..2587ea2f 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php index ebb0cd2a..0dd5d911 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php index d68cb03c..aa45823a 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php index 8b613bdb..a98b3283 100644 --- a/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 8f37071c..05030120 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php index 96927a11..3103e0f5 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php index fd97028e..84f25f07 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php index 23a7d401..4db6fab0 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 6e1087ec..495a5127 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php index a4617662..889e99b8 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php index e26c5dc7..e268eb08 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php index b2804a4a..b6cad362 100644 --- a/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionPipelineJobsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 6c5594a5..bcf92d81 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php index 8cbd6f6c..3ab6918d 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php index 3a1fd46c..203a0385 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php index 7227bf0b..bdb11335 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 37372e7e..56e205f1 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php index 9d035679..88796aba 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php index 76dd5ffc..4488f84d 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php index 05d0f617..4399bec1 100644 --- a/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index e0d4e881..4bd4bcb3 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php index 48298d34..3dc9beb3 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php index 57c98b23..665770ed 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php index 5bd06680..77cb65a1 100644 --- a/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeExecutionsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 6c35b2c6..b2f9fe19 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php index 5cdb1ce5..dde8a066 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php index f2a4863a..17dd3b9f 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php index ce7198eb..41d25839 100644 --- a/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineIdCompilationsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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\\PipelineCompilationJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 3a2e1a81..68709fc3 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php index 89cc38e4..70009fc5 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php index 889a1025..9ab43413 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php index 9c1e85de..68e6adeb 100644 --- a/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepIdProbesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 8db9350e..a6c7e2c3 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php index b72663c2..613f324f 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php index 3ef46a8e..4d250811 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php index 7538c75e..354f8ad0 100644 --- a/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepProbesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 433dda1f..d2f4dfbb 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php index d94fa19c..33468d08 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php index e9c74b57..887aca40 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php index 8b7b4ec3..977404a3 100644 --- a/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelineStepsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php index 87adc252..5bd10edd 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php index eb8cc568..62a07006 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php index b916a44a..db28c219 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php index 2a8aaf33..e41184e6 100644 --- a/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesCompilationGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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\\PipelineCompilationJsonld', 'json', $context); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php index f821e572..9a0a7346 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php index b9f832af..19f2fafe 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php index 4b454df3..4a3c5d00 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php b/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php index 32ffd1a6..084bad72 100644 --- a/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimePipelinesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php index faf2326e..2d401ab6 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php index d0183455..60e7724d 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php index 5ceda3f5..3495f454 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php index 857414ea..1fbe0106 100644 --- a/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeScheduleIdExecutionsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 1c9bb4e2..0dab07a2 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php index c413dac2..16d907a8 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php index e258e0e9..eff67ea8 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php index f808ab64..319ac89c 100644 --- a/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php index 4bd8feb0..89e9a8ac 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php index 6e7c3b81..1e88fb60 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php index 1ef1ba46..3027d914 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php b/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php index 96e6bf80..0089dcf7 100644 --- a/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeSchedulesGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php index ee64333f..64980f06 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php index dca9a020..65e7e365 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php index 1c1dab7d..eed7a1d3 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php index 86cf36d6..337be15b 100644 --- a/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowIdJobsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php index 2de317b6..6e00594e 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer.php @@ -45,19 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('variable', $data)) { + if (\array_key_exists('variable', $data) && null !== $data['variable']) { $object->setVariable($data['variable']); + } elseif (\array_key_exists('variable', $data) && null === $data['variable']) { + $object->setVariable(null); } if (\array_key_exists('property', $data) && null !== $data['property']) { $object->setProperty($data['property']); } elseif (\array_key_exists('property', $data) && null === $data['property']) { $object->setProperty(null); } - if (\array_key_exists('required', $data)) { + if (\array_key_exists('required', $data) && null !== $data['required']) { $object->setRequired($data['required']); + } elseif (\array_key_exists('required', $data) && null === $data['required']) { + $object->setRequired(null); } return $object; diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php index 79808861..27de7f2e 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraSearchNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:template', $data)) { + if (\array_key_exists('hydra:template', $data) && null !== $data['hydra:template']) { $object->setHydraTemplate($data['hydra:template']); + } elseif (\array_key_exists('hydra:template', $data) && null === $data['hydra:template']) { + $object->setHydraTemplate(null); } - if (\array_key_exists('hydra:variableRepresentation', $data)) { + if (\array_key_exists('hydra:variableRepresentation', $data) && null !== $data['hydra:variableRepresentation']) { $object->setHydraVariableRepresentation($data['hydra:variableRepresentation']); + } elseif (\array_key_exists('hydra:variableRepresentation', $data) && null === $data['hydra:variableRepresentation']) { + $object->setHydraVariableRepresentation(null); } - if (\array_key_exists('hydra:mapping', $data)) { + if (\array_key_exists('hydra:mapping', $data) && null !== $data['hydra:mapping']) { $values = []; foreach ($data['hydra:mapping'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem', 'json', $context); } $object->setHydraMapping($values); + } elseif (\array_key_exists('hydra:mapping', $data) && null === $data['hydra:mapping']) { + $object->setHydraMapping(null); } return $object; diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php index 1537c56b..78028219 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200HydraViewNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('hydra:first', $data)) { + if (\array_key_exists('hydra:first', $data) && null !== $data['hydra:first']) { $object->setHydraFirst($data['hydra:first']); + } elseif (\array_key_exists('hydra:first', $data) && null === $data['hydra:first']) { + $object->setHydraFirst(null); } - if (\array_key_exists('hydra:last', $data)) { + if (\array_key_exists('hydra:last', $data) && null !== $data['hydra:last']) { $object->setHydraLast($data['hydra:last']); + } elseif (\array_key_exists('hydra:last', $data) && null === $data['hydra:last']) { + $object->setHydraLast(null); } - if (\array_key_exists('hydra:previous', $data)) { + if (\array_key_exists('hydra:previous', $data) && null !== $data['hydra:previous']) { $object->setHydraPrevious($data['hydra:previous']); + } elseif (\array_key_exists('hydra:previous', $data) && null === $data['hydra:previous']) { + $object->setHydraPrevious(null); } - if (\array_key_exists('hydra:next', $data)) { + if (\array_key_exists('hydra:next', $data) && null !== $data['hydra:next']) { $object->setHydraNext($data['hydra:next']); + } elseif (\array_key_exists('hydra:next', $data) && null === $data['hydra:next']) { + $object->setHydraNext(null); } return $object; diff --git a/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php b/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php index 4ff0edbb..1ea0f632 100644 --- a/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php +++ b/src/Normalizer/RuntimeWorkflowsGetResponse200Normalizer.php @@ -45,21 +45,29 @@ 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)) { + 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); } $object->setHydraMember($values); + } elseif (\array_key_exists('hydra:member', $data) && null === $data['hydra:member']) { + $object->setHydraMember(null); } - if (\array_key_exists('hydra:totalItems', $data)) { + if (\array_key_exists('hydra:totalItems', $data) && null !== $data['hydra:totalItems']) { $object->setHydraTotalItems($data['hydra:totalItems']); + } elseif (\array_key_exists('hydra:totalItems', $data) && null === $data['hydra:totalItems']) { + $object->setHydraTotalItems(null); } - if (\array_key_exists('hydra:view', $data)) { + if (\array_key_exists('hydra:view', $data) && null !== $data['hydra:view']) { $object->setHydraView($this->denormalizer->denormalize($data['hydra:view'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView', 'json', $context)); + } elseif (\array_key_exists('hydra:view', $data) && null === $data['hydra:view']) { + $object->setHydraView(null); } - if (\array_key_exists('hydra:search', $data)) { + if (\array_key_exists('hydra:search', $data) && null !== $data['hydra:search']) { $object->setHydraSearch($this->denormalizer->denormalize($data['hydra:search'], 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch', 'json', $context)); + } elseif (\array_key_exists('hydra:search', $data) && null === $data['hydra:search']) { + $object->setHydraSearch(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php index 1d57ff44..215efe27 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php index f32b11fc..31cc139f 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer.php @@ -45,11 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php index 1e6e84ad..6ff27918 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ScheduleIdJsonld', 'json', $context)); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineIdJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php index 8ccaf7ab..abc656e2 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleImmediateCommandNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php index 171102f1..6bab126f 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('date', $data)) { + if (\array_key_exists('date', $data) && null !== $data['date']) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && null === $data['date']) { + $object->setDate(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php index 17dacfd1..4a5179de 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer.php @@ -45,11 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('date', $data)) { + if (\array_key_exists('date', $data) && null !== $data['date']) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && null === $data['date']) { + $object->setDate(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php index b8177f4b..8248a5e4 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer.php @@ -45,26 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ScheduleIdJsonld', 'json', $context)); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineIdJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('date', $data)) { + if (\array_key_exists('date', $data) && null !== $data['date']) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && null === $data['date']) { + $object->setDate(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php index d2005a1c..8ca7fbd8 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleOnceCommandNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('date', $data)) { + if (\array_key_exists('date', $data) && null !== $data['date']) { $object->setDate(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['date'])); + } elseif (\array_key_exists('date', $data) && null === $data['date']) { + $object->setDate(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php index 50066b70..ab771fcb 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer.php @@ -45,26 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('recurrences', $data)) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php index 18361d71..5541d3fa 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('recurrences', $data)) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php index 377e851f..10d8e3f4 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer.php @@ -45,32 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ScheduleIdJsonld', 'json', $context)); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineIdJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('recurrences', $data)) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php index 4ed8d938..d3bde1fe 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleTimesCommandNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('recurrences', $data)) { + if (\array_key_exists('recurrences', $data) && null !== $data['recurrences']) { $object->setRecurrences($data['recurrences']); + } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { + $object->setRecurrences(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php index 37049af7..ce431ec3 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer.php @@ -45,26 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('end', $data)) { + if (\array_key_exists('end', $data) && null !== $data['end']) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); + } elseif (\array_key_exists('end', $data) && null === $data['end']) { + $object->setEnd(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php index c65bc477..a446f59f 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('end', $data)) { + if (\array_key_exists('end', $data) && null !== $data['end']) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); + } elseif (\array_key_exists('end', $data) && null === $data['end']) { + $object->setEnd(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php index 8b7e9774..9acc06f7 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer.php @@ -45,32 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($this->denormalizer->denormalize($data['id'], 'Gyroscops\\Api\\Model\\ScheduleIdJsonld', 'json', $context)); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($this->denormalizer->denormalize($data['pipeline'], 'Gyroscops\\Api\\Model\\PipelineIdJsonld', 'json', $context)); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('end', $data)) { + if (\array_key_exists('end', $data) && null !== $data['end']) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); + } elseif (\array_key_exists('end', $data) && null === $data['end']) { + $object->setEnd(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($this->denormalizer->denormalize($data['user'], 'Gyroscops\\Api\\Model\\UserIdJsonld', 'json', $context)); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } return $object; diff --git a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php index 21dec3ac..63d51ff4 100644 --- a/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php +++ b/src/Normalizer/ScheduleDeclarePipelineScheduleUntilCommandNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('pipeline', $data)) { + if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); + } elseif (\array_key_exists('pipeline', $data) && null === $data['pipeline']) { + $object->setPipeline(null); } - if (\array_key_exists('start', $data)) { + if (\array_key_exists('start', $data) && null !== $data['start']) { $object->setStart(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['start'])); + } elseif (\array_key_exists('start', $data) && null === $data['start']) { + $object->setStart(null); } - if (\array_key_exists('interval', $data)) { + if (\array_key_exists('interval', $data) && null !== $data['interval']) { $object->setInterval($data['interval']); + } elseif (\array_key_exists('interval', $data) && null === $data['interval']) { + $object->setInterval(null); } - if (\array_key_exists('end', $data)) { + if (\array_key_exists('end', $data) && null !== $data['end']) { $object->setEnd(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['end'])); + } elseif (\array_key_exists('end', $data) && null === $data['end']) { + $object->setEnd(null); } - if (\array_key_exists('user', $data)) { + if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); + } elseif (\array_key_exists('user', $data) && null === $data['user']) { + $object->setUser(null); } return $object; diff --git a/src/Normalizer/ScheduleIdJsonldNormalizer.php b/src/Normalizer/ScheduleIdJsonldNormalizer.php index bd103e33..b27e9e19 100644 --- a/src/Normalizer/ScheduleIdJsonldNormalizer.php +++ b/src/Normalizer/ScheduleIdJsonldNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/ScheduleJsonldNormalizer.php b/src/Normalizer/ScheduleJsonldNormalizer.php index 3e666de4..b8614390 100644 --- a/src/Normalizer/ScheduleJsonldNormalizer.php +++ b/src/Normalizer/ScheduleJsonldNormalizer.php @@ -45,20 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('type', $data)) { + if (\array_key_exists('type', $data) && null !== $data['type']) { $object->setType2($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType2(null); } if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); @@ -80,12 +90,14 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { $object->setRecurrences(null); } - if (\array_key_exists('executions', $data)) { + if (\array_key_exists('executions', $data) && null !== $data['executions']) { $values = []; foreach ($data['executions'] as $value) { $values[] = $value; } $object->setExecutions($values); + } elseif (\array_key_exists('executions', $data) && null === $data['executions']) { + $object->setExecutions(null); } if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); @@ -97,14 +109,20 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('owner', $data)) { + if (\array_key_exists('owner', $data) && null !== $data['owner']) { $object->setOwner($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } return $object; diff --git a/src/Normalizer/ScheduleNormalizer.php b/src/Normalizer/ScheduleNormalizer.php index 31063d65..6dff1d80 100644 --- a/src/Normalizer/ScheduleNormalizer.php +++ b/src/Normalizer/ScheduleNormalizer.php @@ -45,11 +45,15 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('type', $data)) { + if (\array_key_exists('type', $data) && null !== $data['type']) { $object->setType($data['type']); + } elseif (\array_key_exists('type', $data) && null === $data['type']) { + $object->setType(null); } if (\array_key_exists('startAt', $data) && null !== $data['startAt']) { $object->setStartAt(\DateTime::createFromFormat('Y-m-d\\TH:i:sP', $data['startAt'])); @@ -71,12 +75,14 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('recurrences', $data) && null === $data['recurrences']) { $object->setRecurrences(null); } - if (\array_key_exists('executions', $data)) { + if (\array_key_exists('executions', $data) && null !== $data['executions']) { $values = []; foreach ($data['executions'] as $value) { $values[] = $value; } $object->setExecutions($values); + } elseif (\array_key_exists('executions', $data) && null === $data['executions']) { + $object->setExecutions(null); } if (\array_key_exists('pipeline', $data) && null !== $data['pipeline']) { $object->setPipeline($data['pipeline']); @@ -88,14 +94,20 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('workflow', $data) && null === $data['workflow']) { $object->setWorkflow(null); } - if (\array_key_exists('owner', $data)) { + if (\array_key_exists('owner', $data) && null !== $data['owner']) { $object->setOwner($data['owner']); + } elseif (\array_key_exists('owner', $data) && null === $data['owner']) { + $object->setOwner(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } return $object; diff --git a/src/Normalizer/SecretInputJsonldNormalizer.php b/src/Normalizer/SecretInputJsonldNormalizer.php index e209e334..6d1695ed 100644 --- a/src/Normalizer/SecretInputJsonldNormalizer.php +++ b/src/Normalizer/SecretInputJsonldNormalizer.php @@ -45,27 +45,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('contents', $data)) { + if (\array_key_exists('contents', $data) && null !== $data['contents']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['contents'] as $key => $value) { $values[$key] = $value; } $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); } return $object; diff --git a/src/Normalizer/SecretInputNormalizer.php b/src/Normalizer/SecretInputNormalizer.php index 65768b06..00f27c2b 100644 --- a/src/Normalizer/SecretInputNormalizer.php +++ b/src/Normalizer/SecretInputNormalizer.php @@ -45,18 +45,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('contents', $data)) { + if (\array_key_exists('contents', $data) && null !== $data['contents']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['contents'] as $key => $value) { $values[$key] = $value; } $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); } return $object; diff --git a/src/Normalizer/SecretJsonldNormalizer.php b/src/Normalizer/SecretJsonldNormalizer.php index 77e9c209..180e1999 100644 --- a/src/Normalizer/SecretJsonldNormalizer.php +++ b/src/Normalizer/SecretJsonldNormalizer.php @@ -45,34 +45,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)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } return $object; diff --git a/src/Normalizer/SecretNormalizer.php b/src/Normalizer/SecretNormalizer.php index 19d0ac96..35f43a28 100644 --- a/src/Normalizer/SecretNormalizer.php +++ b/src/Normalizer/SecretNormalizer.php @@ -45,25 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $object->setWorkspace($data['workspace']); } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { $object->setWorkspace(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } return $object; diff --git a/src/Normalizer/SecretSecretInputJsonldNormalizer.php b/src/Normalizer/SecretSecretInputJsonldNormalizer.php index 0f09bb9a..64e99744 100644 --- a/src/Normalizer/SecretSecretInputJsonldNormalizer.php +++ b/src/Normalizer/SecretSecretInputJsonldNormalizer.php @@ -45,27 +45,39 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('contents', $data)) { + if (\array_key_exists('contents', $data) && null !== $data['contents']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['contents'] as $key => $value) { $values[$key] = $value; } $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); } return $object; diff --git a/src/Normalizer/SecretSecretInputNormalizer.php b/src/Normalizer/SecretSecretInputNormalizer.php index a5d9f88e..4b1f792b 100644 --- a/src/Normalizer/SecretSecretInputNormalizer.php +++ b/src/Normalizer/SecretSecretInputNormalizer.php @@ -45,18 +45,24 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('description', $data)) { + if (\array_key_exists('description', $data) && null !== $data['description']) { $object->setDescription($data['description']); + } elseif (\array_key_exists('description', $data) && null === $data['description']) { + $object->setDescription(null); } - if (\array_key_exists('contents', $data)) { + if (\array_key_exists('contents', $data) && null !== $data['contents']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['contents'] as $key => $value) { $values[$key] = $value; } $object->setContents($values); + } elseif (\array_key_exists('contents', $data) && null === $data['contents']) { + $object->setContents(null); } return $object; diff --git a/src/Normalizer/StepInputJsonldNormalizer.php b/src/Normalizer/StepInputJsonldNormalizer.php index 3798a51c..c6d1021c 100644 --- a/src/Normalizer/StepInputJsonldNormalizer.php +++ b/src/Normalizer/StepInputJsonldNormalizer.php @@ -45,22 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('config', $data)) { + if (\array_key_exists('config', $data) && null !== $data['config']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['config'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -70,13 +80,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfig($values); + } elseif (\array_key_exists('config', $data) && null === $data['config']) { + $object->setConfig(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\ProbeJsonld', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/StepInputNormalizer.php b/src/Normalizer/StepInputNormalizer.php index 2429537a..19733e3b 100644 --- a/src/Normalizer/StepInputNormalizer.php +++ b/src/Normalizer/StepInputNormalizer.php @@ -45,13 +45,17 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('config', $data)) { + if (\array_key_exists('config', $data) && null !== $data['config']) { $values = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['config'] as $key => $value) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); @@ -61,13 +65,17 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[$key] = $values_1; } $object->setConfig($values); + } elseif (\array_key_exists('config', $data) && null === $data['config']) { + $object->setConfig(null); } - if (\array_key_exists('probes', $data)) { + if (\array_key_exists('probes', $data) && null !== $data['probes']) { $values_2 = []; foreach ($data['probes'] as $value_2) { $values_2[] = $this->denormalizer->denormalize($value_2, 'Gyroscops\\Api\\Model\\Probe', 'json', $context); } $object->setProbes($values_2); + } elseif (\array_key_exists('probes', $data) && null === $data['probes']) { + $object->setProbes(null); } return $object; diff --git a/src/Normalizer/SubscriptionJsonldNormalizer.php b/src/Normalizer/SubscriptionJsonldNormalizer.php index c4525e4a..1d2fc1ec 100644 --- a/src/Normalizer/SubscriptionJsonldNormalizer.php +++ b/src/Normalizer/SubscriptionJsonldNormalizer.php @@ -45,42 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } if (\array_key_exists('offer', $data) && null !== $data['offer']) { $object->setOffer($data['offer']); } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { $object->setOffer(null); } - if (\array_key_exists('options', $data)) { + if (\array_key_exists('options', $data) && null !== $data['options']) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); + } elseif (\array_key_exists('options', $data) && null === $data['options']) { + $object->setOptions(null); } - if (\array_key_exists('cost', $data)) { + if (\array_key_exists('cost', $data) && null !== $data['cost']) { $object->setCost($this->denormalizer->denormalize($data['cost'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } elseif (\array_key_exists('cost', $data) && null === $data['cost']) { + $object->setCost(null); } - if (\array_key_exists('periods', $data)) { + if (\array_key_exists('periods', $data) && null !== $data['periods']) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['periods'] as $key => $value_1) { $values_1[$key] = $value_1; } $object->setPeriods($values_1); + } elseif (\array_key_exists('periods', $data) && null === $data['periods']) { + $object->setPeriods(null); } return $object; diff --git a/src/Normalizer/SubscriptionNormalizer.php b/src/Normalizer/SubscriptionNormalizer.php index 9c02002d..35e5c934 100644 --- a/src/Normalizer/SubscriptionNormalizer.php +++ b/src/Normalizer/SubscriptionNormalizer.php @@ -45,33 +45,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } if (\array_key_exists('offer', $data) && null !== $data['offer']) { $object->setOffer($data['offer']); } elseif (\array_key_exists('offer', $data) && null === $data['offer']) { $object->setOffer(null); } - if (\array_key_exists('options', $data)) { + if (\array_key_exists('options', $data) && null !== $data['options']) { $values = []; foreach ($data['options'] as $value) { $values[] = $value; } $object->setOptions($values); + } elseif (\array_key_exists('options', $data) && null === $data['options']) { + $object->setOptions(null); } - if (\array_key_exists('cost', $data)) { + if (\array_key_exists('cost', $data) && null !== $data['cost']) { $object->setCost($this->denormalizer->denormalize($data['cost'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } elseif (\array_key_exists('cost', $data) && null === $data['cost']) { + $object->setCost(null); } - if (\array_key_exists('periods', $data)) { + if (\array_key_exists('periods', $data) && null !== $data['periods']) { $values_1 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); foreach ($data['periods'] as $key => $value_1) { $values_1[$key] = $value_1; } $object->setPeriods($values_1); + } elseif (\array_key_exists('periods', $data) && null === $data['periods']) { + $object->setPeriods(null); } return $object; diff --git a/src/Normalizer/SubscriptionOptionJsonldNormalizer.php b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php index 64df5123..c6c2f0d5 100644 --- a/src/Normalizer/SubscriptionOptionJsonldNormalizer.php +++ b/src/Normalizer/SubscriptionOptionJsonldNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { $object->setSubscription($data['subscription']); @@ -64,8 +70,10 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('option', $data) && null === $data['option']) { $object->setOption(null); } - if (\array_key_exists('price', $data)) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\PriceJsonld', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); } return $object; diff --git a/src/Normalizer/SubscriptionOptionNormalizer.php b/src/Normalizer/SubscriptionOptionNormalizer.php index 77d76010..f2eb6426 100644 --- a/src/Normalizer/SubscriptionOptionNormalizer.php +++ b/src/Normalizer/SubscriptionOptionNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } if (\array_key_exists('subscription', $data) && null !== $data['subscription']) { $object->setSubscription($data['subscription']); @@ -58,8 +60,10 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('option', $data) && null === $data['option']) { $object->setOption(null); } - if (\array_key_exists('price', $data)) { + if (\array_key_exists('price', $data) && null !== $data['price']) { $object->setPrice($this->denormalizer->denormalize($data['price'], 'Gyroscops\\Api\\Model\\Price', 'json', $context)); + } elseif (\array_key_exists('price', $data) && null === $data['price']) { + $object->setPrice(null); } return $object; diff --git a/src/Normalizer/TokenNormalizer.php b/src/Normalizer/TokenNormalizer.php index aa8194fc..3fae0c41 100644 --- a/src/Normalizer/TokenNormalizer.php +++ b/src/Normalizer/TokenNormalizer.php @@ -45,8 +45,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)) { + if (\array_key_exists('token', $data) && null !== $data['token']) { $object->setToken($data['token']); + } elseif (\array_key_exists('token', $data) && null === $data['token']) { + $object->setToken(null); } return $object; diff --git a/src/Normalizer/TraversableJsonldNormalizer.php b/src/Normalizer/TraversableJsonldNormalizer.php index a4acc36e..1ad4b689 100644 --- a/src/Normalizer/TraversableJsonldNormalizer.php +++ b/src/Normalizer/TraversableJsonldNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/UpdateListJsonldNormalizer.php b/src/Normalizer/UpdateListJsonldNormalizer.php index 01f991b0..f7c2a93a 100644 --- a/src/Normalizer/UpdateListJsonldNormalizer.php +++ b/src/Normalizer/UpdateListJsonldNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($this->denormalizer->denormalize($data['iterator'], 'Gyroscops\\Api\\Model\\TraversableJsonld', 'json', $context)); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } return $object; diff --git a/src/Normalizer/UpdateListNormalizer.php b/src/Normalizer/UpdateListNormalizer.php index 82fb131b..8235cf87 100644 --- a/src/Normalizer/UpdateListNormalizer.php +++ b/src/Normalizer/UpdateListNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('iterator', $data)) { + if (\array_key_exists('iterator', $data) && null !== $data['iterator']) { $object->setIterator($data['iterator']); + } elseif (\array_key_exists('iterator', $data) && null === $data['iterator']) { + $object->setIterator(null); } return $object; diff --git a/src/Normalizer/UserAuthorizationJsonldNormalizer.php b/src/Normalizer/UserAuthorizationJsonldNormalizer.php index 97aadb81..af7fd7ce 100644 --- a/src/Normalizer/UserAuthorizationJsonldNormalizer.php +++ b/src/Normalizer/UserAuthorizationJsonldNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); @@ -72,15 +80,19 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('resource', $data)) { + if (\array_key_exists('resource', $data) && null !== $data['resource']) { $object->setResource($data['resource']); + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + $object->setResource(null); } - if (\array_key_exists('authorizations', $data)) { + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } return $object; diff --git a/src/Normalizer/UserAuthorizationNormalizer.php b/src/Normalizer/UserAuthorizationNormalizer.php index 61083136..80b7cb00 100644 --- a/src/Normalizer/UserAuthorizationNormalizer.php +++ b/src/Normalizer/UserAuthorizationNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } if (\array_key_exists('user', $data) && null !== $data['user']) { $object->setUser($data['user']); @@ -63,15 +65,19 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('resource', $data)) { + if (\array_key_exists('resource', $data) && null !== $data['resource']) { $object->setResource($data['resource']); + } elseif (\array_key_exists('resource', $data) && null === $data['resource']) { + $object->setResource(null); } - if (\array_key_exists('authorizations', $data)) { + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } return $object; diff --git a/src/Normalizer/UserIdJsonldNormalizer.php b/src/Normalizer/UserIdJsonldNormalizer.php index d8ca7526..1a2ddb33 100644 --- a/src/Normalizer/UserIdJsonldNormalizer.php +++ b/src/Normalizer/UserIdJsonldNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } return $object; diff --git a/src/Normalizer/UserJsonldNormalizer.php b/src/Normalizer/UserJsonldNormalizer.php index 51b80647..dbf03c46 100644 --- a/src/Normalizer/UserJsonldNormalizer.php +++ b/src/Normalizer/UserJsonldNormalizer.php @@ -45,37 +45,57 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('username', $data)) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('password', $data)) { + if (\array_key_exists('password', $data) && null !== $data['password']) { $object->setPassword($data['password']); + } elseif (\array_key_exists('password', $data) && null === $data['password']) { + $object->setPassword(null); } - if (\array_key_exists('enabled', $data)) { + if (\array_key_exists('enabled', $data) && null !== $data['enabled']) { $object->setEnabled($data['enabled']); + } elseif (\array_key_exists('enabled', $data) && null === $data['enabled']) { + $object->setEnabled(null); } - if (\array_key_exists('roles', $data)) { + if (\array_key_exists('roles', $data) && null !== $data['roles']) { $values = []; foreach ($data['roles'] as $value) { $values_1 = []; @@ -85,62 +105,82 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[] = $values_1; } $object->setRoles($values); + } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + $object->setRoles(null); } - if (\array_key_exists('authorizations', $data)) { + 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); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('additionalOrganizations', $data)) { + 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); + } elseif (\array_key_exists('additionalOrganizations', $data) && null === $data['additionalOrganizations']) { + $object->setAdditionalOrganizations(null); } - if (\array_key_exists('workspaces', $data)) { + 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); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); } if (\array_key_exists('currentWorkspace', $data) && null !== $data['currentWorkspace']) { $object->setCurrentWorkspace($data['currentWorkspace']); } elseif (\array_key_exists('currentWorkspace', $data) && null === $data['currentWorkspace']) { $object->setCurrentWorkspace(null); } - if (\array_key_exists('referralCodes', $data)) { + if (\array_key_exists('referralCodes', $data) && null !== $data['referralCodes']) { $values_5 = []; foreach ($data['referralCodes'] as $value_5) { $values_5[] = $value_5; } $object->setReferralCodes($values_5); + } elseif (\array_key_exists('referralCodes', $data) && null === $data['referralCodes']) { + $object->setReferralCodes(null); } - if (\array_key_exists('acceptedReferralRequests', $data)) { + if (\array_key_exists('acceptedReferralRequests', $data) && null !== $data['acceptedReferralRequests']) { $values_6 = []; foreach ($data['acceptedReferralRequests'] as $value_6) { $values_6[] = $value_6; } $object->setAcceptedReferralRequests($values_6); + } elseif (\array_key_exists('acceptedReferralRequests', $data) && null === $data['acceptedReferralRequests']) { + $object->setAcceptedReferralRequests(null); } - if (\array_key_exists('userIdentifier', $data)) { + if (\array_key_exists('userIdentifier', $data) && null !== $data['userIdentifier']) { $object->setUserIdentifier($data['userIdentifier']); + } elseif (\array_key_exists('userIdentifier', $data) && null === $data['userIdentifier']) { + $object->setUserIdentifier(null); } - if (\array_key_exists('salt', $data)) { + if (\array_key_exists('salt', $data) && null !== $data['salt']) { $object->setSalt($data['salt']); + } elseif (\array_key_exists('salt', $data) && null === $data['salt']) { + $object->setSalt(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $values_7 = []; foreach ($data['workspace'] as $value_7) { $values_7[] = $value_7; } $object->setWorkspace($values_7); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } return $object; diff --git a/src/Normalizer/UserNormalizer.php b/src/Normalizer/UserNormalizer.php index e0050af6..a7fdfbc0 100644 --- a/src/Normalizer/UserNormalizer.php +++ b/src/Normalizer/UserNormalizer.php @@ -45,28 +45,42 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('firstName', $data)) { + if (\array_key_exists('firstName', $data) && null !== $data['firstName']) { $object->setFirstName($data['firstName']); + } elseif (\array_key_exists('firstName', $data) && null === $data['firstName']) { + $object->setFirstName(null); } - if (\array_key_exists('lastName', $data)) { + if (\array_key_exists('lastName', $data) && null !== $data['lastName']) { $object->setLastName($data['lastName']); + } elseif (\array_key_exists('lastName', $data) && null === $data['lastName']) { + $object->setLastName(null); } - if (\array_key_exists('username', $data)) { + if (\array_key_exists('username', $data) && null !== $data['username']) { $object->setUsername($data['username']); + } elseif (\array_key_exists('username', $data) && null === $data['username']) { + $object->setUsername(null); } - if (\array_key_exists('email', $data)) { + if (\array_key_exists('email', $data) && null !== $data['email']) { $object->setEmail($data['email']); + } elseif (\array_key_exists('email', $data) && null === $data['email']) { + $object->setEmail(null); } - if (\array_key_exists('password', $data)) { + if (\array_key_exists('password', $data) && null !== $data['password']) { $object->setPassword($data['password']); + } elseif (\array_key_exists('password', $data) && null === $data['password']) { + $object->setPassword(null); } - if (\array_key_exists('enabled', $data)) { + if (\array_key_exists('enabled', $data) && null !== $data['enabled']) { $object->setEnabled($data['enabled']); + } elseif (\array_key_exists('enabled', $data) && null === $data['enabled']) { + $object->setEnabled(null); } - if (\array_key_exists('roles', $data)) { + if (\array_key_exists('roles', $data) && null !== $data['roles']) { $values = []; foreach ($data['roles'] as $value) { $values_1 = []; @@ -76,62 +90,82 @@ public function denormalize($data, $class, $format = null, array $context = []) $values[] = $values_1; } $object->setRoles($values); + } elseif (\array_key_exists('roles', $data) && null === $data['roles']) { + $object->setRoles(null); } - if (\array_key_exists('authorizations', $data)) { + 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); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('organization', $data)) { + if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); + } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { + $object->setOrganization(null); } - if (\array_key_exists('additionalOrganizations', $data)) { + 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); + } elseif (\array_key_exists('additionalOrganizations', $data) && null === $data['additionalOrganizations']) { + $object->setAdditionalOrganizations(null); } - if (\array_key_exists('workspaces', $data)) { + 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); + } elseif (\array_key_exists('workspaces', $data) && null === $data['workspaces']) { + $object->setWorkspaces(null); } if (\array_key_exists('currentWorkspace', $data) && null !== $data['currentWorkspace']) { $object->setCurrentWorkspace($data['currentWorkspace']); } elseif (\array_key_exists('currentWorkspace', $data) && null === $data['currentWorkspace']) { $object->setCurrentWorkspace(null); } - if (\array_key_exists('referralCodes', $data)) { + if (\array_key_exists('referralCodes', $data) && null !== $data['referralCodes']) { $values_5 = []; foreach ($data['referralCodes'] as $value_5) { $values_5[] = $value_5; } $object->setReferralCodes($values_5); + } elseif (\array_key_exists('referralCodes', $data) && null === $data['referralCodes']) { + $object->setReferralCodes(null); } - if (\array_key_exists('acceptedReferralRequests', $data)) { + if (\array_key_exists('acceptedReferralRequests', $data) && null !== $data['acceptedReferralRequests']) { $values_6 = []; foreach ($data['acceptedReferralRequests'] as $value_6) { $values_6[] = $value_6; } $object->setAcceptedReferralRequests($values_6); + } elseif (\array_key_exists('acceptedReferralRequests', $data) && null === $data['acceptedReferralRequests']) { + $object->setAcceptedReferralRequests(null); } - if (\array_key_exists('userIdentifier', $data)) { + if (\array_key_exists('userIdentifier', $data) && null !== $data['userIdentifier']) { $object->setUserIdentifier($data['userIdentifier']); + } elseif (\array_key_exists('userIdentifier', $data) && null === $data['userIdentifier']) { + $object->setUserIdentifier(null); } - if (\array_key_exists('salt', $data)) { + if (\array_key_exists('salt', $data) && null !== $data['salt']) { $object->setSalt($data['salt']); + } elseif (\array_key_exists('salt', $data) && null === $data['salt']) { + $object->setSalt(null); } - if (\array_key_exists('workspace', $data)) { + if (\array_key_exists('workspace', $data) && null !== $data['workspace']) { $values_7 = []; foreach ($data['workspace'] as $value_7) { $values_7[] = $value_7; } $object->setWorkspace($values_7); + } elseif (\array_key_exists('workspace', $data) && null === $data['workspace']) { + $object->setWorkspace(null); } return $object; diff --git a/src/Normalizer/UserUserChangePasswordInputNormalizer.php b/src/Normalizer/UserUserChangePasswordInputNormalizer.php index 6f29c7d6..626b64c9 100644 --- a/src/Normalizer/UserUserChangePasswordInputNormalizer.php +++ b/src/Normalizer/UserUserChangePasswordInputNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('currentPassword', $data)) { + if (\array_key_exists('currentPassword', $data) && null !== $data['currentPassword']) { $object->setCurrentPassword($data['currentPassword']); + } elseif (\array_key_exists('currentPassword', $data) && null === $data['currentPassword']) { + $object->setCurrentPassword(null); } - if (\array_key_exists('newPassword', $data)) { + if (\array_key_exists('newPassword', $data) && null !== $data['newPassword']) { $object->setNewPassword($data['newPassword']); + } elseif (\array_key_exists('newPassword', $data) && null === $data['newPassword']) { + $object->setNewPassword(null); } - if (\array_key_exists('confirmPassword', $data)) { + if (\array_key_exists('confirmPassword', $data) && null !== $data['confirmPassword']) { $object->setConfirmPassword($data['confirmPassword']); + } elseif (\array_key_exists('confirmPassword', $data) && null === $data['confirmPassword']) { + $object->setConfirmPassword(null); } return $object; diff --git a/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php b/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php index e0e68378..c0b4dc44 100644 --- a/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php +++ b/src/Normalizer/VariableFromConfigMapJsonldNormalizer.php @@ -45,33 +45,45 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('configMap', $data) && null !== $data['configMap']) { $object->setConfigMap($data['configMap']); } elseif (\array_key_exists('configMap', $data) && null === $data['configMap']) { $object->setConfigMap(null); } - if (\array_key_exists('item', $data)) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } return $object; diff --git a/src/Normalizer/VariableFromConfigMapNormalizer.php b/src/Normalizer/VariableFromConfigMapNormalizer.php index 84407fbb..ff93d2b4 100644 --- a/src/Normalizer/VariableFromConfigMapNormalizer.php +++ b/src/Normalizer/VariableFromConfigMapNormalizer.php @@ -50,19 +50,25 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('configMap', $data) && null === $data['configMap']) { $object->setConfigMap(null); } - if (\array_key_exists('item', $data)) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } return $object; diff --git a/src/Normalizer/VariableFromSecretJsonldNormalizer.php b/src/Normalizer/VariableFromSecretJsonldNormalizer.php index db4abbda..bf207171 100644 --- a/src/Normalizer/VariableFromSecretJsonldNormalizer.php +++ b/src/Normalizer/VariableFromSecretJsonldNormalizer.php @@ -45,33 +45,45 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('secret', $data) && null !== $data['secret']) { $object->setSecret($data['secret']); } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } - if (\array_key_exists('item', $data)) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } return $object; diff --git a/src/Normalizer/VariableFromSecretNormalizer.php b/src/Normalizer/VariableFromSecretNormalizer.php index b133375d..5d4275a3 100644 --- a/src/Normalizer/VariableFromSecretNormalizer.php +++ b/src/Normalizer/VariableFromSecretNormalizer.php @@ -50,19 +50,25 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('secret', $data) && null === $data['secret']) { $object->setSecret(null); } - if (\array_key_exists('item', $data)) { + if (\array_key_exists('item', $data) && null !== $data['item']) { $object->setItem($data['item']); + } elseif (\array_key_exists('item', $data) && null === $data['item']) { + $object->setItem(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } return $object; diff --git a/src/Normalizer/VariableJsonldNormalizer.php b/src/Normalizer/VariableJsonldNormalizer.php index a11fd272..97d7574c 100644 --- a/src/Normalizer/VariableJsonldNormalizer.php +++ b/src/Normalizer/VariableJsonldNormalizer.php @@ -45,23 +45,35 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('environment', $data)) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } return $object; diff --git a/src/Normalizer/VariableNormalizer.php b/src/Normalizer/VariableNormalizer.php index cc29fc8d..542e587e 100644 --- a/src/Normalizer/VariableNormalizer.php +++ b/src/Normalizer/VariableNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('environment', $data)) { + if (\array_key_exists('environment', $data) && null !== $data['environment']) { $object->setEnvironment($data['environment']); + } elseif (\array_key_exists('environment', $data) && null === $data['environment']) { + $object->setEnvironment(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } return $object; diff --git a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldNormalizer.php index fc28b840..007692be 100644 --- a/src/Normalizer/WorkflowJobActionJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldNormalizer.php @@ -45,22 +45,30 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } return $object; diff --git a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php index 06a00dd9..3ef62437 100644 --- a/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionJsonldReadNormalizer.php @@ -45,17 +45,25 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } return $object; diff --git a/src/Normalizer/WorkflowJobActionNormalizer.php b/src/Normalizer/WorkflowJobActionNormalizer.php index 035a39b8..79af25a1 100644 --- a/src/Normalizer/WorkflowJobActionNormalizer.php +++ b/src/Normalizer/WorkflowJobActionNormalizer.php @@ -50,8 +50,10 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } return $object; diff --git a/src/Normalizer/WorkflowJobActionReadNormalizer.php b/src/Normalizer/WorkflowJobActionReadNormalizer.php index 101d8a9a..d1e396c8 100644 --- a/src/Normalizer/WorkflowJobActionReadNormalizer.php +++ b/src/Normalizer/WorkflowJobActionReadNormalizer.php @@ -45,8 +45,10 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } return $object; diff --git a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobJsonldReadNormalizer.php index 699eeb8e..5da2610b 100644 --- a/src/Normalizer/WorkflowJobJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobJsonldReadNormalizer.php @@ -45,14 +45,20 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } if (\array_key_exists('workflow', $data) && null !== $data['workflow']) { $object->setWorkflow($data['workflow']); diff --git a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php index c0b69ae0..de2b9bf5 100644 --- a/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldNormalizer.php @@ -45,52 +45,72 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } if (\array_key_exists('job', $data) && null !== $data['job']) { $object->setJob($data['job']); } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php index 54682fb6..90bca8ad 100644 --- a/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineJsonldReadNormalizer.php @@ -45,47 +45,67 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/WorkflowJobPipelineNormalizer.php b/src/Normalizer/WorkflowJobPipelineNormalizer.php index 80d8d61f..f3c614ab 100644 --- a/src/Normalizer/WorkflowJobPipelineNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineNormalizer.php @@ -50,38 +50,52 @@ public function denormalize($data, $class, $format = null, array $context = []) } elseif (\array_key_exists('job', $data) && null === $data['job']) { $object->setJob(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php b/src/Normalizer/WorkflowJobPipelineReadNormalizer.php index a3f2fd65..16ae5438 100644 --- a/src/Normalizer/WorkflowJobPipelineReadNormalizer.php +++ b/src/Normalizer/WorkflowJobPipelineReadNormalizer.php @@ -45,38 +45,52 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('runtimeType', $data)) { + if (\array_key_exists('runtimeType', $data) && null !== $data['runtimeType']) { $object->setRuntimeType($data['runtimeType']); + } elseif (\array_key_exists('runtimeType', $data) && null === $data['runtimeType']) { + $object->setRuntimeType(null); } - if (\array_key_exists('runtime', $data)) { + if (\array_key_exists('runtime', $data) && null !== $data['runtime']) { $values = []; foreach ($data['runtime'] as $value) { $values[] = $value; } $object->setRuntime($values); + } elseif (\array_key_exists('runtime', $data) && null === $data['runtime']) { + $object->setRuntime(null); } - if (\array_key_exists('autoload', $data)) { + if (\array_key_exists('autoload', $data) && null !== $data['autoload']) { $values_1 = []; foreach ($data['autoload'] as $value_1) { $values_1[] = $value_1; } $object->setAutoload($values_1); + } elseif (\array_key_exists('autoload', $data) && null === $data['autoload']) { + $object->setAutoload(null); } - if (\array_key_exists('steps', $data)) { + if (\array_key_exists('steps', $data) && null !== $data['steps']) { $values_2 = []; foreach ($data['steps'] as $value_2) { $values_2[] = $value_2; } $object->setSteps($values_2); + } elseif (\array_key_exists('steps', $data) && null === $data['steps']) { + $object->setSteps(null); } return $object; diff --git a/src/Normalizer/WorkflowJsonldReadNormalizer.php b/src/Normalizer/WorkflowJsonldReadNormalizer.php index 20faac1c..b1bf5ba5 100644 --- a/src/Normalizer/WorkflowJsonldReadNormalizer.php +++ b/src/Normalizer/WorkflowJsonldReadNormalizer.php @@ -45,30 +45,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)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('@context', $data)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('jobs', $data)) { + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { $values = []; foreach ($data['jobs'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead', 'json', $context); } $object->setJobs($values); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } return $object; diff --git a/src/Normalizer/WorkflowReadNormalizer.php b/src/Normalizer/WorkflowReadNormalizer.php index 3c514749..a94c66a0 100644 --- a/src/Normalizer/WorkflowReadNormalizer.php +++ b/src/Normalizer/WorkflowReadNormalizer.php @@ -45,21 +45,29 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('code', $data)) { + if (\array_key_exists('code', $data) && null !== $data['code']) { $object->setCode($data['code']); + } elseif (\array_key_exists('code', $data) && null === $data['code']) { + $object->setCode(null); } - if (\array_key_exists('label', $data)) { + if (\array_key_exists('label', $data) && null !== $data['label']) { $object->setLabel($data['label']); + } elseif (\array_key_exists('label', $data) && null === $data['label']) { + $object->setLabel(null); } - if (\array_key_exists('jobs', $data)) { + if (\array_key_exists('jobs', $data) && null !== $data['jobs']) { $values = []; foreach ($data['jobs'] as $value) { $values[] = $this->denormalizer->denormalize($value, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json', $context); } $object->setJobs($values); + } elseif (\array_key_exists('jobs', $data) && null === $data['jobs']) { + $object->setJobs(null); } return $object; diff --git a/src/Normalizer/WorkspaceJsonldNormalizer.php b/src/Normalizer/WorkspaceJsonldNormalizer.php index f9450c1a..51fc85f1 100644 --- a/src/Normalizer/WorkspaceJsonldNormalizer.php +++ b/src/Normalizer/WorkspaceJsonldNormalizer.php @@ -45,42 +45,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)) { + if (\array_key_exists('@context', $data) && null !== $data['@context']) { $object->setContext($data['@context']); + } elseif (\array_key_exists('@context', $data) && null === $data['@context']) { + $object->setContext(null); } - if (\array_key_exists('@id', $data)) { + if (\array_key_exists('@id', $data) && null !== $data['@id']) { $object->setId($data['@id']); + } elseif (\array_key_exists('@id', $data) && null === $data['@id']) { + $object->setId(null); } - if (\array_key_exists('@type', $data)) { + if (\array_key_exists('@type', $data) && null !== $data['@type']) { $object->setType($data['@type']); + } elseif (\array_key_exists('@type', $data) && null === $data['@type']) { + $object->setType(null); } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId2($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId2(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('authorizations', $data)) { + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('users', $data)) { + if (\array_key_exists('users', $data) && null !== $data['users']) { $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); } return $object; diff --git a/src/Normalizer/WorkspaceNormalizer.php b/src/Normalizer/WorkspaceNormalizer.php index d00c9d69..5b8d9264 100644 --- a/src/Normalizer/WorkspaceNormalizer.php +++ b/src/Normalizer/WorkspaceNormalizer.php @@ -45,33 +45,43 @@ public function denormalize($data, $class, $format = null, array $context = []) if (null === $data || false === \is_array($data)) { return $object; } - if (\array_key_exists('id', $data)) { + if (\array_key_exists('id', $data) && null !== $data['id']) { $object->setId($data['id']); + } elseif (\array_key_exists('id', $data) && null === $data['id']) { + $object->setId(null); } - if (\array_key_exists('name', $data)) { + if (\array_key_exists('name', $data) && null !== $data['name']) { $object->setName($data['name']); + } elseif (\array_key_exists('name', $data) && null === $data['name']) { + $object->setName(null); } - if (\array_key_exists('slug', $data)) { + if (\array_key_exists('slug', $data) && null !== $data['slug']) { $object->setSlug($data['slug']); + } elseif (\array_key_exists('slug', $data) && null === $data['slug']) { + $object->setSlug(null); } if (\array_key_exists('organization', $data) && null !== $data['organization']) { $object->setOrganization($data['organization']); } elseif (\array_key_exists('organization', $data) && null === $data['organization']) { $object->setOrganization(null); } - if (\array_key_exists('authorizations', $data)) { + if (\array_key_exists('authorizations', $data) && null !== $data['authorizations']) { $values = []; foreach ($data['authorizations'] as $value) { $values[] = $value; } $object->setAuthorizations($values); + } elseif (\array_key_exists('authorizations', $data) && null === $data['authorizations']) { + $object->setAuthorizations(null); } - if (\array_key_exists('users', $data)) { + if (\array_key_exists('users', $data) && null !== $data['users']) { $values_1 = []; foreach ($data['users'] as $value_1) { $values_1[] = $value_1; } $object->setUsers($values_1); + } elseif (\array_key_exists('users', $data) && null === $data['users']) { + $object->setUsers(null); } return $object; From 7031808c77a6a7122d72943e19f14c14e435a99a Mon Sep 17 00:00:00 2001 From: sebprt Date: Thu, 6 Oct 2022 10:12:48 +0200 Subject: [PATCH 3/3] Updated jane's dependencies + php-cs-fixer --- composer.json | 3 +- composer.lock | 1901 +++++++++++++---- src/Authentication/ApiKeyAuthentication.php | 6 +- src/Client.php | 422 ++-- ...ceptReferralRequestReferralRequestItem.php | 8 +- ...AddAfterPipelineStepPipelineCollection.php | 6 +- ...ddBeforePipelineStepPipelineCollection.php | 6 +- .../AddComposerPipelinePipelineCollection.php | 6 +- ...AddPipelineStepProbePipelineCollection.php | 6 +- src/Endpoint/AddValueConfigMapCollection.php | 8 +- src/Endpoint/AddValueSecretCollection.php | 8 +- ...izationGetSubresourceActionSubresource.php | 4 +- ...nsOwnerGetSubresourceActionSubresource.php | 4 +- ...rkspaceGetSubresourceActionSubresource.php | 4 +- ...esourceExecutionPipelineJobSubresource.php | 4 +- ...ubresourceExecutionPipelineSubresource.php | 4 +- ...esourceExecutionWorkflowJobSubresource.php | 4 +- ...esourceExecutionWorkflowJobSubresource.php | 4 +- ...esourceExecutionWorkflowJobSubresource.php | 4 +- ...ubresourceExecutionWorkflowSubresource.php | 4 +- ...ubresourceExecutionWorkflowSubresource.php | 4 +- ...ubresourceExecutionWorkflowSubresource.php | 4 +- ...tionGetSubresourceExecutionSubresource.php | 4 +- ...tionGetSubresourceExecutionSubresource.php | 4 +- ...wnerGetSubresourceExecutionSubresource.php | 4 +- ...lineGetSubresourceExecutionSubresource.php | 4 +- ...flowGetSubresourceExecutionSubresource.php | 4 +- ...JobsGetSubresourceExecutionSubresource.php | 4 +- ...paceGetSubresourceExecutionSubresource.php | 4 +- ...sOptionsGetSubresourceOfferSubresource.php | 4 +- ...sGetSubresourceOrganizationSubresource.php | 4 +- ...sGetSubresourceOrganizationSubresource.php | 4 +- ...sGetSubresourceOrganizationSubresource.php | 4 +- ...sGetSubresourceOrganizationSubresource.php | 4 +- ...resourcePipelineCompilationSubresource.php | 4 +- ...resourcePipelineCompilationSubresource.php | 4 +- ...resourcePipelineCompilationSubresource.php | 4 +- ...sGetSubresourcePipelineStepSubresource.php | 4 +- ...tionsGetSubresourcePipelineSubresource.php | 4 +- ...ationGetSubresourcePipelineSubresource.php | 4 +- ...OwnerGetSubresourcePipelineSubresource.php | 4 +- ...spaceGetSubresourcePipelineSubresource.php | 4 +- ...tionsGetSubresourceScheduleSubresource.php | 4 +- ...ationGetSubresourceScheduleSubresource.php | 4 +- ...OwnerGetSubresourceScheduleSubresource.php | 4 +- ...elineGetSubresourceScheduleSubresource.php | 4 +- ...kflowGetSubresourceScheduleSubresource.php | 4 +- ...wJobsGetSubresourceScheduleSubresource.php | 4 +- ...ationGetSubresourceScheduleSubresource.php | 4 +- ...OwnerGetSubresourceScheduleSubresource.php | 4 +- ...spaceGetSubresourceScheduleSubresource.php | 4 +- ...spaceGetSubresourceScheduleSubresource.php | 4 +- ...rGetSubresourceSubscriptionSubresource.php | 4 +- ...sGetSubresourceSubscriptionSubresource.php | 4 +- ...nGetSubresourceSubscriptionSubresource.php | 4 +- ...rizationsGetSubresourceUserSubresource.php | 4 +- ...sJobsGetSubresourceWorkflowSubresource.php | 4 +- ...ationGetSubresourceWorkflowSubresource.php | 4 +- ...OwnerGetSubresourceWorkflowSubresource.php | 4 +- ...spaceGetSubresourceWorkflowSubresource.php | 4 +- ...ionsGetSubresourceWorkspaceSubresource.php | 4 +- ...sersGetSubresourceWorkspaceSubresource.php | 4 +- .../AppendPipelineStepPipelineCollection.php | 6 +- src/Endpoint/ChangePasswordUserItem.php | 8 +- .../DeclareExecutionExecutionCollection.php | 6 +- .../DeclarePipelinePipelineCollection.php | 6 +- src/Endpoint/DeleteOfferItem.php | 4 +- src/Endpoint/DeleteOrganizationItem.php | 4 +- src/Endpoint/DeletePipelinePipelineItem.php | 4 +- .../DeletePipelineStepPipelineItem.php | 4 +- src/Endpoint/DeleteReferralCodeItem.php | 4 +- src/Endpoint/DeleteSubscriptionItem.php | 4 +- src/Endpoint/DeleteUserAuthorizationItem.php | 4 +- src/Endpoint/DeleteUserItem.php | 4 +- src/Endpoint/DeleteWorkspaceItem.php | 4 +- .../FinishExecutionExecutionCollection.php | 6 +- src/Endpoint/GetActionCollection.php | 4 +- src/Endpoint/GetActionItem.php | 8 +- ...stanceByPimUrlAkeneoInstanceCollection.php | 4 +- src/Endpoint/GetAkeneoInstanceCollection.php | 4 +- src/Endpoint/GetAkeneoInstanceItem.php | 8 +- ...oInstanceOauthAkeneoInstanceCollection.php | 4 +- ...edAccountAkeneoLinkedAccountCollection.php | 4 +- .../GetAkeneoLinkedAccountCollection.php | 4 +- src/Endpoint/GetAkeneoLinkedAccountItem.php | 8 +- .../GetAkeneoOauthTokenCollection.php | 4 +- src/Endpoint/GetAkeneoOauthTokenItem.php | 8 +- src/Endpoint/GetConfigMapCollection.php | 4 +- src/Endpoint/GetConfigMapItem.php | 8 +- src/Endpoint/GetEnvironmentCollection.php | 4 +- src/Endpoint/GetEnvironmentItem.php | 8 +- src/Endpoint/GetExecutionActionItem.php | 8 +- src/Endpoint/GetExecutionCollection.php | 4 +- src/Endpoint/GetExecutionItem.php | 8 +- .../GetExecutionPipelineCollection.php | 4 +- src/Endpoint/GetExecutionPipelineItem.php | 8 +- .../GetExecutionPipelineJobCollection.php | 4 +- src/Endpoint/GetExecutionPipelineJobItem.php | 8 +- src/Endpoint/GetExecutionPipelineStepItem.php | 8 +- .../GetExecutionWorkflowCollection.php | 4 +- src/Endpoint/GetExecutionWorkflowItem.php | 8 +- .../GetExecutionWorkflowJobActionItem.php | 8 +- .../GetExecutionWorkflowJobCollection.php | 4 +- src/Endpoint/GetExecutionWorkflowJobItem.php | 8 +- src/Endpoint/GetForgotPassword.php | 6 +- src/Endpoint/GetOfferCollection.php | 4 +- src/Endpoint/GetOfferItem.php | 8 +- .../GetOnPremiseRequestCollection.php | 4 +- src/Endpoint/GetOnPremiseRequestItem.php | 8 +- src/Endpoint/GetOrganizationCollection.php | 4 +- src/Endpoint/GetOrganizationItem.php | 8 +- src/Endpoint/GetPipelineCollection.php | 4 +- .../GetPipelineCompilationCollection.php | 4 +- src/Endpoint/GetPipelineCompilationItem.php | 8 +- src/Endpoint/GetPipelineItem.php | 8 +- src/Endpoint/GetPipelineStepCollection.php | 4 +- src/Endpoint/GetPipelineStepItem.php | 8 +- .../GetPipelineStepProbeCollection.php | 4 +- src/Endpoint/GetPipelineStepProbeItem.php | 8 +- src/Endpoint/GetReferralCodeCollection.php | 4 +- src/Endpoint/GetReferralCodeItem.php | 8 +- src/Endpoint/GetReferralRequestCollection.php | 4 +- src/Endpoint/GetReferralRequestItem.php | 8 +- src/Endpoint/GetScheduleCollection.php | 4 +- src/Endpoint/GetScheduleItem.php | 8 +- src/Endpoint/GetSecretCollection.php | 4 +- src/Endpoint/GetSecretItem.php | 8 +- src/Endpoint/GetSubscriptionCollection.php | 4 +- src/Endpoint/GetSubscriptionItem.php | 8 +- .../GetUserAuthorizationCollection.php | 4 +- src/Endpoint/GetUserAuthorizationItem.php | 8 +- src/Endpoint/GetUserCollection.php | 4 +- src/Endpoint/GetUserItem.php | 8 +- .../GetVariableFromConfigMapCollection.php | 4 +- src/Endpoint/GetVariableFromConfigMapItem.php | 8 +- .../GetVariableFromSecretCollection.php | 4 +- src/Endpoint/GetVariableFromSecretItem.php | 8 +- src/Endpoint/GetWorkflowCollection.php | 4 +- src/Endpoint/GetWorkflowItem.php | 8 +- src/Endpoint/GetWorkflowJobActionItem.php | 8 +- src/Endpoint/GetWorkflowJobItem.php | 8 +- src/Endpoint/GetWorkflowJobPipelineItem.php | 8 +- src/Endpoint/GetWorkspaceCollection.php | 4 +- src/Endpoint/GetWorkspaceItem.php | 8 +- .../InterruptExecutionExecutionCollection.php | 6 +- src/Endpoint/MeUserCollection.php | 4 +- ...oveAfterPipelineStepPipelineCollection.php | 6 +- ...veBeforePipelineStepPipelineCollection.php | 6 +- src/Endpoint/PatchOfferItem.php | 8 +- src/Endpoint/PatchOrganizationItem.php | 8 +- src/Endpoint/PatchSubscriptionItem.php | 8 +- src/Endpoint/PatchUserAuthorizationItem.php | 8 +- src/Endpoint/PatchUserItem.php | 8 +- src/Endpoint/PatchWorkspaceItem.php | 8 +- .../PipelineCompilationPipelineCollection.php | 6 +- src/Endpoint/PostAkeneoInstanceCollection.php | 8 +- .../PostAkeneoLinkedAccountCollection.php | 8 +- .../PostAkeneoOauthTokenCollection.php | 6 +- src/Endpoint/PostConfigMapCollection.php | 8 +- src/Endpoint/PostCredentialsItem.php | 4 +- src/Endpoint/PostEnvironmentCollection.php | 8 +- src/Endpoint/PostForgotPassword.php | 4 +- src/Endpoint/PostForgotPasswordToken.php | 4 +- .../PostOnPremiseRequestCollection.php | 8 +- src/Endpoint/PostOrganizationCollection.php | 8 +- src/Endpoint/PostReferralCodeCollection.php | 8 +- .../PostReferralRequestCollection.php | 8 +- src/Endpoint/PostSecretCollection.php | 8 +- src/Endpoint/PostSubscriptionCollection.php | 8 +- .../PostUserAuthorizationCollection.php | 8 +- src/Endpoint/PostUserCollection.php | 8 +- .../PostVariableFromConfigMapCollection.php | 8 +- .../PostVariableFromSecretCollection.php | 8 +- src/Endpoint/PostWorkspaceCollection.php | 8 +- ...eoOauthTokenAkeneoOauthTokenCollection.php | 10 +- src/Endpoint/PutAuthenticationToken.php | 6 +- src/Endpoint/PutOfferItem.php | 8 +- src/Endpoint/PutOrganizationItem.php | 8 +- src/Endpoint/PutSubscriptionItem.php | 8 +- src/Endpoint/PutUserAuthorizationItem.php | 8 +- src/Endpoint/PutUserItem.php | 8 +- src/Endpoint/PutWorkspaceItem.php | 8 +- ...jectReferralRequestReferralRequestItem.php | 8 +- .../RemovePipelineStepProbePipelineItem.php | 4 +- ...ReorderPipelineStepsPipelineCollection.php | 6 +- .../ReplacePipelineStepPipelineCollection.php | 6 +- .../ResumeExecutionExecutionCollection.php | 6 +- .../ScheduleImmediateScheduleCollection.php | 8 +- .../ScheduleOnceScheduleCollection.php | 8 +- .../ScheduleTimesScheduleCollection.php | 8 +- .../ScheduleUntilScheduleCollection.php | 8 +- .../StartExecutionExecutionCollection.php | 6 +- .../TerminateExecutionExecutionCollection.php | 6 +- ...pdateExecutionStateExecutionCollection.php | 6 +- ...ReferralRequestItemBadRequestException.php | 2 + ...stReferralRequestItemNotFoundException.php | 2 + ...equestItemUnprocessableEntityException.php | 2 + ...pPipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...pPipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...ePipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...ePipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...ConfigMapCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...lueSecretCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + src/Exception/ApiException.php | 2 + ...pPipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + src/Exception/BadRequestException.php | 2 + ...ngePasswordUserItemBadRequestException.php | 2 + ...hangePasswordUserItemNotFoundException.php | 2 + ...rdUserItemUnprocessableEntityException.php | 2 + src/Exception/ClientException.php | 2 + ...ExecutionCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...ePipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + .../DeleteOfferItemNotFoundException.php | 2 + ...eleteOrganizationItemNotFoundException.php | 2 + ...ePipelinePipelineItemNotFoundException.php | 2 + ...elineStepPipelineItemNotFoundException.php | 2 + ...eleteReferralCodeItemNotFoundException.php | 2 + ...eleteSubscriptionItemNotFoundException.php | 2 + ...UserAuthorizationItemNotFoundException.php | 2 + .../DeleteUserItemNotFoundException.php | 2 + .../DeleteWorkspaceItemNotFoundException.php | 2 + ...ExecutionCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + .../GetActionItemNotFoundException.php | 2 + ...GetAkeneoInstanceItemNotFoundException.php | 2 + ...eneoLinkedAccountItemNotFoundException.php | 2 + ...tAkeneoOauthTokenItemNotFoundException.php | 2 + .../GetConfigMapItemNotFoundException.php | 2 + .../GetEnvironmentItemNotFoundException.php | 2 + ...etExecutionActionItemNotFoundException.php | 2 + .../GetExecutionItemNotFoundException.php | 2 + ...ExecutionPipelineItemNotFoundException.php | 2 + ...cutionPipelineJobItemNotFoundException.php | 2 + ...utionPipelineStepItemNotFoundException.php | 2 + ...ExecutionWorkflowItemNotFoundException.php | 2 + ...WorkflowJobActionItemNotFoundException.php | 2 + ...cutionWorkflowJobItemNotFoundException.php | 2 + .../GetForgotPasswordNotFoundException.php | 2 + .../GetOfferItemNotFoundException.php | 2 + ...tOnPremiseRequestItemNotFoundException.php | 2 + .../GetOrganizationItemNotFoundException.php | 2 + ...pelineCompilationItemNotFoundException.php | 2 + .../GetPipelineItemNotFoundException.php | 2 + .../GetPipelineStepItemNotFoundException.php | 2 + ...PipelineStepProbeItemNotFoundException.php | 2 + .../GetReferralCodeItemNotFoundException.php | 2 + ...etReferralRequestItemNotFoundException.php | 2 + .../GetScheduleItemNotFoundException.php | 2 + .../GetSecretItemNotFoundException.php | 2 + .../GetSubscriptionItemNotFoundException.php | 2 + ...UserAuthorizationItemNotFoundException.php | 2 + .../GetUserItemNotFoundException.php | 2 + ...ableFromConfigMapItemNotFoundException.php | 2 + ...ariableFromSecretItemNotFoundException.php | 2 + .../GetWorkflowItemNotFoundException.php | 2 + ...WorkflowJobActionItemNotFoundException.php | 2 + .../GetWorkflowJobItemNotFoundException.php | 2 + ...rkflowJobPipelineItemNotFoundException.php | 2 + .../GetWorkspaceItemNotFoundException.php | 2 + ...ExecutionCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...pPipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...pPipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + src/Exception/NotFoundException.php | 2 + .../PatchOfferItemBadRequestException.php | 2 + .../PatchOfferItemNotFoundException.php | 2 + ...hOfferItemUnprocessableEntityException.php | 2 + ...tchOrganizationItemBadRequestException.php | 2 + ...PatchOrganizationItemNotFoundException.php | 2 + ...zationItemUnprocessableEntityException.php | 2 + ...tchSubscriptionItemBadRequestException.php | 2 + ...PatchSubscriptionItemNotFoundException.php | 2 + ...iptionItemUnprocessableEntityException.php | 2 + ...erAuthorizationItemBadRequestException.php | 2 + ...UserAuthorizationItemNotFoundException.php | 2 + ...zationItemUnprocessableEntityException.php | 2 + .../PatchUserItemBadRequestException.php | 2 + .../PatchUserItemNotFoundException.php | 2 + ...chUserItemUnprocessableEntityException.php | 2 + .../PatchWorkspaceItemBadRequestException.php | 2 + .../PatchWorkspaceItemNotFoundException.php | 2 + ...kspaceItemUnprocessableEntityException.php | 2 + ...nPipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...oInstanceCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...edAccountCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...authTokenCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...ConfigMapCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...vironmentCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + .../PostForgotPasswordBadRequestException.php | 2 + ...ForgotPasswordTokenBadRequestException.php | 2 + ...stForgotPasswordTokenNotFoundException.php | 2 + ...seRequestCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...anizationCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...erralCodeCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...alRequestCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...ostSecretCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...scriptionCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...orizationCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + .../PostUserCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...ConfigMapCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...romSecretCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...WorkspaceCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...authTokenCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + .../PutOfferItemBadRequestException.php | 2 + .../PutOfferItemNotFoundException.php | 2 + ...tOfferItemUnprocessableEntityException.php | 2 + ...PutOrganizationItemBadRequestException.php | 2 + .../PutOrganizationItemNotFoundException.php | 2 + ...zationItemUnprocessableEntityException.php | 2 + ...PutSubscriptionItemBadRequestException.php | 2 + .../PutSubscriptionItemNotFoundException.php | 2 + ...iptionItemUnprocessableEntityException.php | 2 + ...erAuthorizationItemBadRequestException.php | 2 + ...UserAuthorizationItemNotFoundException.php | 2 + ...zationItemUnprocessableEntityException.php | 2 + .../PutUserItemBadRequestException.php | 2 + .../PutUserItemNotFoundException.php | 2 + ...utUserItemUnprocessableEntityException.php | 2 + .../PutWorkspaceItemBadRequestException.php | 2 + .../PutWorkspaceItemNotFoundException.php | 2 + ...kspaceItemUnprocessableEntityException.php | 2 + ...ReferralRequestItemBadRequestException.php | 2 + ...stReferralRequestItemNotFoundException.php | 2 + ...equestItemUnprocessableEntityException.php | 2 + ...StepProbePipelineItemNotFoundException.php | 2 + ...sPipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...pPipelineCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...ExecutionCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...eScheduleCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...eScheduleCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...sScheduleCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...lScheduleCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + src/Exception/ServerException.php | 2 + ...ExecutionCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + ...ExecutionCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + .../UnprocessableEntityException.php | 2 + ...ExecutionCollectionBadRequestException.php | 2 + ...CollectionUnprocessableEntityException.php | 2 + src/Model/AbstractPipeline.php | 2 + src/Model/AbstractPipelineJsonld.php | 2 + src/Model/ActionJsonldRead.php | 2 + src/Model/ActionRead.php | 2 + src/Model/AkeneoInstance.php | 2 + .../AkeneoInstanceAkeneoInstanceInput.php | 2 + ...keneoInstanceAkeneoInstanceInputJsonld.php | 2 + src/Model/AkeneoInstanceJsonld.php | 2 + src/Model/AkeneoLinkedAccount.php | 2 + ...LinkedAccountAkeneoLinkedAccountsInput.php | 2 + ...AccountAkeneoLinkedAccountsInputJsonld.php | 2 + src/Model/AkeneoLinkedAccountJsonld.php | 2 + src/Model/AkeneoOauthTokenJsonldRead.php | 2 + src/Model/AkeneoOauthTokenOauthStateInput.php | 2 + .../AkeneoOauthTokenOauthStateInputJsonld.php | 2 + ...eoOauthTokenOauthStateOutputJsonldRead.php | 2 + src/Model/AkeneoOauthTokenOauthTokenInput.php | 2 + .../AkeneoOauthTokenOauthTokenInputJsonld.php | 2 + ...eoOauthTokenOauthTokenOutputJsonldRead.php | 2 + src/Model/AkeneoOauthTokenRead.php | 2 + src/Model/AuthenticationMeGetResponse200.php | 2 + ...henticationMeGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...uthenticationMeGetResponse200HydraView.php | 2 + ...enticationOfferIdOptionsGetResponse200.php | 2 + ...fferIdOptionsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...nOfferIdOptionsGetResponse200HydraView.php | 2 + .../AuthenticationOffersGetResponse200.php | 2 + ...icationOffersGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...nticationOffersGetResponse200HydraView.php | 2 + ...nizationIdAuthorizationsGetResponse200.php | 2 + ...uthorizationsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...dAuthorizationsGetResponse200HydraView.php | 2 + ...nIdExternalCollaboratorsGetResponse200.php | 2 + ...CollaboratorsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...alCollaboratorsGetResponse200HydraView.php | 2 + ...ationOrganizationIdUsersGetResponse200.php | 2 + ...zationIdUsersGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...nizationIdUsersGetResponse200HydraView.php | 2 + ...OrganizationIdWorkspacesGetResponse200.php | 2 + ...nIdWorkspacesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...ionIdWorkspacesGetResponse200HydraView.php | 2 + ...henticationOrganizationsGetResponse200.php | 2 + ...OrganizationsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...onOrganizationsGetResponse200HydraView.php | 2 + ...henticationSubscriptionsGetResponse200.php | 2 + ...SubscriptionsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...onSubscriptionsGetResponse200HydraView.php | 2 + ...onSubscriptionsIdOptionsGetResponse200.php | 2 + ...ionsIdOptionsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...ptionsIdOptionsGetResponse200HydraView.php | 2 + ...cationUserAuthorizationsGetResponse200.php | 2 + ...uthorizationsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...rAuthorizationsGetResponse200HydraView.php | 2 + ...tionUserIdAuthorizationsGetResponse200.php | 2 + ...uthorizationsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...dAuthorizationsGetResponse200HydraView.php | 2 + .../AuthenticationUsersGetResponse200.php | 2 + ...ticationUsersGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...enticationUsersGetResponse200HydraView.php | 2 + ...orkspaceIdAuthorizationsGetResponse200.php | 2 + ...uthorizationsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...dAuthorizationsGetResponse200HydraView.php | 2 + ...ticationWorkspaceIdUsersGetResponse200.php | 2 + ...kspaceIdUsersGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...orkspaceIdUsersGetResponse200HydraView.php | 2 + ...AuthenticationWorkspacesGetResponse200.php | 2 + ...ionWorkspacesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...ationWorkspacesGetResponse200HydraView.php | 2 + src/Model/AutoloadInput.php | 2 + src/Model/AutoloadInputJsonld.php | 2 + src/Model/BigDecimal.php | 2 + src/Model/BigDecimalJsonld.php | 2 + src/Model/BigInteger.php | 2 + src/Model/BigIntegerJsonld.php | 2 + src/Model/BigNumber.php | 2 + src/Model/BigNumberJsonld.php | 2 + src/Model/ConfigMap.php | 2 + src/Model/ConfigMapConfigMapInput.php | 2 + src/Model/ConfigMapConfigMapInputJsonld.php | 2 + src/Model/ConfigMapJsonld.php | 2 + src/Model/ConfigMapValueInput.php | 2 + src/Model/ConfigMapValueInputJsonld.php | 2 + src/Model/Context.php | 2 + src/Model/ContextJsonld.php | 2 + src/Model/Credentials.php | 2 + src/Model/Currency.php | 2 + src/Model/CurrencyJsonld.php | 2 + src/Model/Environment.php | 2 + ...nvironmentConfigMapIdPutPutResponse200.php | 2 + ...onfigMapIdPutPutResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...tConfigMapIdPutPutResponse200HydraView.php | 2 + .../EnvironmentConfigMapsGetResponse200.php | 2 + ...entConfigMapsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...nmentConfigMapsGetResponse200HydraView.php | 2 + .../EnvironmentEnvironmentsGetResponse200.php | 2 + ...tEnvironmentsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...entEnvironmentsGetResponse200HydraView.php | 2 + src/Model/EnvironmentJsonld.php | 2 + .../EnvironmentSecretIdPutPutResponse200.php | 2 + ...ntSecretIdPutPutResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...mentSecretIdPutPutResponse200HydraView.php | 2 + .../EnvironmentSecretsGetResponse200.php | 2 + ...onmentSecretsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...ironmentSecretsGetResponse200HydraView.php | 2 + ...ntVariableFromConfigMapsGetResponse200.php | 2 + ...romConfigMapsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...eFromConfigMapsGetResponse200HydraView.php | 2 + ...nmentVariableFromSecretsGetResponse200.php | 2 + ...leFromSecretsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...ableFromSecretsGetResponse200HydraView.php | 2 + src/Model/ExecutionAction.php | 2 + src/Model/ExecutionActionJsonld.php | 2 + src/Model/ExecutionActionJsonldRead.php | 2 + src/Model/ExecutionActionRead.php | 2 + ...onDeclarePipelineExecutionCommandInput.php | 2 + ...arePipelineExecutionCommandInputJsonld.php | 2 + ...larePipelineExecutionCommandJsonldRead.php | 2 + ...ionFinishPipelineExecutionCommandInput.php | 2 + ...ishPipelineExecutionCommandInputJsonld.php | 2 + ...nishPipelineExecutionCommandJsonldRead.php | 2 + ...InterruptPipelineExecutionCommandInput.php | 2 + ...uptPipelineExecutionCommandInputJsonld.php | 2 + ...ruptPipelineExecutionCommandJsonldRead.php | 2 + src/Model/ExecutionJsonldRead.php | 2 + src/Model/ExecutionPipeline.php | 2 + src/Model/ExecutionPipelineJob.php | 2 + src/Model/ExecutionPipelineJobJsonld.php | 2 + src/Model/ExecutionPipelineJsonld.php | 2 + src/Model/ExecutionPipelineStep.php | 2 + src/Model/ExecutionPipelineStepJsonld.php | 2 + src/Model/ExecutionRead.php | 2 + ...ionResumePipelineExecutionCommandInput.php | 2 + ...umePipelineExecutionCommandInputJsonld.php | 2 + ...sumePipelineExecutionCommandJsonldRead.php | 2 + ...tionStartPipelineExecutionCommandInput.php | 2 + ...artPipelineExecutionCommandInputJsonld.php | 2 + ...tartPipelineExecutionCommandJsonldRead.php | 2 + ...TerminatePipelineExecutionCommandInput.php | 2 + ...atePipelineExecutionCommandInputJsonld.php | 2 + ...natePipelineExecutionCommandJsonldRead.php | 2 + ...datePipelineExecutionStateCommandInput.php | 2 + ...pelineExecutionStateCommandInputJsonld.php | 2 + ...ipelineExecutionStateCommandJsonldRead.php | 2 + src/Model/ExecutionWorkflow.php | 2 + src/Model/ExecutionWorkflowJob.php | 2 + src/Model/ExecutionWorkflowJobAction.php | 2 + .../ExecutionWorkflowJobActionJsonld.php | 2 + src/Model/ExecutionWorkflowJobJsonld.php | 2 + src/Model/ExecutionWorkflowJsonld.php | 2 + ...wayAkeneoInstanceFromUrlGetResponse200.php | 2 + ...stanceFromUrlGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...InstanceFromUrlGetResponse200HydraView.php | 2 + ...AkeneoInstanceOauthStateGetResponse200.php | 2 + ...nceOauthStateGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...tanceOauthStateGetResponse200HydraView.php | 2 + .../GatewayAkeneoInstancesGetResponse200.php | 2 + ...eneoInstancesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...AkeneoInstancesGetResponse200HydraView.php | 2 + ...inkedAccountAkeneoUserIdGetResponse200.php | 2 + ...tAkeneoUserIdGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...untAkeneoUserIdGetResponse200HydraView.php | 2 + ...ewayAkeneoLinkedAccountsGetResponse200.php | 2 + ...inkedAccountsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...oLinkedAccountsGetResponse200HydraView.php | 2 + ...GatewayAkeneoOauthStatesGetResponse200.php | 2 + ...eoOauthStatesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...eneoOauthStatesGetResponse200HydraView.php | 2 + src/Model/GatewayAkeneoOauthTokenPutBody.php | 2 + ...ewayAkeneoOauthTokenPutBodyHydraSearch.php | 2 + ...okenPutBodyHydraSearchHydraMappingItem.php | 2 + ...atewayAkeneoOauthTokenPutBodyHydraView.php | 2 + .../GatewayAkeneoOauthTokenPutResponse200.php | 2 + ...neoOauthTokenPutResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...keneoOauthTokenPutResponse200HydraView.php | 2 + src/Model/Money.php | 2 + src/Model/MoneyJsonld.php | 2 + src/Model/Offer.php | 2 + src/Model/OfferJsonld.php | 2 + ...emiseRequestJsonldOnPremiseRequestRead.php | 2 + ...miseRequestJsonldOnPremiseRequestWrite.php | 2 + .../OnPremiseRequestOnPremiseRequestRead.php | 2 + .../OnPremiseRequestOnPremiseRequestWrite.php | 2 + src/Model/Option.php | 2 + src/Model/OptionJsonld.php | 2 + src/Model/Organization.php | 2 + src/Model/OrganizationJsonld.php | 2 + ...pelineAddAfterPipelineStepCommandInput.php | 2 + ...AddAfterPipelineStepCommandInputJsonld.php | 2 + ...eAddAfterPipelineStepCommandJsonldRead.php | 2 + ...elineAddBeforePipelineStepCommandInput.php | 2 + ...ddBeforePipelineStepCommandInputJsonld.php | 2 + ...AddBeforePipelineStepCommandJsonldRead.php | 2 + ...pelineComposerPSR4AutoloadCommandInput.php | 2 + ...ComposerPSR4AutoloadCommandInputJsonld.php | 2 + ...eComposerPSR4AutoloadCommandJsonldRead.php | 2 + ...ipelineAddPipelineStepProbCommandInput.php | 2 + ...eAddPipelineStepProbCommandInputJsonld.php | 2 + ...eAddPipelineStepProbeCommandJsonldRead.php | 2 + ...PipelineAppendPipelineStepCommandInput.php | 2 + ...neAppendPipelineStepCommandInputJsonld.php | 2 + ...ineAppendPipelineStepCommandJsonldRead.php | 2 + src/Model/PipelineCompilation.php | 2 + src/Model/PipelineCompilationJsonld.php | 2 + .../PipelineCompilePipelineCommandInput.php | 2 + ...elineCompilePipelineCommandInputJsonld.php | 2 + ...pelineCompilePipelineCommandJsonldRead.php | 2 + .../PipelineDeclarePipelineCommandInput.php | 2 + ...elineDeclarePipelineCommandInputJsonld.php | 2 + ...pelineDeclarePipelineCommandJsonldRead.php | 2 + src/Model/PipelineIdJsonld.php | 2 + src/Model/PipelineJsonldRead.php | 2 + ...elineMoveAfterPipelineStepCommandInput.php | 2 + ...oveAfterPipelineStepCommandInputJsonld.php | 2 + ...MoveAfterPipelineStepCommandJsonldRead.php | 2 + ...lineMoveBeforePipelineStepCommandInput.php | 2 + ...veBeforePipelineStepCommandInputJsonld.php | 2 + ...oveBeforePipelineStepCommandJsonldRead.php | 2 + src/Model/PipelineRead.php | 2 + ...movePipelineStepProbeCommandJsonldRead.php | 2 + ...pelineReorderPipelineStepsCommandInput.php | 2 + ...ReorderPipelineStepsCommandInputJsonld.php | 2 + ...eReorderPipelineStepsCommandJsonldRead.php | 2 + ...ipelineReplacePipelineStepCommandInput.php | 2 + ...eReplacePipelineStepCommandInputJsonld.php | 2 + ...neReplacePipelineStepCommandJsonldRead.php | 2 + src/Model/PipelineStep.php | 2 + src/Model/PipelineStepJsonld.php | 2 + src/Model/PipelineStepProbe.php | 2 + src/Model/PipelineStepProbeJsonld.php | 2 + src/Model/Price.php | 2 + src/Model/PriceJsonld.php | 2 + src/Model/Probe.php | 2 + src/Model/ProbeJsonld.php | 2 + .../ReferralCodeJsonldReferralCodeRead.php | 2 + .../ReferralCodeJsonldReferralCodeWrite.php | 2 + src/Model/ReferralCodeReferralCodeRead.php | 2 + src/Model/ReferralCodeReferralCodeWrite.php | 2 + src/Model/ReferralCodesGetResponse200.php | 2 + ...ReferralCodesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + .../ReferralCodesGetResponse200HydraView.php | 2 + ...eferralOnPremiseRequestsGetResponse200.php | 2 + ...emiseRequestsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...PremiseRequestsGetResponse200HydraView.php | 2 + ...ferralRequestJsonldReferralRequestRead.php | 2 + .../ReferralRequestReferralRequestInput.php | 2 + ...erralRequestReferralRequestInputJsonld.php | 2 + .../ReferralRequestReferralRequestRead.php | 2 + src/Model/ReferralRequestsGetResponse200.php | 2 + ...erralRequestsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...eferralRequestsGetResponse200HydraView.php | 2 + src/Model/RuntimeActionsGetResponse200.php | 2 + ...untimeActionsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + .../RuntimeActionsGetResponse200HydraView.php | 2 + ...ExecutionPipelineIdStepsGetResponse200.php | 2 + ...pelineIdStepsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...PipelineIdStepsGetResponse200HydraView.php | 2 + ...cutionExecutionPipelinesGetResponse200.php | 2 + ...tionPipelinesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...cutionPipelinesGetResponse200HydraView.php | 2 + ...nExecutionWorkflowIdJobsGetResponse200.php | 2 + ...orkflowIdJobsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...nWorkflowIdJobsGetResponse200HydraView.php | 2 + ...cutionExecutionWorkflowsGetResponse200.php | 2 + ...tionWorkflowsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...cutionWorkflowsGetResponse200HydraView.php | 2 + ...eExecutionIdWorkflowJobsGetResponse200.php | 2 + ...dWorkflowJobsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...nIdWorkflowJobsGetResponse200HydraView.php | 2 + ...cutionPipelineJobIdStepsGetResponse200.php | 2 + ...ineJobIdStepsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...elineJobIdStepsGetResponse200HydraView.php | 2 + ...imeExecutionPipelineJobsGetResponse200.php | 2 + ...nPipelineJobsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...ionPipelineJobsGetResponse200HydraView.php | 2 + ...rkflowJobIdPipelineStepsGetResponse200.php | 2 + ...PipelineStepsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...IdPipelineStepsGetResponse200HydraView.php | 2 + ...lowExecutionWorkflowJobsGetResponse200.php | 2 + ...nWorkflowJobsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...ionWorkflowJobsGetResponse200HydraView.php | 2 + src/Model/RuntimeExecutionsGetResponse200.php | 2 + ...imeExecutionsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...ntimeExecutionsGetResponse200HydraView.php | 2 + ...mePipelineIdCompilationsGetResponse200.php | 2 + ...dCompilationsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...eIdCompilationsGetResponse200HydraView.php | 2 + ...timePipelineStepIdProbesGetResponse200.php | 2 + ...eStepIdProbesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...ineStepIdProbesGetResponse200HydraView.php | 2 + ...untimePipelineStepProbesGetResponse200.php | 2 + ...ineStepProbesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...elineStepProbesGetResponse200HydraView.php | 2 + .../RuntimePipelineStepsGetResponse200.php | 2 + ...PipelineStepsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...mePipelineStepsGetResponse200HydraView.php | 2 + ...timePipelinesCompilationGetResponse200.php | 2 + ...esCompilationGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...inesCompilationGetResponse200HydraView.php | 2 + src/Model/RuntimePipelinesGetResponse200.php | 2 + ...timePipelinesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...untimePipelinesGetResponse200HydraView.php | 2 + ...timeScheduleIdExecutionsGetResponse200.php | 2 + ...eIdExecutionsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...uleIdExecutionsGetResponse200HydraView.php | 2 + ...meScheduleIdWorkflowJobsGetResponse200.php | 2 + ...dWorkflowJobsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...eIdWorkflowJobsGetResponse200HydraView.php | 2 + src/Model/RuntimeSchedulesGetResponse200.php | 2 + ...timeSchedulesGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...untimeSchedulesGetResponse200HydraView.php | 2 + .../RuntimeWorkflowIdJobsGetResponse200.php | 2 + ...orkflowIdJobsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...eWorkflowIdJobsGetResponse200HydraView.php | 2 + src/Model/RuntimeWorkflowsGetResponse200.php | 2 + ...timeWorkflowsGetResponse200HydraSearch.php | 2 + ...Response200HydraSearchHydraMappingItem.php | 2 + ...untimeWorkflowsGetResponse200HydraView.php | 2 + src/Model/Schedule.php | 2 + ...eclarePipelineScheduleImmediateCommand.php | 2 + ...ePipelineScheduleImmediateCommandInput.php | 2 + ...ineScheduleImmediateCommandInputJsonld.php | 2 + ...PipelineScheduleImmediateCommandJsonld.php | 2 + ...duleDeclarePipelineScheduleOnceCommand.php | 2 + ...eclarePipelineScheduleOnceCommandInput.php | 2 + ...PipelineScheduleOnceCommandInputJsonld.php | 2 + ...clarePipelineScheduleOnceCommandJsonld.php | 2 + ...uleDeclarePipelineScheduleTimesCommand.php | 2 + ...clarePipelineScheduleTimesCommandInput.php | 2 + ...ipelineScheduleTimesCommandInputJsonld.php | 2 + ...larePipelineScheduleTimesCommandJsonld.php | 2 + ...uleDeclarePipelineScheduleUntilCommand.php | 2 + ...clarePipelineScheduleUntilCommandInput.php | 2 + ...ipelineScheduleUntilCommandInputJsonld.php | 2 + ...larePipelineScheduleUntilCommandJsonld.php | 2 + src/Model/ScheduleIdJsonld.php | 2 + src/Model/ScheduleJsonld.php | 2 + src/Model/Secret.php | 2 + src/Model/SecretInput.php | 2 + src/Model/SecretInputJsonld.php | 2 + src/Model/SecretJsonld.php | 2 + src/Model/SecretSecretInput.php | 2 + src/Model/SecretSecretInputJsonld.php | 2 + src/Model/StepInput.php | 2 + src/Model/StepInputJsonld.php | 2 + src/Model/Subscription.php | 2 + src/Model/SubscriptionJsonld.php | 2 + src/Model/SubscriptionOption.php | 2 + src/Model/SubscriptionOptionJsonld.php | 2 + src/Model/Token.php | 2 + src/Model/TraversableJsonld.php | 2 + src/Model/UpdateList.php | 2 + src/Model/UpdateListJsonld.php | 2 + src/Model/User.php | 2 + src/Model/UserAuthorization.php | 2 + src/Model/UserAuthorizationJsonld.php | 2 + src/Model/UserIdJsonld.php | 2 + src/Model/UserJsonld.php | 2 + src/Model/UserUserChangePasswordInput.php | 2 + src/Model/Variable.php | 2 + src/Model/VariableFromConfigMap.php | 2 + src/Model/VariableFromConfigMapJsonld.php | 2 + src/Model/VariableFromSecret.php | 2 + src/Model/VariableFromSecretJsonld.php | 2 + src/Model/VariableJsonld.php | 2 + src/Model/WorkflowJobAction.php | 2 + src/Model/WorkflowJobActionJsonld.php | 2 + src/Model/WorkflowJobActionJsonldRead.php | 2 + src/Model/WorkflowJobActionRead.php | 2 + src/Model/WorkflowJobJsonldRead.php | 2 + src/Model/WorkflowJobPipeline.php | 2 + src/Model/WorkflowJobPipelineJsonld.php | 2 + src/Model/WorkflowJobPipelineJsonldRead.php | 2 + src/Model/WorkflowJobPipelineRead.php | 2 + src/Model/WorkflowJobRead.php | 2 + src/Model/WorkflowJsonldRead.php | 2 + src/Model/WorkflowRead.php | 2 + src/Model/Workspace.php | 2 + src/Model/WorkspaceJsonld.php | 2 + .../AbstractPipelineJsonldNormalizer.php | 18 +- src/Normalizer/AbstractPipelineNormalizer.php | 18 +- src/Normalizer/ActionJsonldReadNormalizer.php | 18 +- src/Normalizer/ActionReadNormalizer.php | 18 +- ...nceAkeneoInstanceInputJsonldNormalizer.php | 18 +- ...oInstanceAkeneoInstanceInputNormalizer.php | 18 +- .../AkeneoInstanceJsonldNormalizer.php | 18 +- src/Normalizer/AkeneoInstanceNormalizer.php | 18 +- ...neoLinkedAccountsInputJsonldNormalizer.php | 18 +- ...untAkeneoLinkedAccountsInputNormalizer.php | 18 +- .../AkeneoLinkedAccountJsonldNormalizer.php | 18 +- .../AkeneoLinkedAccountNormalizer.php | 18 +- .../AkeneoOauthTokenJsonldReadNormalizer.php | 18 +- ...thTokenOauthStateInputJsonldNormalizer.php | 18 +- ...neoOauthTokenOauthStateInputNormalizer.php | 18 +- ...enOauthStateOutputJsonldReadNormalizer.php | 22 +- ...thTokenOauthTokenInputJsonldNormalizer.php | 18 +- ...neoOauthTokenOauthTokenInputNormalizer.php | 18 +- ...enOauthTokenOutputJsonldReadNormalizer.php | 22 +- .../AkeneoOauthTokenReadNormalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...nMeGetResponse200HydraSearchNormalizer.php | 18 +- ...ionMeGetResponse200HydraViewNormalizer.php | 18 +- ...thenticationMeGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...OfferIdOptionsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...ersGetResponse200HydraSearchNormalizer.php | 18 +- ...ffersGetResponse200HydraViewNormalizer.php | 18 +- ...ticationOffersGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...AuthorizationsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...orsGetResponse200HydraSearchNormalizer.php | 18 +- ...atorsGetResponse200HydraViewNormalizer.php | 18 +- ...lCollaboratorsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...ersGetResponse200HydraSearchNormalizer.php | 18 +- ...UsersGetResponse200HydraViewNormalizer.php | 18 +- ...izationIdUsersGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...cesGetResponse200HydraSearchNormalizer.php | 18 +- ...pacesGetResponse200HydraViewNormalizer.php | 18 +- ...onIdWorkspacesGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...nOrganizationsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...nSubscriptionsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...tionsIdOptionsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...AuthorizationsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...AuthorizationsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...ersGetResponse200HydraSearchNormalizer.php | 18 +- ...UsersGetResponse200HydraViewNormalizer.php | 18 +- ...nticationUsersGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...AuthorizationsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...ersGetResponse200HydraSearchNormalizer.php | 18 +- ...UsersGetResponse200HydraViewNormalizer.php | 18 +- ...rkspaceIdUsersGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...cesGetResponse200HydraSearchNormalizer.php | 18 +- ...pacesGetResponse200HydraViewNormalizer.php | 18 +- ...tionWorkspacesGetResponse200Normalizer.php | 18 +- .../AutoloadInputJsonldNormalizer.php | 18 +- src/Normalizer/AutoloadInputNormalizer.php | 18 +- src/Normalizer/BigDecimalJsonldNormalizer.php | 18 +- src/Normalizer/BigDecimalNormalizer.php | 18 +- src/Normalizer/BigIntegerJsonldNormalizer.php | 22 +- src/Normalizer/BigIntegerNormalizer.php | 22 +- src/Normalizer/BigNumberJsonldNormalizer.php | 22 +- src/Normalizer/BigNumberNormalizer.php | 22 +- ...onfigMapConfigMapInputJsonldNormalizer.php | 18 +- .../ConfigMapConfigMapInputNormalizer.php | 18 +- src/Normalizer/ConfigMapJsonldNormalizer.php | 18 +- src/Normalizer/ConfigMapNormalizer.php | 18 +- .../ConfigMapValueInputJsonldNormalizer.php | 18 +- .../ConfigMapValueInputNormalizer.php | 18 +- src/Normalizer/ContextJsonldNormalizer.php | 22 +- src/Normalizer/ContextNormalizer.php | 22 +- src/Normalizer/CredentialsNormalizer.php | 18 +- src/Normalizer/CurrencyJsonldNormalizer.php | 18 +- src/Normalizer/CurrencyNormalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...PutPutResponse200HydraSearchNormalizer.php | 18 +- ...IdPutPutResponse200HydraViewNormalizer.php | 18 +- ...ConfigMapIdPutPutResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...apsGetResponse200HydraSearchNormalizer.php | 18 +- ...gMapsGetResponse200HydraViewNormalizer.php | 18 +- ...mentConfigMapsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...ntsGetResponse200HydraSearchNormalizer.php | 18 +- ...mentsGetResponse200HydraViewNormalizer.php | 18 +- ...ntEnvironmentsGetResponse200Normalizer.php | 18 +- .../EnvironmentJsonldNormalizer.php | 18 +- src/Normalizer/EnvironmentNormalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...PutPutResponse200HydraSearchNormalizer.php | 18 +- ...IdPutPutResponse200HydraViewNormalizer.php | 18 +- ...entSecretIdPutPutResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...etsGetResponse200HydraSearchNormalizer.php | 18 +- ...cretsGetResponse200HydraViewNormalizer.php | 18 +- ...ronmentSecretsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...apsGetResponse200HydraSearchNormalizer.php | 18 +- ...gMapsGetResponse200HydraViewNormalizer.php | 18 +- ...FromConfigMapsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...etsGetResponse200HydraSearchNormalizer.php | 18 +- ...cretsGetResponse200HydraViewNormalizer.php | 18 +- ...bleFromSecretsGetResponse200Normalizer.php | 18 +- .../ExecutionActionJsonldNormalizer.php | 18 +- .../ExecutionActionJsonldReadNormalizer.php | 18 +- src/Normalizer/ExecutionActionNormalizer.php | 18 +- .../ExecutionActionReadNormalizer.php | 18 +- ...eExecutionCommandInputJsonldNormalizer.php | 18 +- ...ipelineExecutionCommandInputNormalizer.php | 18 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...eExecutionCommandInputJsonldNormalizer.php | 18 +- ...ipelineExecutionCommandInputNormalizer.php | 18 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...eExecutionCommandInputJsonldNormalizer.php | 18 +- ...ipelineExecutionCommandInputNormalizer.php | 18 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- .../ExecutionJsonldReadNormalizer.php | 18 +- .../ExecutionPipelineJobJsonldNormalizer.php | 18 +- .../ExecutionPipelineJobNormalizer.php | 18 +- .../ExecutionPipelineJsonldNormalizer.php | 18 +- .../ExecutionPipelineNormalizer.php | 18 +- .../ExecutionPipelineStepJsonldNormalizer.php | 18 +- .../ExecutionPipelineStepNormalizer.php | 18 +- src/Normalizer/ExecutionReadNormalizer.php | 18 +- ...eExecutionCommandInputJsonldNormalizer.php | 18 +- ...ipelineExecutionCommandInputNormalizer.php | 18 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...eExecutionCommandInputJsonldNormalizer.php | 18 +- ...ipelineExecutionCommandInputNormalizer.php | 18 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...eExecutionCommandInputJsonldNormalizer.php | 18 +- ...ipelineExecutionCommandInputNormalizer.php | 18 +- ...neExecutionCommandJsonldReadNormalizer.php | 22 +- ...utionStateCommandInputJsonldNormalizer.php | 18 +- ...neExecutionStateCommandInputNormalizer.php | 18 +- ...cutionStateCommandJsonldReadNormalizer.php | 22 +- ...utionWorkflowJobActionJsonldNormalizer.php | 18 +- .../ExecutionWorkflowJobActionNormalizer.php | 18 +- .../ExecutionWorkflowJobJsonldNormalizer.php | 18 +- .../ExecutionWorkflowJobNormalizer.php | 18 +- .../ExecutionWorkflowJsonldNormalizer.php | 18 +- .../ExecutionWorkflowNormalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...UrlGetResponse200HydraSearchNormalizer.php | 18 +- ...omUrlGetResponse200HydraViewNormalizer.php | 18 +- ...nstanceFromUrlGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...ateGetResponse200HydraSearchNormalizer.php | 18 +- ...StateGetResponse200HydraViewNormalizer.php | 18 +- ...anceOauthStateGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...cesGetResponse200HydraSearchNormalizer.php | 18 +- ...ancesGetResponse200HydraViewNormalizer.php | 18 +- ...keneoInstancesGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...rIdGetResponse200HydraSearchNormalizer.php | 18 +- ...serIdGetResponse200HydraViewNormalizer.php | 18 +- ...ntAkeneoUserIdGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...ntsGetResponse200HydraSearchNormalizer.php | 18 +- ...ountsGetResponse200HydraViewNormalizer.php | 18 +- ...LinkedAccountsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...tesGetResponse200HydraSearchNormalizer.php | 18 +- ...tatesGetResponse200HydraViewNormalizer.php | 18 +- ...neoOauthStatesGetResponse200Normalizer.php | 18 +- ...yHydraSearchHydraMappingItemNormalizer.php | 18 +- ...OauthTokenPutBodyHydraSearchNormalizer.php | 18 +- ...eoOauthTokenPutBodyHydraViewNormalizer.php | 18 +- ...tewayAkeneoOauthTokenPutBodyNormalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...kenPutResponse200HydraSearchNormalizer.php | 18 +- ...TokenPutResponse200HydraViewNormalizer.php | 18 +- ...eneoOauthTokenPutResponse200Normalizer.php | 18 +- src/Normalizer/JaneObjectNormalizer.php | 25 +- src/Normalizer/MoneyJsonldNormalizer.php | 18 +- src/Normalizer/MoneyNormalizer.php | 18 +- src/Normalizer/OfferJsonldNormalizer.php | 18 +- src/Normalizer/OfferNormalizer.php | 18 +- ...stJsonldOnPremiseRequestReadNormalizer.php | 18 +- ...tJsonldOnPremiseRequestWriteNormalizer.php | 18 +- ...eRequestOnPremiseRequestReadNormalizer.php | 18 +- ...RequestOnPremiseRequestWriteNormalizer.php | 18 +- src/Normalizer/OptionJsonldNormalizer.php | 18 +- src/Normalizer/OptionNormalizer.php | 18 +- .../OrganizationJsonldNormalizer.php | 18 +- src/Normalizer/OrganizationNormalizer.php | 18 +- ...pelineStepCommandInputJsonldNormalizer.php | 18 +- ...fterPipelineStepCommandInputNormalizer.php | 18 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- ...pelineStepCommandInputJsonldNormalizer.php | 18 +- ...forePipelineStepCommandInputNormalizer.php | 18 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- ...R4AutoloadCommandInputJsonldNormalizer.php | 18 +- ...oserPSR4AutoloadCommandInputNormalizer.php | 18 +- ...SR4AutoloadCommandJsonldReadNormalizer.php | 22 +- ...neStepProbCommandInputJsonldNormalizer.php | 18 +- ...PipelineStepProbCommandInputNormalizer.php | 18 +- ...neStepProbeCommandJsonldReadNormalizer.php | 22 +- ...pelineStepCommandInputJsonldNormalizer.php | 18 +- ...pendPipelineStepCommandInputNormalizer.php | 18 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- .../PipelineCompilationJsonldNormalizer.php | 18 +- .../PipelineCompilationNormalizer.php | 18 +- ...lePipelineCommandInputJsonldNormalizer.php | 18 +- ...eCompilePipelineCommandInputNormalizer.php | 18 +- ...ilePipelineCommandJsonldReadNormalizer.php | 22 +- ...rePipelineCommandInputJsonldNormalizer.php | 18 +- ...eDeclarePipelineCommandInputNormalizer.php | 18 +- ...arePipelineCommandJsonldReadNormalizer.php | 22 +- src/Normalizer/PipelineIdJsonldNormalizer.php | 22 +- .../PipelineJsonldReadNormalizer.php | 18 +- ...pelineStepCommandInputJsonldNormalizer.php | 18 +- ...fterPipelineStepCommandInputNormalizer.php | 18 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- ...pelineStepCommandInputJsonldNormalizer.php | 18 +- ...forePipelineStepCommandInputNormalizer.php | 18 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- src/Normalizer/PipelineReadNormalizer.php | 18 +- ...neStepProbeCommandJsonldReadNormalizer.php | 22 +- ...elineStepsCommandInputJsonldNormalizer.php | 18 +- ...derPipelineStepsCommandInputNormalizer.php | 18 +- ...pelineStepsCommandJsonldReadNormalizer.php | 22 +- ...pelineStepCommandInputJsonldNormalizer.php | 18 +- ...lacePipelineStepCommandInputNormalizer.php | 18 +- ...ipelineStepCommandJsonldReadNormalizer.php | 22 +- .../PipelineStepJsonldNormalizer.php | 18 +- src/Normalizer/PipelineStepNormalizer.php | 18 +- .../PipelineStepProbeJsonldNormalizer.php | 18 +- .../PipelineStepProbeNormalizer.php | 18 +- src/Normalizer/PriceJsonldNormalizer.php | 18 +- src/Normalizer/PriceNormalizer.php | 18 +- src/Normalizer/ProbeJsonldNormalizer.php | 18 +- src/Normalizer/ProbeNormalizer.php | 18 +- ...alCodeJsonldReferralCodeReadNormalizer.php | 18 +- ...lCodeJsonldReferralCodeWriteNormalizer.php | 18 +- ...ReferralCodeReferralCodeReadNormalizer.php | 18 +- ...eferralCodeReferralCodeWriteNormalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...desGetResponse200HydraSearchNormalizer.php | 18 +- ...CodesGetResponse200HydraViewNormalizer.php | 18 +- .../ReferralCodesGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...stsGetResponse200HydraSearchNormalizer.php | 18 +- ...uestsGetResponse200HydraViewNormalizer.php | 18 +- ...remiseRequestsGetResponse200Normalizer.php | 18 +- ...estJsonldReferralRequestReadNormalizer.php | 18 +- ...stReferralRequestInputJsonldNormalizer.php | 18 +- ...lRequestReferralRequestInputNormalizer.php | 18 +- ...alRequestReferralRequestReadNormalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...stsGetResponse200HydraSearchNormalizer.php | 18 +- ...uestsGetResponse200HydraViewNormalizer.php | 18 +- ...ferralRequestsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...RuntimeActionsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...epsGetResponse200HydraSearchNormalizer.php | 18 +- ...StepsGetResponse200HydraViewNormalizer.php | 18 +- ...ipelineIdStepsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...nesGetResponse200HydraSearchNormalizer.php | 18 +- ...linesGetResponse200HydraViewNormalizer.php | 18 +- ...utionPipelinesGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...obsGetResponse200HydraSearchNormalizer.php | 18 +- ...dJobsGetResponse200HydraViewNormalizer.php | 18 +- ...WorkflowIdJobsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...owsGetResponse200HydraSearchNormalizer.php | 18 +- ...flowsGetResponse200HydraViewNormalizer.php | 18 +- ...utionWorkflowsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...obsGetResponse200HydraSearchNormalizer.php | 18 +- ...wJobsGetResponse200HydraViewNormalizer.php | 18 +- ...IdWorkflowJobsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...epsGetResponse200HydraSearchNormalizer.php | 18 +- ...StepsGetResponse200HydraViewNormalizer.php | 18 +- ...lineJobIdStepsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...obsGetResponse200HydraSearchNormalizer.php | 18 +- ...eJobsGetResponse200HydraViewNormalizer.php | 18 +- ...onPipelineJobsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...epsGetResponse200HydraSearchNormalizer.php | 18 +- ...StepsGetResponse200HydraViewNormalizer.php | 18 +- ...dPipelineStepsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...obsGetResponse200HydraSearchNormalizer.php | 18 +- ...wJobsGetResponse200HydraViewNormalizer.php | 18 +- ...onWorkflowJobsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...timeExecutionsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...IdCompilationsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...besGetResponse200HydraSearchNormalizer.php | 18 +- ...robesGetResponse200HydraViewNormalizer.php | 18 +- ...neStepIdProbesGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...besGetResponse200HydraSearchNormalizer.php | 18 +- ...robesGetResponse200HydraViewNormalizer.php | 18 +- ...lineStepProbesGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...epsGetResponse200HydraSearchNormalizer.php | 18 +- ...StepsGetResponse200HydraViewNormalizer.php | 18 +- ...ePipelineStepsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...ionGetResponse200HydraSearchNormalizer.php | 18 +- ...ationGetResponse200HydraViewNormalizer.php | 18 +- ...nesCompilationGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...nesGetResponse200HydraSearchNormalizer.php | 18 +- ...linesGetResponse200HydraViewNormalizer.php | 18 +- ...ntimePipelinesGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...onsGetResponse200HydraSearchNormalizer.php | 18 +- ...tionsGetResponse200HydraViewNormalizer.php | 18 +- ...leIdExecutionsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...obsGetResponse200HydraSearchNormalizer.php | 18 +- ...wJobsGetResponse200HydraViewNormalizer.php | 18 +- ...IdWorkflowJobsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...lesGetResponse200HydraSearchNormalizer.php | 18 +- ...dulesGetResponse200HydraViewNormalizer.php | 18 +- ...ntimeSchedulesGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...obsGetResponse200HydraSearchNormalizer.php | 18 +- ...dJobsGetResponse200HydraViewNormalizer.php | 18 +- ...WorkflowIdJobsGetResponse200Normalizer.php | 18 +- ...0HydraSearchHydraMappingItemNormalizer.php | 18 +- ...owsGetResponse200HydraSearchNormalizer.php | 18 +- ...flowsGetResponse200HydraViewNormalizer.php | 18 +- ...ntimeWorkflowsGetResponse200Normalizer.php | 18 +- ...eImmediateCommandInputJsonldNormalizer.php | 18 +- ...cheduleImmediateCommandInputNormalizer.php | 18 +- ...heduleImmediateCommandJsonldNormalizer.php | 18 +- ...lineScheduleImmediateCommandNormalizer.php | 18 +- ...heduleOnceCommandInputJsonldNormalizer.php | 18 +- ...lineScheduleOnceCommandInputNormalizer.php | 18 +- ...ineScheduleOnceCommandJsonldNormalizer.php | 18 +- ...ePipelineScheduleOnceCommandNormalizer.php | 18 +- ...eduleTimesCommandInputJsonldNormalizer.php | 18 +- ...ineScheduleTimesCommandInputNormalizer.php | 18 +- ...neScheduleTimesCommandJsonldNormalizer.php | 18 +- ...PipelineScheduleTimesCommandNormalizer.php | 18 +- ...eduleUntilCommandInputJsonldNormalizer.php | 18 +- ...ineScheduleUntilCommandInputNormalizer.php | 18 +- ...neScheduleUntilCommandJsonldNormalizer.php | 18 +- ...PipelineScheduleUntilCommandNormalizer.php | 18 +- src/Normalizer/ScheduleIdJsonldNormalizer.php | 22 +- src/Normalizer/ScheduleJsonldNormalizer.php | 18 +- src/Normalizer/ScheduleNormalizer.php | 18 +- .../SecretInputJsonldNormalizer.php | 18 +- src/Normalizer/SecretInputNormalizer.php | 18 +- src/Normalizer/SecretJsonldNormalizer.php | 18 +- src/Normalizer/SecretNormalizer.php | 18 +- .../SecretSecretInputJsonldNormalizer.php | 18 +- .../SecretSecretInputNormalizer.php | 18 +- src/Normalizer/StepInputJsonldNormalizer.php | 18 +- src/Normalizer/StepInputNormalizer.php | 18 +- .../SubscriptionJsonldNormalizer.php | 18 +- src/Normalizer/SubscriptionNormalizer.php | 18 +- .../SubscriptionOptionJsonldNormalizer.php | 18 +- .../SubscriptionOptionNormalizer.php | 18 +- src/Normalizer/TokenNormalizer.php | 22 +- .../TraversableJsonldNormalizer.php | 22 +- src/Normalizer/UpdateListJsonldNormalizer.php | 18 +- src/Normalizer/UpdateListNormalizer.php | 18 +- .../UserAuthorizationJsonldNormalizer.php | 18 +- .../UserAuthorizationNormalizer.php | 18 +- src/Normalizer/UserIdJsonldNormalizer.php | 22 +- src/Normalizer/UserJsonldNormalizer.php | 18 +- src/Normalizer/UserNormalizer.php | 18 +- .../UserUserChangePasswordInputNormalizer.php | 18 +- .../VariableFromConfigMapJsonldNormalizer.php | 18 +- .../VariableFromConfigMapNormalizer.php | 18 +- .../VariableFromSecretJsonldNormalizer.php | 18 +- .../VariableFromSecretNormalizer.php | 18 +- src/Normalizer/VariableJsonldNormalizer.php | 18 +- src/Normalizer/VariableNormalizer.php | 18 +- .../WorkflowJobActionJsonldNormalizer.php | 18 +- .../WorkflowJobActionJsonldReadNormalizer.php | 18 +- .../WorkflowJobActionNormalizer.php | 18 +- .../WorkflowJobActionReadNormalizer.php | 18 +- .../WorkflowJobJsonldReadNormalizer.php | 18 +- .../WorkflowJobPipelineJsonldNormalizer.php | 18 +- ...orkflowJobPipelineJsonldReadNormalizer.php | 18 +- .../WorkflowJobPipelineNormalizer.php | 18 +- .../WorkflowJobPipelineReadNormalizer.php | 18 +- src/Normalizer/WorkflowJobReadNormalizer.php | 18 +- .../WorkflowJsonldReadNormalizer.php | 18 +- src/Normalizer/WorkflowReadNormalizer.php | 18 +- src/Normalizer/WorkspaceJsonldNormalizer.php | 18 +- src/Normalizer/WorkspaceNormalizer.php | 18 +- src/Runtime/Client/BaseEndpoint.php | 8 +- src/Runtime/Client/Client.php | 29 +- src/Runtime/Client/CustomQueryResolver.php | 2 + src/Runtime/Client/Endpoint.php | 4 + src/Runtime/Client/EndpointTrait.php | 13 +- src/Runtime/Normalizer/CheckArray.php | 6 +- .../Normalizer/ReferenceNormalizer.php | 4 +- 1248 files changed, 8886 insertions(+), 3761 deletions(-) diff --git a/composer.json b/composer.json index 26007c44..c8aa4f3a 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,8 @@ } }, "require-dev": { - "jane-php/open-api-3": "^7.2" + "jane-php/open-api-3": "^7.2", + "friendsofphp/php-cs-fixer": "^3.11" }, "config": { "bin-dir": "bin" diff --git a/composer.lock b/composer.lock index 96fcc7a9..de1d96c5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "497a468fe2ce88170ff78cbdb33b9292", + "content-hash": "cbf97bf335563a8121b13da8017b79c9", "packages": [ { "name": "clue/stream-filter", @@ -74,7 +74,7 @@ }, { "name": "jane-php/json-schema-runtime", - "version": "v7.2.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/janephp/json-schema-runtime.git", @@ -130,13 +130,13 @@ ], "description": "Jane runtime Library", "support": { - "source": "https://github.com/janephp/json-schema-runtime/tree/v7.2.0" + "source": "https://github.com/janephp/json-schema-runtime/tree/v7.3.1" }, "time": "2021-12-16T13:26:58+00:00" }, { "name": "jane-php/open-api-runtime", - "version": "v7.2.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/janephp/open-api-runtime.git", @@ -193,40 +193,44 @@ ], "description": "Jane OpenAPI Runtime Library, dependencies and utility class for a library generated by jane/openapi", "support": { - "source": "https://github.com/janephp/open-api-runtime/tree/v7.2.0" + "source": "https://github.com/janephp/open-api-runtime/tree/v7.3.1" }, "time": "2021-12-16T13:26:58+00:00" }, { "name": "league/uri", - "version": "6.5.0", + "version": "6.8.0", "source": { "type": "git", "url": "https://github.com/thephpleague/uri.git", - "reference": "c68ca445abb04817d740ddd6d0b3551826ef0c5a" + "reference": "a700b4656e4c54371b799ac61e300ab25a2d1d39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri/zipball/c68ca445abb04817d740ddd6d0b3551826ef0c5a", - "reference": "c68ca445abb04817d740ddd6d0b3551826ef0c5a", + "url": "https://api.github.com/repos/thephpleague/uri/zipball/a700b4656e4c54371b799ac61e300ab25a2d1d39", + "reference": "a700b4656e4c54371b799ac61e300ab25a2d1d39", "shasum": "" }, "require": { "ext-json": "*", "league/uri-interfaces": "^2.3", - "php": "^7.3 || ^8.0", - "psr/http-message": "^1.0" + "php": "^8.1", + "psr/http-message": "^1.0.1" }, "conflict": { "league/uri-schemes": "^1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.19 || ^3.0", - "phpstan/phpstan": "^0.12.90", - "phpstan/phpstan-phpunit": "^0.12.22", - "phpstan/phpstan-strict-rules": "^0.12.11", - "phpunit/phpunit": "^8.0 || ^9.0", - "psr/http-factory": "^1.0" + "friendsofphp/php-cs-fixer": "^v3.9.5", + "nyholm/psr7": "^1.5.1", + "php-http/psr7-integration-tests": "^1.1.1", + "phpbench/phpbench": "^1.2.6", + "phpstan/phpstan": "^1.8.5", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.1.1", + "phpstan/phpstan-strict-rules": "^1.4.3", + "phpunit/phpunit": "^9.5.24", + "psr/http-factory": "^1.0.1" }, "suggest": { "ext-fileinfo": "Needed to create Data URI from a filepath", @@ -257,7 +261,7 @@ } ], "description": "URI manipulation library", - "homepage": "http://uri.thephpleague.com", + "homepage": "https://uri.thephpleague.com", "keywords": [ "data-uri", "file-uri", @@ -283,7 +287,7 @@ "docs": "https://uri.thephpleague.com", "forum": "https://thephpleague.slack.com", "issues": "https://github.com/thephpleague/uri/issues", - "source": "https://github.com/thephpleague/uri/tree/6.5.0" + "source": "https://github.com/thephpleague/uri/tree/6.8.0" }, "funding": [ { @@ -291,7 +295,7 @@ "type": "github" } ], - "time": "2021-08-27T09:54:07+00:00" + "time": "2022-09-13T19:58:47+00:00" }, { "name": "league/uri-interfaces", @@ -366,16 +370,16 @@ }, { "name": "php-http/client-common", - "version": "2.5.0", + "version": "2.6.0", "source": { "type": "git", "url": "https://github.com/php-http/client-common.git", - "reference": "d135751167d57e27c74de674d6a30cef2dc8e054" + "reference": "45db684cd4e186dcdc2b9c06b22970fe123796c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/client-common/zipball/d135751167d57e27c74de674d6a30cef2dc8e054", - "reference": "d135751167d57e27c74de674d6a30cef2dc8e054", + "url": "https://api.github.com/repos/php-http/client-common/zipball/45db684cd4e186dcdc2b9c06b22970fe123796c0", + "reference": "45db684cd4e186dcdc2b9c06b22970fe123796c0", "shasum": "" }, "require": { @@ -435,22 +439,22 @@ ], "support": { "issues": "https://github.com/php-http/client-common/issues", - "source": "https://github.com/php-http/client-common/tree/2.5.0" + "source": "https://github.com/php-http/client-common/tree/2.6.0" }, - "time": "2021-11-26T15:01:24+00:00" + "time": "2022-09-29T09:59:43+00:00" }, { "name": "php-http/discovery", - "version": "1.14.1", + "version": "1.14.3", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "de90ab2b41d7d61609f504e031339776bc8c7223" + "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/de90ab2b41d7d61609f504e031339776bc8c7223", - "reference": "de90ab2b41d7d61609f504e031339776bc8c7223", + "url": "https://api.github.com/repos/php-http/discovery/zipball/31d8ee46d0215108df16a8527c7438e96a4d7735", + "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735", "shasum": "" }, "require": { @@ -463,8 +467,7 @@ "graham-campbell/phpspec-skip-example-extension": "^5.0", "php-http/httplug": "^1.0 || ^2.0", "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1", - "puli/composer-plugin": "1.0.0-beta10" + "phpspec/phpspec": "^5.1 || ^6.1" }, "suggest": { "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories" @@ -503,9 +506,9 @@ ], "support": { "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.14.1" + "source": "https://github.com/php-http/discovery/tree/1.14.3" }, - "time": "2021-09-18T07:57:46+00:00" + "time": "2022-07-11T14:04:40+00:00" }, { "name": "php-http/httplug", @@ -1034,25 +1037,25 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.0.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced" + "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", - "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", + "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -1081,7 +1084,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.1" }, "funding": [ { @@ -1097,24 +1100,24 @@ "type": "tidelift" } ], - "time": "2021-11-01T23:48:49+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.0.3", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d" + "reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/51f7006670febe4cbcbae177cbffe93ff833250d", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a3016f5442e28386ded73c43a32a5b68586dd1c4", + "reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/deprecation-contracts": "^2.1|^3" }, "type": "library", @@ -1148,7 +1151,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.0.3" + "source": "https://github.com/symfony/options-resolver/tree/v6.1.0" }, "funding": [ { @@ -1164,20 +1167,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", "shasum": "" }, "require": { @@ -1192,7 +1195,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1230,7 +1233,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" }, "funding": [ { @@ -1246,20 +1249,20 @@ "type": "tidelift" } ], - "time": "2021-10-20T20:35:02+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9" + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/57b712b08eddb97c762a8caa32c84e037892d2e9", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", "shasum": "" }, "require": { @@ -1268,7 +1271,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1313,7 +1316,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" }, "funding": [ { @@ -1329,24 +1332,24 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:33+00:00" + "time": "2022-05-10T07:21:04+00:00" }, { "name": "symfony/serializer", - "version": "v6.0.5", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "c26ce23c36879d243909bb604585bd81351df416" + "reference": "0986800f0c394bd46443afbf0a05c4386ffa1cd6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/c26ce23c36879d243909bb604585bd81351df416", - "reference": "c26ce23c36879d243909bb604585bd81351df416", + "url": "https://api.github.com/repos/symfony/serializer/zipball/0986800f0c394bd46443afbf0a05c4386ffa1cd6", + "reference": "0986800f0c394bd46443afbf0a05c4386ffa1cd6", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8" }, "conflict": { @@ -1414,7 +1417,7 @@ "description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/serializer/tree/v6.0.5" + "source": "https://github.com/symfony/serializer/tree/v6.1.5" }, "funding": [ { @@ -1430,24 +1433,24 @@ "type": "tidelift" } ], - "time": "2022-02-24T10:01:27+00:00" + "time": "2022-09-29T11:04:32+00:00" }, { "name": "symfony/yaml", - "version": "v6.0.3", + "version": "v6.1.4", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "e77f3ea0b21141d771d4a5655faa54f692b34af5" + "reference": "86ee4d8fa594ed45e40d86eedfda1bcb66c8d919" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e77f3ea0b21141d771d4a5655faa54f692b34af5", - "reference": "e77f3ea0b21141d771d4a5655faa54f692b34af5", + "url": "https://api.github.com/repos/symfony/yaml/zipball/86ee4d8fa594ed45e40d86eedfda1bcb66c8d919", + "reference": "86ee4d8fa594ed45e40d86eedfda1bcb66c8d919", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "^1.8" }, "conflict": { @@ -1488,7 +1491,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.0.3" + "source": "https://github.com/symfony/yaml/tree/v6.1.4" }, "funding": [ { @@ -1504,39 +1507,41 @@ "type": "tidelift" } ], - "time": "2022-01-26T17:23:29+00:00" + "time": "2022-08-02T16:17:38+00:00" } ], "packages-dev": [ { - "name": "doctrine/inflector", - "version": "2.0.4", + "name": "composer/pcre", + "version": "3.0.0", "source": { "type": "git", - "url": "https://github.com/doctrine/inflector.git", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" + "url": "https://github.com/composer/pcre.git", + "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "url": "https://api.github.com/repos/composer/pcre/zipball/e300eb6c535192decd27a85bc72a9290f0d6b3bd", + "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "vimeo/psalm": "^4.10" + "phpstan/phpstan": "^1.3", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^5" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, "autoload": { "psr-4": { - "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + "Composer\\Pcre\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1545,115 +1550,69 @@ ], "authors": [ { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", - "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", "keywords": [ - "inflection", - "inflector", - "lowercase", - "manipulation", - "php", - "plural", - "singular", - "strings", - "uppercase", - "words" + "PCRE", + "preg", + "regex", + "regular expression" ], "support": { - "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.4" + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.0.0" }, "funding": [ { - "url": "https://www.doctrine-project.org/sponsorship.html", + "url": "https://packagist.com", "type": "custom" }, { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" + "url": "https://github.com/composer", + "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "url": "https://tidelift.com/funding/github/packagist/composer/composer", "type": "tidelift" } ], - "time": "2021-10-22T20:16:43+00:00" + "time": "2022-02-25T20:21:48+00:00" }, { - "name": "jane-php/json-schema", - "version": "v7.2.0", + "name": "composer/semver", + "version": "3.3.2", "source": { "type": "git", - "url": "https://github.com/janephp/json-schema.git", - "reference": "3d07477bce5aa8fbc5f8ba95f071a50de0d33f20" + "url": "https://github.com/composer/semver.git", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/json-schema/zipball/3d07477bce5aa8fbc5f8ba95f071a50de0d33f20", - "reference": "3d07477bce5aa8fbc5f8ba95f071a50de0d33f20", + "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", "shasum": "" }, "require": { - "doctrine/inflector": "^1.4 || ^2.0", - "ext-json": "*", - "jane-php/json-schema-runtime": "^7.0", - "nikic/php-parser": "^4.0", - "php": "^7.2 || ^8.0", - "symfony/console": "^4.4 || ^5.0 || ^6.0", - "symfony/filesystem": "^4.4 || ^5.0 || ^6.0", - "symfony/options-resolver": "^4.4 || ^5.0 || ^6.0", - "symfony/serializer": "^4.4 || ^5.0 || ^6.0", - "symfony/validator": "^4.4 || ^5.0 || ^6.0", - "symfony/var-dumper": "^4.4 || ^5.0 || ^6.0", - "symfony/yaml": "~4.4.9 || ^5.0 || ^6.0" - }, - "conflict": { - "nikic/php-parser": "<4.0.4", - "symfony/framework-bundle": "5.1.0" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^8.0", - "symfony/finder": "^4.4 || ^5.0 || ^6.0" - }, - "suggest": { - "friendsofphp/php-cs-fixer": "Allow to automatically fix cs on generated code for better visualisation" + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" }, - "bin": [ - "bin/jane" - ], "type": "library", "extra": { "branch-alias": { - "dev-next": "7-dev" + "dev-main": "3.x-dev" } }, "autoload": { "psr-4": { - "Jane\\Component\\JsonSchema\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "Composer\\Semver\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1661,69 +1620,78 @@ ], "authors": [ { - "name": "Joel Wurtz", - "email": "jwurtz@jolicode.com" + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" }, { - "name": "Baptiste Leduc", - "email": "baptiste.leduc@gmail.com" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com", + "homepage": "http://robbast.nl" } ], - "description": "Generate a serializable / deserializable object model given a json schema", + "description": "Semver library that offers utilities, version constraint parsing and validation.", + "keywords": [ + "semantic", + "semver", + "validation", + "versioning" + ], "support": { - "source": "https://github.com/janephp/json-schema/tree/v7.2.0" + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.3.2" }, - "time": "2022-02-15T17:29:08+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-04-01T19:23:25+00:00" }, { - "name": "jane-php/open-api-3", - "version": "v7.2.0", + "name": "composer/xdebug-handler", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/janephp/open-api-3.git", - "reference": "2302a2054bb1ab3fce6ca84c022a63b324e49172" + "url": "https://github.com/composer/xdebug-handler.git", + "reference": "ced299686f41dce890debac69273b47ffe98a40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/open-api-3/zipball/2302a2054bb1ab3fce6ca84c022a63b324e49172", - "reference": "2302a2054bb1ab3fce6ca84c022a63b324e49172", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, "require": { - "ext-json": "*", - "jane-php/json-schema": "^7.0", - "jane-php/open-api-common": "^7.0", - "nikic/php-parser": "^4.0", - "php": "^7.2 || ^8.0", - "symfony/serializer": "^4.4 || ^5.0 || ^6.0", - "symfony/yaml": "~4.4.9 || ^5.0 || ^6.0" - }, - "conflict": { - "nikic/php-parser": "<4.0.4", - "symfony/framework-bundle": "5.1.0" + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "kriswallsmith/buzz": "^1.1", - "nyholm/psr7": "^1.3", - "phpunit/phpunit": "^8.0", - "symfony/finder": "^4.4 || ^5.0 || ^6.0" - }, - "suggest": { - "friendsofphp/php-cs-fixer": "To have a nice formatting of the generated files" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-next": "7-dev" - } - }, "autoload": { "psr-4": { - "Jane\\Component\\OpenApi3\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "Composer\\XdebugHandler\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1731,66 +1699,68 @@ ], "authors": [ { - "name": "Joel Wurtz", - "email": "jwurtz@jolicode.com" - }, - { - "name": "Baptiste Leduc", - "email": "baptiste.leduc@gmail.com" + "name": "John Stevenson", + "email": "john-stevenson@blueyonder.co.uk" } ], - "description": "Generate a PHP Client API (PSR7/PSR18 compatible) given a OpenApi 3.x specification", + "description": "Restarts a process without Xdebug.", "keywords": [ - "jane", - "openapi", - "swagger" + "Xdebug", + "performance" ], "support": { - "source": "https://github.com/janephp/open-api-3/tree/v7.2.0" + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/xdebug-handler/issues", + "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" }, - "time": "2022-02-15T17:29:06+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-02-25T21:32:43+00:00" }, { - "name": "jane-php/open-api-common", - "version": "v7.2.0", + "name": "doctrine/annotations", + "version": "1.13.3", "source": { "type": "git", - "url": "https://github.com/janephp/open-api-common.git", - "reference": "83ddf3b41c2f2e6fd9003da039d3ed53f3351b2a" + "url": "https://github.com/doctrine/annotations.git", + "reference": "648b0343343565c4a056bfc8392201385e8d89f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/open-api-common/zipball/83ddf3b41c2f2e6fd9003da039d3ed53f3351b2a", - "reference": "83ddf3b41c2f2e6fd9003da039d3ed53f3351b2a", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/648b0343343565c4a056bfc8392201385e8d89f0", + "reference": "648b0343343565c4a056bfc8392201385e8d89f0", "shasum": "" }, "require": { - "ext-json": "*", - "jane-php/json-schema": "^7.0", - "jane-php/open-api-runtime": "^7.0", - "php": "^7.2 || ^8.0", - "symfony/console": "^4.4 || ^5.0 || ^6.0", - "symfony/filesystem": "^4.4 || ^5.0 || ^6.0", - "symfony/string": "^5.0 || ^6.0", - "symfony/translation-contracts": "^2.0", - "symfony/var-dumper": "^4.4 || ^5.0 || ^6.0" + "doctrine/lexer": "1.*", + "ext-tokenizer": "*", + "php": "^7.1 || ^8.0", + "psr/cache": "^1 || ^2 || ^3" }, - "suggest": { - "jane-php/open-api-2": "Allow to generate OpenApi v2 clients", - "jane-php/open-api-3": "Allow to generate OpenApi v3 clients" + "require-dev": { + "doctrine/cache": "^1.11 || ^2.0", + "doctrine/coding-standard": "^6.0 || ^8.1", + "phpstan/phpstan": "^1.4.10 || ^1.8.0", + "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5", + "symfony/cache": "^4.4 || ^5.2", + "vimeo/psalm": "^4.10" }, - "bin": [ - "bin/jane-openapi" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-next": "7-dev" - } - }, "autoload": { "psr-4": { - "Jane\\Component\\OpenApiCommon\\": "" + "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" } }, "notification-url": "https://packagist.org/downloads/", @@ -1799,108 +1769,1051 @@ ], "authors": [ { - "name": "Joel Wurtz", - "email": "jwurtz@jolicode.com" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" }, { - "name": "Baptiste Leduc", - "email": "baptiste.leduc@gmail.com" + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "Utility for OpenApi 2/3 generators", + "description": "Docblock Annotations Parser", + "homepage": "https://www.doctrine-project.org/projects/annotations.html", "keywords": [ - "jane", - "openapi", - "swagger", - "utility" + "annotations", + "docblock", + "parser" ], "support": { - "source": "https://github.com/janephp/open-api-common/tree/v7.2.0" + "issues": "https://github.com/doctrine/annotations/issues", + "source": "https://github.com/doctrine/annotations/tree/1.13.3" }, - "time": "2022-02-15T17:29:06+00:00" + "time": "2022-07-02T10:48:51+00:00" }, { - "name": "nikic/php-parser", - "version": "v4.13.2", + "name": "doctrine/inflector", + "version": "2.0.5", "source": { "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077" + "url": "https://github.com/doctrine/inflector.git", + "reference": "ade2b3bbfb776f27f0558e26eed43b5d9fe1b392" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/ade2b3bbfb776f27f0558e26eed43b5d9fe1b392", + "reference": "ade2b3bbfb776f27f0558e26eed43b5d9fe1b392", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": ">=7.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25" }, - "bin": [ - "bin/php-parse" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.9-dev" - } - }, "autoload": { "psr-4": { - "PhpParser\\": "lib/PhpParser" + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Nikita Popov" + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "A PHP parser written in PHP", + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", "keywords": [ - "parser", - "php" - ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2" - }, - "time": "2021-11-30T19:35:32+00:00" - }, - { - "name": "psr/container", - "version": "2.0.2", - "source": { + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.5" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2022-09-07T09:01:28+00:00" + }, + { + "name": "doctrine/lexer", + "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9.0", + "phpstan/phpstan": "^1.3", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.11" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/1.2.3" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2022-02-28T11:07:21+00:00" + }, + { + "name": "friendsofphp/php-cs-fixer", + "version": "v3.11.0", + "source": { + "type": "git", + "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", + "reference": "7dcdea3f2f5f473464e835be9be55283ff8cfdc3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/7dcdea3f2f5f473464e835be9be55283ff8cfdc3", + "reference": "7dcdea3f2f5f473464e835be9be55283ff8cfdc3", + "shasum": "" + }, + "require": { + "composer/semver": "^3.2", + "composer/xdebug-handler": "^3.0.3", + "doctrine/annotations": "^1.13", + "ext-json": "*", + "ext-tokenizer": "*", + "php": "^7.4 || ^8.0", + "sebastian/diff": "^4.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/event-dispatcher": "^5.4 || ^6.0", + "symfony/filesystem": "^5.4 || ^6.0", + "symfony/finder": "^5.4 || ^6.0", + "symfony/options-resolver": "^5.4 || ^6.0", + "symfony/polyfill-mbstring": "^1.23", + "symfony/polyfill-php80": "^1.25", + "symfony/polyfill-php81": "^1.25", + "symfony/process": "^5.4 || ^6.0", + "symfony/stopwatch": "^5.4 || ^6.0" + }, + "require-dev": { + "justinrainbow/json-schema": "^5.2", + "keradus/cli-executor": "^1.5", + "mikey179/vfsstream": "^1.6.10", + "php-coveralls/php-coveralls": "^2.5.2", + "php-cs-fixer/accessible-object": "^1.1", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", + "phpspec/prophecy": "^1.15", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "phpunitgoodpractices/polyfill": "^1.5", + "phpunitgoodpractices/traits": "^1.9.1", + "symfony/phpunit-bridge": "^6.0", + "symfony/yaml": "^5.4 || ^6.0" + }, + "suggest": { + "ext-dom": "For handling output formats in XML", + "ext-mbstring": "For handling non-UTF8 characters." + }, + "bin": [ + "php-cs-fixer" + ], + "type": "application", + "autoload": { + "psr-4": { + "PhpCsFixer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Dariusz Rumiński", + "email": "dariusz.ruminski@gmail.com" + } + ], + "description": "A tool to automatically fix PHP code style", + "support": { + "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.11.0" + }, + "funding": [ + { + "url": "https://github.com/keradus", + "type": "github" + } + ], + "time": "2022-09-01T18:24:51+00:00" + }, + { + "name": "jane-php/json-schema", + "version": "v7.3.1", + "source": { + "type": "git", + "url": "https://github.com/janephp/json-schema.git", + "reference": "25d4c2c4f62717cb3ec5d246864b4843648406d6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/janephp/json-schema/zipball/25d4c2c4f62717cb3ec5d246864b4843648406d6", + "reference": "25d4c2c4f62717cb3ec5d246864b4843648406d6", + "shasum": "" + }, + "require": { + "doctrine/inflector": "^1.4 || ^2.0", + "ext-json": "*", + "jane-php/json-schema-runtime": "^7.0", + "nikic/php-parser": "^4.0", + "php": "^7.2 || ^8.0", + "symfony/console": "^4.4 || ^5.0 || ^6.0", + "symfony/filesystem": "^4.4 || ^5.0 || ^6.0", + "symfony/options-resolver": "^4.4 || ^5.0 || ^6.0", + "symfony/serializer": "^4.4 || ^5.0 || ^6.0", + "symfony/validator": "^5.0 || ^6.0", + "symfony/var-dumper": "^4.4 || ^5.0 || ^6.0", + "symfony/yaml": "~4.4.9 || ^5.0 || ^6.0" + }, + "conflict": { + "nikic/php-parser": "<4.0.4", + "symfony/framework-bundle": "5.1.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.0", + "symfony/finder": "^4.4 || ^5.0 || ^6.0" + }, + "suggest": { + "friendsofphp/php-cs-fixer": "Allow to automatically fix cs on generated code for better visualisation" + }, + "bin": [ + "bin/jane" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-next": "7-dev" + } + }, + "autoload": { + "psr-4": { + "Jane\\Component\\JsonSchema\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joel Wurtz", + "email": "jwurtz@jolicode.com" + }, + { + "name": "Baptiste Leduc", + "email": "baptiste.leduc@gmail.com" + } + ], + "description": "Generate a serializable / deserializable object model given a json schema", + "support": { + "source": "https://github.com/janephp/json-schema/tree/v7.3.1" + }, + "time": "2022-08-22T10:52:58+00:00" + }, + { + "name": "jane-php/open-api-3", + "version": "v7.3.1", + "source": { + "type": "git", + "url": "https://github.com/janephp/open-api-3.git", + "reference": "536e0108c4e460848ff28679cc66eabd66cbf8ff" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/janephp/open-api-3/zipball/536e0108c4e460848ff28679cc66eabd66cbf8ff", + "reference": "536e0108c4e460848ff28679cc66eabd66cbf8ff", + "shasum": "" + }, + "require": { + "ext-json": "*", + "jane-php/json-schema": "^7.0", + "jane-php/open-api-common": "^7.0", + "nikic/php-parser": "^4.0", + "php": "^7.2 || ^8.0", + "symfony/serializer": "^4.4 || ^5.0 || ^6.0", + "symfony/yaml": "~4.4.9 || ^5.0 || ^6.0" + }, + "conflict": { + "nikic/php-parser": "<4.0.4", + "symfony/framework-bundle": "5.1.0" + }, + "require-dev": { + "kriswallsmith/buzz": "^1.1", + "nyholm/psr7": "^1.3", + "phpunit/phpunit": "^8.0", + "symfony/finder": "^4.4 || ^5.0 || ^6.0" + }, + "suggest": { + "friendsofphp/php-cs-fixer": "To have a nice formatting of the generated files" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-next": "7-dev" + } + }, + "autoload": { + "psr-4": { + "Jane\\Component\\OpenApi3\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joel Wurtz", + "email": "jwurtz@jolicode.com" + }, + { + "name": "Baptiste Leduc", + "email": "baptiste.leduc@gmail.com" + } + ], + "description": "Generate a PHP Client API (PSR7/PSR18 compatible) given a OpenApi 3.x specification", + "keywords": [ + "jane", + "openapi", + "swagger" + ], + "support": { + "source": "https://github.com/janephp/open-api-3/tree/v7.3.1" + }, + "time": "2022-08-22T11:10:42+00:00" + }, + { + "name": "jane-php/open-api-common", + "version": "v7.3.1", + "source": { + "type": "git", + "url": "https://github.com/janephp/open-api-common.git", + "reference": "d14eb632a64241eda73075badd2f9871e43c15cc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/janephp/open-api-common/zipball/d14eb632a64241eda73075badd2f9871e43c15cc", + "reference": "d14eb632a64241eda73075badd2f9871e43c15cc", + "shasum": "" + }, + "require": { + "ext-json": "*", + "jane-php/json-schema": "^7.0", + "jane-php/open-api-runtime": "^7.0", + "php": "^7.2 || ^8.0", + "symfony/console": "^4.4 || ^5.0 || ^6.0", + "symfony/filesystem": "^4.4 || ^5.0 || ^6.0", + "symfony/string": "^5.0 || ^6.0", + "symfony/var-dumper": "^4.4 || ^5.0 || ^6.0" + }, + "suggest": { + "jane-php/open-api-2": "Allow to generate OpenApi v2 clients", + "jane-php/open-api-3": "Allow to generate OpenApi v3 clients" + }, + "bin": [ + "bin/jane-openapi" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-next": "7-dev" + } + }, + "autoload": { + "psr-4": { + "Jane\\Component\\OpenApiCommon\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joel Wurtz", + "email": "jwurtz@jolicode.com" + }, + { + "name": "Baptiste Leduc", + "email": "baptiste.leduc@gmail.com" + } + ], + "description": "Utility for OpenApi 2/3 generators", + "keywords": [ + "jane", + "openapi", + "swagger", + "utility" + ], + "support": { + "source": "https://github.com/janephp/open-api-common/tree/v7.3.1" + }, + "time": "2022-07-15T14:14:20+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.15.1", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", + "reference": "0ef6c55a3f47f89d7a374e6f835197a0b5fcf900", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.1" + }, + "time": "2022-09-04T07:30:47+00:00" + }, + { + "name": "psr/cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "support": { + "source": "https://github.com/php-fig/cache/tree/3.0.0" + }, + "time": "2021-02-03T23:26:27+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/log", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.0" + }, + "time": "2021-07-14T16:46:02+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:10:38+00:00" + }, + { + "name": "symfony/console", + "version": "v6.1.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "17524a64ebcfab68d237bbed247e9a9917747096" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/17524a64ebcfab68d237bbed247e9a9917747096", + "reference": "17524a64ebcfab68d237bbed247e9a9917747096", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.4|^6.0" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v6.1.5" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-09-03T14:24:42+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v6.1.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "a0449a7ad7daa0f7c0acd508259f80544ab5a347" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a0449a7ad7daa0f7c0acd508259f80544ab5a347", + "reference": "a0449a7ad7daa0f7c0acd508259f80544ab5a347", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/event-dispatcher-contracts": "^2|^3" + }, + "conflict": { + "symfony/dependency-injection": "<5.4" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/error-handler": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/stopwatch": "^5.4|^6.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v6.1.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-05T16:51:07+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v3.1.1", + "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "02ff5eea2f453731cfbc6bc215e456b781480448" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/02ff5eea2f453731cfbc6bc215e456b781480448", + "reference": "02ff5eea2f453731cfbc6bc215e456b781480448", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": ">=8.1", + "psr/event-dispatcher": "^1" + }, + "suggest": { + "symfony/event-dispatcher-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-main": "3.1-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { "psr-4": { - "Psr\\Container\\": "src/" + "Symfony\\Contracts\\EventDispatcher\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -1909,74 +2822,66 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" ], "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.1.1" }, - "time": "2021-11-05T16:47:00+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-02-25T11:15:52+00:00" }, { - "name": "symfony/console", - "version": "v6.0.5", + "name": "symfony/filesystem", + "version": "v6.1.5", "source": { "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "3bebf4108b9e07492a2a4057d207aa5a77d146b1" + "url": "https://github.com/symfony/filesystem.git", + "reference": "4d216a2beef096edf040a070117c39ca2abce307" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/3bebf4108b9e07492a2a4057d207aa5a77d146b1", - "reference": "3bebf4108b9e07492a2a4057d207aa5a77d146b1", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/4d216a2beef096edf040a070117c39ca2abce307", + "reference": "4d216a2beef096edf040a070117c39ca2abce307", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.4|^6.0" - }, - "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" - }, - "provide": { - "psr/log-implementation": "1.0|2.0|3.0" - }, - "require-dev": { - "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.8" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Console\\": "" + "Symfony\\Component\\Filesystem\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -1996,16 +2901,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Eases the creation of beautiful and testable command line interfaces", + "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", - "keywords": [ - "cli", - "command line", - "console", - "terminal" - ], "support": { - "source": "https://github.com/symfony/console/tree/v6.0.5" + "source": "https://github.com/symfony/filesystem/tree/v6.1.5" }, "funding": [ { @@ -2021,31 +2920,32 @@ "type": "tidelift" } ], - "time": "2022-02-25T10:48:52+00:00" + "time": "2022-09-21T20:29:40+00:00" }, { - "name": "symfony/filesystem", - "version": "v6.0.5", + "name": "symfony/finder", + "version": "v6.1.3", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "6646c13f787057d64701a3a0235cf9567c6ccbbd" + "url": "https://github.com/symfony/finder.git", + "reference": "39696bff2c2970b3779a5cac7bf9f0b88fc2b709" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/6646c13f787057d64701a3a0235cf9567c6ccbbd", - "reference": "6646c13f787057d64701a3a0235cf9567c6ccbbd", + "url": "https://api.github.com/repos/symfony/finder/zipball/39696bff2c2970b3779a5cac7bf9f0b88fc2b709", + "reference": "39696bff2c2970b3779a5cac7bf9f0b88fc2b709", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8" + "php": ">=8.1" + }, + "require-dev": { + "symfony/filesystem": "^6.0" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Filesystem\\": "" + "Symfony\\Component\\Finder\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -2065,10 +2965,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Provides basic utilities for the filesystem", + "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.0.5" + "source": "https://github.com/symfony/finder/tree/v6.1.3" }, "funding": [ { @@ -2084,20 +2984,20 @@ "type": "tidelift" } ], - "time": "2022-02-28T07:42:30+00:00" + "time": "2022-07-29T07:42:06+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783" + "reference": "433d05519ce6990bf3530fba6957499d327395c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", + "reference": "433d05519ce6990bf3530fba6957499d327395c2", "shasum": "" }, "require": { @@ -2109,7 +3009,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2149,7 +3049,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" }, "funding": [ { @@ -2165,20 +3065,20 @@ "type": "tidelift" } ], - "time": "2021-11-23T21:10:46+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" + "reference": "219aa369ceff116e673852dce47c3a41794c14bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", + "reference": "219aa369ceff116e673852dce47c3a41794c14bd", "shasum": "" }, "require": { @@ -2190,7 +3090,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2233,7 +3133,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" }, "funding": [ { @@ -2249,20 +3149,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", "shasum": "" }, "require": { @@ -2277,7 +3177,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2316,7 +3216,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" }, "funding": [ { @@ -2332,20 +3232,20 @@ "type": "tidelift" } ], - "time": "2021-11-30T18:21:41+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.24.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f" + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1", "shasum": "" }, "require": { @@ -2354,7 +3254,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2395,7 +3295,68 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, + { + "name": "symfony/process", + "version": "v6.1.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "a6506e99cfad7059b1ab5cab395854a0a0c21292" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/a6506e99cfad7059b1ab5cab395854a0a0c21292", + "reference": "a6506e99cfad7059b1ab5cab395854a0a0c21292", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v6.1.3" }, "funding": [ { @@ -2411,24 +3372,24 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:11+00:00" + "time": "2022-06-27T17:24:16+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.0.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "36715ebf9fb9db73db0cb24263c79077c6fe8603" + "reference": "925e713fe8fcacf6bc05e936edd8dd5441a21239" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/36715ebf9fb9db73db0cb24263c79077c6fe8603", - "reference": "36715ebf9fb9db73db0cb24263c79077c6fe8603", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/925e713fe8fcacf6bc05e936edd8dd5441a21239", + "reference": "925e713fe8fcacf6bc05e936edd8dd5441a21239", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/container": "^2.0" }, "conflict": { @@ -2440,7 +3401,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -2450,7 +3411,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2477,7 +3441,69 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.0.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-30T19:18:58+00:00" + }, + { + "name": "symfony/stopwatch", + "version": "v6.1.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/stopwatch.git", + "reference": "266636bb8f3fbdccc302491df7b3a1b9a8c238a7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/266636bb8f3fbdccc302491df7b3a1b9a8c238a7", + "reference": "266636bb8f3fbdccc302491df7b3a1b9a8c238a7", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/service-contracts": "^1|^2|^3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Stopwatch\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a way to profile code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/stopwatch/tree/v6.1.5" }, "funding": [ { @@ -2493,24 +3519,24 @@ "type": "tidelift" } ], - "time": "2021-11-04T17:53:12+00:00" + "time": "2022-09-28T16:00:52+00:00" }, { "name": "symfony/string", - "version": "v6.0.3", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "522144f0c4c004c80d56fa47e40e17028e2eefc2" + "reference": "17c08b068176996a1d7db8d00ffae3c248267016" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/522144f0c4c004c80d56fa47e40e17028e2eefc2", - "reference": "522144f0c4c004c80d56fa47e40e17028e2eefc2", + "url": "https://api.github.com/repos/symfony/string/zipball/17c08b068176996a1d7db8d00ffae3c248267016", + "reference": "17c08b068176996a1d7db8d00ffae3c248267016", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", @@ -2562,7 +3588,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.0.3" + "source": "https://github.com/symfony/string/tree/v6.1.5" }, "funding": [ { @@ -2578,24 +3604,24 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-09-02T08:05:20+00:00" }, { "name": "symfony/translation-contracts", - "version": "v2.5.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e" + "reference": "606be0f48e05116baef052f7f3abdb345c8e02cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/d28150f0f44ce854e942b671fc2620a98aae1b1e", - "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/606be0f48e05116baef052f7f3abdb345c8e02cc", + "reference": "606be0f48e05116baef052f7f3abdb345c8e02cc", "shasum": "" }, "require": { - "php": ">=7.2.5" + "php": ">=8.1" }, "suggest": { "symfony/translation-implementation": "" @@ -2603,7 +3629,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -2613,7 +3639,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Translation\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2640,7 +3669,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/translation-contracts/tree/v3.1.1" }, "funding": [ { @@ -2656,27 +3685,27 @@ "type": "tidelift" } ], - "time": "2021-08-17T14:20:01+00:00" + "time": "2022-06-27T17:24:16+00:00" }, { "name": "symfony/validator", - "version": "v6.0.5", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "11520c1ee42b6e7050afe7a08da6612efcae6e34" + "reference": "7d7724f550e0f657a591831a7c31e25678ff8779" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/11520c1ee42b6e7050afe7a08da6612efcae6e34", - "reference": "11520c1ee42b6e7050afe7a08da6612efcae6e34", + "url": "https://api.github.com/repos/symfony/validator/zipball/7d7724f550e0f657a591831a7c31e25678ff8779", + "reference": "7d7724f550e0f657a591831a7c31e25678ff8779", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php81": "^1.22", "symfony/translation-contracts": "^1.1|^2|^3" }, "conflict": { @@ -2748,7 +3777,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v6.0.5" + "source": "https://github.com/symfony/validator/tree/v6.1.5" }, "funding": [ { @@ -2764,24 +3793,24 @@ "type": "tidelift" } ], - "time": "2022-02-25T10:48:52+00:00" + "time": "2022-09-17T07:55:45+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.0.5", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "60d6a756d5f485df5e6e40b337334848f79f61ce" + "reference": "d0833493fb2413a86f522fb54a1896a7718e98ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/60d6a756d5f485df5e6e40b337334848f79f61ce", - "reference": "60d6a756d5f485df5e6e40b337334848f79f61ce", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d0833493fb2413a86f522fb54a1896a7718e98ec", + "reference": "d0833493fb2413a86f522fb54a1896a7718e98ec", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { @@ -2836,7 +3865,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.0.5" + "source": "https://github.com/symfony/var-dumper/tree/v6.1.5" }, "funding": [ { @@ -2852,7 +3881,7 @@ "type": "tidelift" } ], - "time": "2022-02-21T17:15:17+00:00" + "time": "2022-09-08T09:34:40+00:00" } ], "aliases": [], @@ -2864,5 +3893,5 @@ "php": "^8.0" }, "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.3.0" } diff --git a/src/Authentication/ApiKeyAuthentication.php b/src/Authentication/ApiKeyAuthentication.php index 12c4c5fe..b58a1cd9 100644 --- a/src/Authentication/ApiKeyAuthentication.php +++ b/src/Authentication/ApiKeyAuthentication.php @@ -1,5 +1,7 @@ withHeader('Authorization', $this->{'apiKey'}); - - return $request; + return $request->withHeader('Authorization', $this->{'apiKey'}); } public function getScope(): string diff --git a/src/Client.php b/src/Client.php index 1635ff03..c89494b0 100644 --- a/src/Client.php +++ b/src/Client.php @@ -1,5 +1,7 @@ 0) { + if (\count($additionalPlugins) > 0) { $plugins = array_merge($plugins, $additionalPlugins); } $httpClient = new \Http\Client\Common\PluginClient($httpClient, $plugins); @@ -3004,7 +3006,7 @@ public static function create($httpClient = null, array $additionalPlugins = [], $requestFactory = \Http\Discovery\Psr17FactoryDiscovery::findRequestFactory(); $streamFactory = \Http\Discovery\Psr17FactoryDiscovery::findStreamFactory(); $normalizers = [new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), new \Gyroscops\Api\Normalizer\JaneObjectNormalizer()]; - if (count($additionalNormalizers) > 0) { + if (\count($additionalNormalizers) > 0) { $normalizers = array_merge($normalizers, $additionalNormalizers); } $serializer = new \Symfony\Component\Serializer\Serializer($normalizers, [new \Symfony\Component\Serializer\Encoder\JsonEncoder(new \Symfony\Component\Serializer\Encoder\JsonEncode(), new \Symfony\Component\Serializer\Encoder\JsonDecode(['json_decode_associative' => true]))]); diff --git a/src/Endpoint/AcceptReferralRequestReferralRequestItem.php b/src/Endpoint/AcceptReferralRequestReferralRequestItem.php index 711dbacb..14cc1adc 100644 --- a/src/Endpoint/AcceptReferralRequestReferralRequestItem.php +++ b/src/Endpoint/AcceptReferralRequestReferralRequestItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php b/src/Endpoint/AddAfterPipelineStepPipelineCollection.php index 21281820..d1304520 100644 --- a/src/Endpoint/AddAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/AddAfterPipelineStepPipelineCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap[]', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/AddValueSecretCollection.php b/src/Endpoint/AddValueSecretCollection.php index c1bd1f3c..3c2e793e 100644 --- a/src/Endpoint/AddValueSecretCollection.php +++ b/src/Endpoint/AddValueSecretCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php index c358291d..ba22f291 100644 --- a/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOrganizationGetSubresourceActionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } diff --git a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php index 4aa6943b..4cba15fe 100644 --- a/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsOwnerGetSubresourceActionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } diff --git a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php index 85678b40..71a2da9c 100644 --- a/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php +++ b/src/Endpoint/ApiActionsWorkspaceGetSubresourceActionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } diff --git a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php index 7f4e47d3..b7d70409 100644 --- a/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php +++ b/src/Endpoint/ApiExecutionPipelineJobsStepsGetSubresourceExecutionPipelineJobSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php index 265c81b1..8a5e4ef1 100644 --- a/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php +++ b/src/Endpoint/ApiExecutionPipelinesStepsGetSubresourceExecutionPipelineSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php index 238b5a82..2de1ebed 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsActionGetSubresourceExecutionWorkflowJobSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php index aa756df8..be83b61b 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineGetSubresourceExecutionWorkflowJobSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php index d4a70694..c96b6353 100644 --- a/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowJobsPipelineStepsGetSubresourceExecutionWorkflowJobSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php index a18bdd37..f86ca8aa 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsActionGetSubresourceExecutionWorkflowSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php index 5e7537a9..92ec85f8 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsGetSubresourceExecutionWorkflowSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php index ac1847ad..107f5d9a 100644 --- a/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php +++ b/src/Endpoint/ApiExecutionWorkflowsJobsPipelineGetSubresourceExecutionWorkflowSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } } diff --git a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php index 32f59d0f..1852c923 100644 --- a/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsActionGetSubresourceExecutionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); } } diff --git a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php index 1e64e52a..012efd2f 100644 --- a/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsOrganizationGetSubresourceExecutionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } diff --git a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php index 81c0da1f..b3345ae8 100644 --- a/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsOwnerGetSubresourceExecutionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } diff --git a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php index 7c5386a8..0b001388 100644 --- a/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsPipelineGetSubresourceExecutionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); } } diff --git a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php index 47fde683..f2c2061b 100644 --- a/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkflowGetSubresourceExecutionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); } } diff --git a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php index 156b49ee..a5beb24f 100644 --- a/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkflowJobsGetSubresourceExecutionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } diff --git a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php b/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php index 7131200d..a8220241 100644 --- a/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php +++ b/src/Endpoint/ApiExecutionsWorkspaceGetSubresourceExecutionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } diff --git a/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php b/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php index 10682741..7fce9dc5 100644 --- a/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php +++ b/src/Endpoint/ApiOffersOptionsGetSubresourceOfferSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Option[]', 'json'); } } diff --git a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php index 5f1d58f0..1b3021a3 100644 --- a/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsAuthorizationsGetSubresourceOrganizationSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } diff --git a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php index a6888c4c..aea51a28 100644 --- a/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsExternalCollaboratorsGetSubresourceOrganizationSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php index 6e31c194..3e2e216e 100644 --- a/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsUsersGetSubresourceOrganizationSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php index b70f1ef3..ba103f15 100644 --- a/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php +++ b/src/Endpoint/ApiOrganizationsWorkspacesGetSubresourceOrganizationSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); } } diff --git a/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php index f89572fc..9e52a8e3 100644 --- a/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiPipelineCompilationsOrganizationGetSubresourcePipelineCompilationSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } diff --git a/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php index a87d961a..f72fd74e 100644 --- a/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiPipelineCompilationsUserGetSubresourcePipelineCompilationSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } diff --git a/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php b/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php index 14d15e1c..b7f7a8e1 100644 --- a/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php +++ b/src/Endpoint/ApiPipelineCompilationsWorkspaceGetSubresourcePipelineCompilationSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } diff --git a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php index 917bf195..e7a507dd 100644 --- a/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php +++ b/src/Endpoint/ApiPipelineStepsProbesGetSubresourcePipelineStepSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); } } diff --git a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php index 31638d17..1213d9a6 100644 --- a/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesCompilationsGetSubresourcePipelineSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation[]', 'json'); } } diff --git a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php index 9e21d1f3..b49f75c4 100644 --- a/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesOrganizationGetSubresourcePipelineSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } diff --git a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php index 4a4cf4a8..34ddd7e9 100644 --- a/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesOwnerGetSubresourcePipelineSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } diff --git a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php b/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php index 27202847..39c4246c 100644 --- a/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php +++ b/src/Endpoint/ApiPipelinesWorkspaceGetSubresourcePipelineSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php index b8241ec1..da46e8cc 100644 --- a/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesExecutionsGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php index e58be9eb..abc726ec 100644 --- a/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesOrganizationGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php index 55ce222b..32bc9f93 100644 --- a/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesOwnerGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php index 82998fec..c62119e6 100644 --- a/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesPipelineGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php index 74faa7e9..2c297965 100644 --- a/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php index 54640aea..578d28ba 100644 --- a/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowJobsGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead[]', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php index eba72438..0cc1444a 100644 --- a/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowOrganizationGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php index 437f4ed8..31d108fb 100644 --- a/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowOwnerGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php index 3cc27e0c..28f7988e 100644 --- a/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkflowWorkspaceGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } diff --git a/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php b/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php index f6443bfa..169a4ee2 100644 --- a/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php +++ b/src/Endpoint/ApiSchedulesWorkspaceGetSubresourceScheduleSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } diff --git a/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php index 092c7bc9..a4b16960 100644 --- a/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php +++ b/src/Endpoint/ApiSubscriptionsOfferGetSubresourceSubscriptionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); } } diff --git a/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php index a1484939..995d66fc 100644 --- a/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php +++ b/src/Endpoint/ApiSubscriptionsOptionsGetSubresourceSubscriptionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\SubscriptionOption[]', 'json'); } } diff --git a/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php index bc3c8132..b5a8b835 100644 --- a/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php +++ b/src/Endpoint/ApiSubscriptionsOrganizationGetSubresourceSubscriptionSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } diff --git a/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php index fdb37367..cc5f47cf 100644 --- a/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php +++ b/src/Endpoint/ApiUsersAuthorizationsGetSubresourceUserSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } diff --git a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php index d11b4e64..af37eefa 100644 --- a/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsJobsGetSubresourceWorkflowSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead[]', 'json'); } } diff --git a/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php index 5daee479..b749a584 100644 --- a/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsOrganizationGetSubresourceWorkflowSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } } diff --git a/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php index b1bc68e8..2159209e 100644 --- a/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsOwnerGetSubresourceWorkflowSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } } diff --git a/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php b/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php index 9c0fb90e..dcbc8801 100644 --- a/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php +++ b/src/Endpoint/ApiWorkflowsWorkspaceGetSubresourceWorkflowSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } } diff --git a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php index 81fbf012..143648fb 100644 --- a/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesAuthorizationsGetSubresourceWorkspaceSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } diff --git a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php index 4dc603ab..f9f08466 100644 --- a/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php +++ b/src/Endpoint/ApiWorkspacesUsersGetSubresourceWorkspaceSubresource.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/AppendPipelineStepPipelineCollection.php b/src/Endpoint/AppendPipelineStepPipelineCollection.php index 5c310390..5d99543d 100644 --- a/src/Endpoint/AppendPipelineStepPipelineCollection.php +++ b/src/Endpoint/AppendPipelineStepPipelineCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/DeclareExecutionExecutionCollection.php b/src/Endpoint/DeclareExecutionExecutionCollection.php index 880f30ab..40f4cade 100644 --- a/src/Endpoint/DeclareExecutionExecutionCollection.php +++ b/src/Endpoint/DeclareExecutionExecutionCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead[]', 'json'); } } diff --git a/src/Endpoint/GetActionItem.php b/src/Endpoint/GetActionItem.php index a50c0635..7653a74f 100644 --- a/src/Endpoint/GetActionItem.php +++ b/src/Endpoint/GetActionItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ActionRead', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php index d50022ad..10fe67d2 100644 --- a/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php +++ b/src/Endpoint/GetAkeneoInstanceByPimUrlAkeneoInstanceCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceCollection.php index 5b4653b2..16e23aaf 100644 --- a/src/Endpoint/GetAkeneoInstanceCollection.php +++ b/src/Endpoint/GetAkeneoInstanceCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoInstanceItem.php b/src/Endpoint/GetAkeneoInstanceItem.php index 0cb2d8c4..68ee2ce7 100644 --- a/src/Endpoint/GetAkeneoInstanceItem.php +++ b/src/Endpoint/GetAkeneoInstanceItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php index b8920e20..f0a14e4a 100644 --- a/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php +++ b/src/Endpoint/GetAkeneoInstanceOauthAkeneoInstanceCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php index 48544622..dba41a6e 100644 --- a/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/GetAkeneoLinkedAccountAkeneoLinkedAccountCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoLinkedAccountCollection.php b/src/Endpoint/GetAkeneoLinkedAccountCollection.php index d6d0571c..17938fec 100644 --- a/src/Endpoint/GetAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/GetAkeneoLinkedAccountCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoLinkedAccountItem.php b/src/Endpoint/GetAkeneoLinkedAccountItem.php index 146e859e..e39ec1c1 100644 --- a/src/Endpoint/GetAkeneoLinkedAccountItem.php +++ b/src/Endpoint/GetAkeneoLinkedAccountItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetAkeneoOauthTokenCollection.php b/src/Endpoint/GetAkeneoOauthTokenCollection.php index d4970463..05c40a94 100644 --- a/src/Endpoint/GetAkeneoOauthTokenCollection.php +++ b/src/Endpoint/GetAkeneoOauthTokenCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead[]', 'json'); } } diff --git a/src/Endpoint/GetAkeneoOauthTokenItem.php b/src/Endpoint/GetAkeneoOauthTokenItem.php index 7fd6cda8..e691b562 100644 --- a/src/Endpoint/GetAkeneoOauthTokenItem.php +++ b/src/Endpoint/GetAkeneoOauthTokenItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetConfigMapCollection.php b/src/Endpoint/GetConfigMapCollection.php index a64badd1..ae6d1f47 100644 --- a/src/Endpoint/GetConfigMapCollection.php +++ b/src/Endpoint/GetConfigMapCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap[]', 'json'); } } diff --git a/src/Endpoint/GetConfigMapItem.php b/src/Endpoint/GetConfigMapItem.php index b21321e0..c5fc180e 100644 --- a/src/Endpoint/GetConfigMapItem.php +++ b/src/Endpoint/GetConfigMapItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetEnvironmentCollection.php b/src/Endpoint/GetEnvironmentCollection.php index 03149d9d..afed130c 100644 --- a/src/Endpoint/GetEnvironmentCollection.php +++ b/src/Endpoint/GetEnvironmentCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Environment[]', 'json'); } } diff --git a/src/Endpoint/GetEnvironmentItem.php b/src/Endpoint/GetEnvironmentItem.php index e90baa7e..5e692328 100644 --- a/src/Endpoint/GetEnvironmentItem.php +++ b/src/Endpoint/GetEnvironmentItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Environment', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetExecutionActionItem.php b/src/Endpoint/GetExecutionActionItem.php index daf5a4c6..e3766142 100644 --- a/src/Endpoint/GetExecutionActionItem.php +++ b/src/Endpoint/GetExecutionActionItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionAction', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetExecutionCollection.php b/src/Endpoint/GetExecutionCollection.php index 7a3f2d05..263a588f 100644 --- a/src/Endpoint/GetExecutionCollection.php +++ b/src/Endpoint/GetExecutionCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionItem.php b/src/Endpoint/GetExecutionItem.php index 144b4977..b7bd1cf0 100644 --- a/src/Endpoint/GetExecutionItem.php +++ b/src/Endpoint/GetExecutionItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionRead', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetExecutionPipelineCollection.php b/src/Endpoint/GetExecutionPipelineCollection.php index d705e245..55ce9981 100644 --- a/src/Endpoint/GetExecutionPipelineCollection.php +++ b/src/Endpoint/GetExecutionPipelineCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionPipelineItem.php b/src/Endpoint/GetExecutionPipelineItem.php index 7c9cee86..1bbc6680 100644 --- a/src/Endpoint/GetExecutionPipelineItem.php +++ b/src/Endpoint/GetExecutionPipelineItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipeline', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetExecutionPipelineJobCollection.php b/src/Endpoint/GetExecutionPipelineJobCollection.php index 189bea83..4a87da00 100644 --- a/src/Endpoint/GetExecutionPipelineJobCollection.php +++ b/src/Endpoint/GetExecutionPipelineJobCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionPipelineJobItem.php b/src/Endpoint/GetExecutionPipelineJobItem.php index 4d36ef0e..f8afb481 100644 --- a/src/Endpoint/GetExecutionPipelineJobItem.php +++ b/src/Endpoint/GetExecutionPipelineJobItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineJob', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetExecutionPipelineStepItem.php b/src/Endpoint/GetExecutionPipelineStepItem.php index 7ca156a1..d1a77232 100644 --- a/src/Endpoint/GetExecutionPipelineStepItem.php +++ b/src/Endpoint/GetExecutionPipelineStepItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionPipelineStep', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetExecutionWorkflowCollection.php b/src/Endpoint/GetExecutionWorkflowCollection.php index dcd63edb..de818485 100644 --- a/src/Endpoint/GetExecutionWorkflowCollection.php +++ b/src/Endpoint/GetExecutionWorkflowCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionWorkflowItem.php b/src/Endpoint/GetExecutionWorkflowItem.php index ff8cca49..bd5e2b03 100644 --- a/src/Endpoint/GetExecutionWorkflowItem.php +++ b/src/Endpoint/GetExecutionWorkflowItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflow', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetExecutionWorkflowJobActionItem.php b/src/Endpoint/GetExecutionWorkflowJobActionItem.php index 68a46b40..7690dd7d 100644 --- a/src/Endpoint/GetExecutionWorkflowJobActionItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobActionItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetExecutionWorkflowJobCollection.php b/src/Endpoint/GetExecutionWorkflowJobCollection.php index dbebf633..ec009196 100644 --- a/src/Endpoint/GetExecutionWorkflowJobCollection.php +++ b/src/Endpoint/GetExecutionWorkflowJobCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob[]', 'json'); } } diff --git a/src/Endpoint/GetExecutionWorkflowJobItem.php b/src/Endpoint/GetExecutionWorkflowJobItem.php index b08866f2..c0f9902d 100644 --- a/src/Endpoint/GetExecutionWorkflowJobItem.php +++ b/src/Endpoint/GetExecutionWorkflowJobItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetForgotPassword.php b/src/Endpoint/GetForgotPassword.php index 0b7007e6..ca1b9c76 100644 --- a/src/Endpoint/GetForgotPassword.php +++ b/src/Endpoint/GetForgotPassword.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Offer[]', 'json'); } } diff --git a/src/Endpoint/GetOfferItem.php b/src/Endpoint/GetOfferItem.php index c777903b..608cc1d3 100644 --- a/src/Endpoint/GetOfferItem.php +++ b/src/Endpoint/GetOfferItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetOnPremiseRequestCollection.php b/src/Endpoint/GetOnPremiseRequestCollection.php index f75e41a4..27bee5bb 100644 --- a/src/Endpoint/GetOnPremiseRequestCollection.php +++ b/src/Endpoint/GetOnPremiseRequestCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead[]', 'json'); } } diff --git a/src/Endpoint/GetOnPremiseRequestItem.php b/src/Endpoint/GetOnPremiseRequestItem.php index 3d7ece03..35c8a8e4 100644 --- a/src/Endpoint/GetOnPremiseRequestItem.php +++ b/src/Endpoint/GetOnPremiseRequestItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetOrganizationCollection.php b/src/Endpoint/GetOrganizationCollection.php index 70e5cf77..4f274a77 100644 --- a/src/Endpoint/GetOrganizationCollection.php +++ b/src/Endpoint/GetOrganizationCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization[]', 'json'); } } diff --git a/src/Endpoint/GetOrganizationItem.php b/src/Endpoint/GetOrganizationItem.php index fe6cc469..f9729066 100644 --- a/src/Endpoint/GetOrganizationItem.php +++ b/src/Endpoint/GetOrganizationItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetPipelineCollection.php b/src/Endpoint/GetPipelineCollection.php index c8ade6f3..8fbc790f 100644 --- a/src/Endpoint/GetPipelineCollection.php +++ b/src/Endpoint/GetPipelineCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead[]', 'json'); } } diff --git a/src/Endpoint/GetPipelineCompilationCollection.php b/src/Endpoint/GetPipelineCompilationCollection.php index 2e582ccf..03b6ae66 100644 --- a/src/Endpoint/GetPipelineCompilationCollection.php +++ b/src/Endpoint/GetPipelineCompilationCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation[]', 'json'); } } diff --git a/src/Endpoint/GetPipelineCompilationItem.php b/src/Endpoint/GetPipelineCompilationItem.php index d0c3e7eb..00df2f3b 100644 --- a/src/Endpoint/GetPipelineCompilationItem.php +++ b/src/Endpoint/GetPipelineCompilationItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineCompilation', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetPipelineItem.php b/src/Endpoint/GetPipelineItem.php index 04addc8f..9151eba6 100644 --- a/src/Endpoint/GetPipelineItem.php +++ b/src/Endpoint/GetPipelineItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineRead', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetPipelineStepCollection.php b/src/Endpoint/GetPipelineStepCollection.php index 260442b6..faac34f6 100644 --- a/src/Endpoint/GetPipelineStepCollection.php +++ b/src/Endpoint/GetPipelineStepCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep[]', 'json'); } } diff --git a/src/Endpoint/GetPipelineStepItem.php b/src/Endpoint/GetPipelineStepItem.php index 161bcedf..88e65e3a 100644 --- a/src/Endpoint/GetPipelineStepItem.php +++ b/src/Endpoint/GetPipelineStepItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStep', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetPipelineStepProbeCollection.php b/src/Endpoint/GetPipelineStepProbeCollection.php index 769f10e2..3e2e9571 100644 --- a/src/Endpoint/GetPipelineStepProbeCollection.php +++ b/src/Endpoint/GetPipelineStepProbeCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe[]', 'json'); } } diff --git a/src/Endpoint/GetPipelineStepProbeItem.php b/src/Endpoint/GetPipelineStepProbeItem.php index 1018211d..e21c30bc 100644 --- a/src/Endpoint/GetPipelineStepProbeItem.php +++ b/src/Endpoint/GetPipelineStepProbeItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\PipelineStepProbe', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetReferralCodeCollection.php b/src/Endpoint/GetReferralCodeCollection.php index 3e3ef414..6f92884d 100644 --- a/src/Endpoint/GetReferralCodeCollection.php +++ b/src/Endpoint/GetReferralCodeCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead[]', 'json'); } } diff --git a/src/Endpoint/GetReferralCodeItem.php b/src/Endpoint/GetReferralCodeItem.php index 8ca32979..1a0476e9 100644 --- a/src/Endpoint/GetReferralCodeItem.php +++ b/src/Endpoint/GetReferralCodeItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetReferralRequestCollection.php b/src/Endpoint/GetReferralRequestCollection.php index 13ca2c75..cc231f81 100644 --- a/src/Endpoint/GetReferralRequestCollection.php +++ b/src/Endpoint/GetReferralRequestCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead[]', 'json'); } } diff --git a/src/Endpoint/GetReferralRequestItem.php b/src/Endpoint/GetReferralRequestItem.php index fc0fcaf4..7bfb071c 100644 --- a/src/Endpoint/GetReferralRequestItem.php +++ b/src/Endpoint/GetReferralRequestItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetScheduleCollection.php b/src/Endpoint/GetScheduleCollection.php index 787acdc2..aef56538 100644 --- a/src/Endpoint/GetScheduleCollection.php +++ b/src/Endpoint/GetScheduleCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Schedule[]', 'json'); } } diff --git a/src/Endpoint/GetScheduleItem.php b/src/Endpoint/GetScheduleItem.php index ef5e1f34..01ced585 100644 --- a/src/Endpoint/GetScheduleItem.php +++ b/src/Endpoint/GetScheduleItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Schedule', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetSecretCollection.php b/src/Endpoint/GetSecretCollection.php index 0925254e..a6dbc620 100644 --- a/src/Endpoint/GetSecretCollection.php +++ b/src/Endpoint/GetSecretCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Secret[]', 'json'); } } diff --git a/src/Endpoint/GetSecretItem.php b/src/Endpoint/GetSecretItem.php index de28a33d..891ff650 100644 --- a/src/Endpoint/GetSecretItem.php +++ b/src/Endpoint/GetSecretItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetSubscriptionCollection.php b/src/Endpoint/GetSubscriptionCollection.php index 37382919..432e9c14 100644 --- a/src/Endpoint/GetSubscriptionCollection.php +++ b/src/Endpoint/GetSubscriptionCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Subscription[]', 'json'); } } diff --git a/src/Endpoint/GetSubscriptionItem.php b/src/Endpoint/GetSubscriptionItem.php index ebd3e8ad..e6b799b0 100644 --- a/src/Endpoint/GetSubscriptionItem.php +++ b/src/Endpoint/GetSubscriptionItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetUserAuthorizationCollection.php b/src/Endpoint/GetUserAuthorizationCollection.php index 1e820dc8..cb70bdc0 100644 --- a/src/Endpoint/GetUserAuthorizationCollection.php +++ b/src/Endpoint/GetUserAuthorizationCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization[]', 'json'); } } diff --git a/src/Endpoint/GetUserAuthorizationItem.php b/src/Endpoint/GetUserAuthorizationItem.php index 67a101e8..c455357e 100644 --- a/src/Endpoint/GetUserAuthorizationItem.php +++ b/src/Endpoint/GetUserAuthorizationItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetUserCollection.php b/src/Endpoint/GetUserCollection.php index c75f34ff..03b92fa1 100644 --- a/src/Endpoint/GetUserCollection.php +++ b/src/Endpoint/GetUserCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/GetUserItem.php b/src/Endpoint/GetUserItem.php index c29a59e4..edcfbc7a 100644 --- a/src/Endpoint/GetUserItem.php +++ b/src/Endpoint/GetUserItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetVariableFromConfigMapCollection.php b/src/Endpoint/GetVariableFromConfigMapCollection.php index 7cac3230..e784043a 100644 --- a/src/Endpoint/GetVariableFromConfigMapCollection.php +++ b/src/Endpoint/GetVariableFromConfigMapCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap[]', 'json'); } } diff --git a/src/Endpoint/GetVariableFromConfigMapItem.php b/src/Endpoint/GetVariableFromConfigMapItem.php index 3709991e..76414046 100644 --- a/src/Endpoint/GetVariableFromConfigMapItem.php +++ b/src/Endpoint/GetVariableFromConfigMapItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetVariableFromSecretCollection.php b/src/Endpoint/GetVariableFromSecretCollection.php index 24b080e8..e3046d8d 100644 --- a/src/Endpoint/GetVariableFromSecretCollection.php +++ b/src/Endpoint/GetVariableFromSecretCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret[]', 'json'); } } diff --git a/src/Endpoint/GetVariableFromSecretItem.php b/src/Endpoint/GetVariableFromSecretItem.php index cb296aa0..260ee057 100644 --- a/src/Endpoint/GetVariableFromSecretItem.php +++ b/src/Endpoint/GetVariableFromSecretItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetWorkflowCollection.php b/src/Endpoint/GetWorkflowCollection.php index 1bf723b8..332d3291 100644 --- a/src/Endpoint/GetWorkflowCollection.php +++ b/src/Endpoint/GetWorkflowCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead[]', 'json'); } } diff --git a/src/Endpoint/GetWorkflowItem.php b/src/Endpoint/GetWorkflowItem.php index dc4977b1..ed1122ca 100644 --- a/src/Endpoint/GetWorkflowItem.php +++ b/src/Endpoint/GetWorkflowItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowRead', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetWorkflowJobActionItem.php b/src/Endpoint/GetWorkflowJobActionItem.php index 4c7e0ab4..ae9519bf 100644 --- a/src/Endpoint/GetWorkflowJobActionItem.php +++ b/src/Endpoint/GetWorkflowJobActionItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobAction', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetWorkflowJobItem.php b/src/Endpoint/GetWorkflowJobItem.php index d1ae6e81..031aadaa 100644 --- a/src/Endpoint/GetWorkflowJobItem.php +++ b/src/Endpoint/GetWorkflowJobItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobRead', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetWorkflowJobPipelineItem.php b/src/Endpoint/GetWorkflowJobPipelineItem.php index ea88e16e..4d09ecb2 100644 --- a/src/Endpoint/GetWorkflowJobPipelineItem.php +++ b/src/Endpoint/GetWorkflowJobPipelineItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\WorkflowJobPipeline', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/GetWorkspaceCollection.php b/src/Endpoint/GetWorkspaceCollection.php index 640727a5..72f6ef71 100644 --- a/src/Endpoint/GetWorkspaceCollection.php +++ b/src/Endpoint/GetWorkspaceCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace[]', 'json'); } } diff --git a/src/Endpoint/GetWorkspaceItem.php b/src/Endpoint/GetWorkspaceItem.php index 19d1cd5c..16e7c96e 100644 --- a/src/Endpoint/GetWorkspaceItem.php +++ b/src/Endpoint/GetWorkspaceItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (404 === $status) { diff --git a/src/Endpoint/InterruptExecutionExecutionCollection.php b/src/Endpoint/InterruptExecutionExecutionCollection.php index e0642a03..d7a06ec6 100644 --- a/src/Endpoint/InterruptExecutionExecutionCollection.php +++ b/src/Endpoint/InterruptExecutionExecutionCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User[]', 'json'); } } diff --git a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php b/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php index 13168367..472b51b7 100644 --- a/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php +++ b/src/Endpoint/MoveAfterPipelineStepPipelineCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PatchOrganizationItem.php b/src/Endpoint/PatchOrganizationItem.php index 45fb618b..32fc0f64 100644 --- a/src/Endpoint/PatchOrganizationItem.php +++ b/src/Endpoint/PatchOrganizationItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PatchSubscriptionItem.php b/src/Endpoint/PatchSubscriptionItem.php index 8f70b397..231fffc9 100644 --- a/src/Endpoint/PatchSubscriptionItem.php +++ b/src/Endpoint/PatchSubscriptionItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PatchUserAuthorizationItem.php b/src/Endpoint/PatchUserAuthorizationItem.php index c173a2da..f0175049 100644 --- a/src/Endpoint/PatchUserAuthorizationItem.php +++ b/src/Endpoint/PatchUserAuthorizationItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PatchUserItem.php b/src/Endpoint/PatchUserItem.php index 3e2c7dd1..3c531cb7 100644 --- a/src/Endpoint/PatchUserItem.php +++ b/src/Endpoint/PatchUserItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PatchWorkspaceItem.php b/src/Endpoint/PatchWorkspaceItem.php index 65d80317..f77ef26a 100644 --- a/src/Endpoint/PatchWorkspaceItem.php +++ b/src/Endpoint/PatchWorkspaceItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PipelineCompilationPipelineCollection.php b/src/Endpoint/PipelineCompilationPipelineCollection.php index 38662ae5..c4535f76 100644 --- a/src/Endpoint/PipelineCompilationPipelineCollection.php +++ b/src/Endpoint/PipelineCompilationPipelineCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoInstance', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostAkeneoLinkedAccountCollection.php b/src/Endpoint/PostAkeneoLinkedAccountCollection.php index 666114ef..6aeaa8e0 100644 --- a/src/Endpoint/PostAkeneoLinkedAccountCollection.php +++ b/src/Endpoint/PostAkeneoLinkedAccountCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostAkeneoOauthTokenCollection.php b/src/Endpoint/PostAkeneoOauthTokenCollection.php index 0c8d7a48..a5e5476f 100644 --- a/src/Endpoint/PostAkeneoOauthTokenCollection.php +++ b/src/Endpoint/PostAkeneoOauthTokenCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ConfigMap', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostCredentialsItem.php b/src/Endpoint/PostCredentialsItem.php index 30b18997..c2a8f605 100644 --- a/src/Endpoint/PostCredentialsItem.php +++ b/src/Endpoint/PostCredentialsItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Token', 'json'); } } diff --git a/src/Endpoint/PostEnvironmentCollection.php b/src/Endpoint/PostEnvironmentCollection.php index f71fa563..162bbae3 100644 --- a/src/Endpoint/PostEnvironmentCollection.php +++ b/src/Endpoint/PostEnvironmentCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Environment', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostForgotPassword.php b/src/Endpoint/PostForgotPassword.php index 110d029d..c992054d 100644 --- a/src/Endpoint/PostForgotPassword.php +++ b/src/Endpoint/PostForgotPassword.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostOrganizationCollection.php b/src/Endpoint/PostOrganizationCollection.php index c9df65a1..de35e6f9 100644 --- a/src/Endpoint/PostOrganizationCollection.php +++ b/src/Endpoint/PostOrganizationCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostReferralCodeCollection.php b/src/Endpoint/PostReferralCodeCollection.php index d7cc408d..ec39ac09 100644 --- a/src/Endpoint/PostReferralCodeCollection.php +++ b/src/Endpoint/PostReferralCodeCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostReferralRequestCollection.php b/src/Endpoint/PostReferralRequestCollection.php index 9c95f5a8..31116d5b 100644 --- a/src/Endpoint/PostReferralRequestCollection.php +++ b/src/Endpoint/PostReferralRequestCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostSecretCollection.php b/src/Endpoint/PostSecretCollection.php index 333899e7..fe0b6c4e 100644 --- a/src/Endpoint/PostSecretCollection.php +++ b/src/Endpoint/PostSecretCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Secret', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostSubscriptionCollection.php b/src/Endpoint/PostSubscriptionCollection.php index 85a1e335..ded741a9 100644 --- a/src/Endpoint/PostSubscriptionCollection.php +++ b/src/Endpoint/PostSubscriptionCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostUserAuthorizationCollection.php b/src/Endpoint/PostUserAuthorizationCollection.php index a63436d7..7319b4f3 100644 --- a/src/Endpoint/PostUserAuthorizationCollection.php +++ b/src/Endpoint/PostUserAuthorizationCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostUserCollection.php b/src/Endpoint/PostUserCollection.php index d28c4c22..0783d2cc 100644 --- a/src/Endpoint/PostUserCollection.php +++ b/src/Endpoint/PostUserCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostVariableFromConfigMapCollection.php b/src/Endpoint/PostVariableFromConfigMapCollection.php index 6bafa1fe..834f8d47 100644 --- a/src/Endpoint/PostVariableFromConfigMapCollection.php +++ b/src/Endpoint/PostVariableFromConfigMapCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromConfigMap', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostVariableFromSecretCollection.php b/src/Endpoint/PostVariableFromSecretCollection.php index 09719b35..c7b66d22 100644 --- a/src/Endpoint/PostVariableFromSecretCollection.php +++ b/src/Endpoint/PostVariableFromSecretCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\VariableFromSecret', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PostWorkspaceCollection.php b/src/Endpoint/PostWorkspaceCollection.php index 17063fbe..14d2c620 100644 --- a/src/Endpoint/PostWorkspaceCollection.php +++ b/src/Endpoint/PostWorkspaceCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php index 86d29ed5..939693ab 100644 --- a/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php +++ b/src/Endpoint/PutAkeneoOauthTokenAkeneoOauthTokenCollection.php @@ -1,5 +1,7 @@ body instanceof \Gyroscops\Api\Model\GatewayAkeneoOauthTokenPutBody) { return [['Content-Type' => ['application/ld+json']], $this->body]; } - 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]; } @@ -51,12 +53,10 @@ public function getExtraHeaders(): array * * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionBadRequestException * @throws \Gyroscops\Api\Exception\PutAkeneoOauthTokenAkeneoOauthTokenCollectionUnprocessableEntityException - * - * @return null */ protected function transformResponseBody(string $body, int $status, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) { - if (false === is_null($contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { + if (false === (null === $contentType) && (200 === $status && false !== mb_strpos($contentType, 'application/json'))) { return json_decode($body); } if (400 === $status) { diff --git a/src/Endpoint/PutAuthenticationToken.php b/src/Endpoint/PutAuthenticationToken.php index 6393b9c0..a343125d 100644 --- a/src/Endpoint/PutAuthenticationToken.php +++ b/src/Endpoint/PutAuthenticationToken.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Offer', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PutOrganizationItem.php b/src/Endpoint/PutOrganizationItem.php index 52c26a4b..93d8d608 100644 --- a/src/Endpoint/PutOrganizationItem.php +++ b/src/Endpoint/PutOrganizationItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Organization', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PutSubscriptionItem.php b/src/Endpoint/PutSubscriptionItem.php index 25e351af..c64520c0 100644 --- a/src/Endpoint/PutSubscriptionItem.php +++ b/src/Endpoint/PutSubscriptionItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Subscription', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PutUserAuthorizationItem.php b/src/Endpoint/PutUserAuthorizationItem.php index 4ee8fd05..f987b269 100644 --- a/src/Endpoint/PutUserAuthorizationItem.php +++ b/src/Endpoint/PutUserAuthorizationItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\UserAuthorization', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PutUserItem.php b/src/Endpoint/PutUserItem.php index b31ffd9d..88b9da2f 100644 --- a/src/Endpoint/PutUserItem.php +++ b/src/Endpoint/PutUserItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\User', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/PutWorkspaceItem.php b/src/Endpoint/PutWorkspaceItem.php index 3c2f2441..469d53c4 100644 --- a/src/Endpoint/PutWorkspaceItem.php +++ b/src/Endpoint/PutWorkspaceItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\Workspace', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/RejectReferralRequestReferralRequestItem.php b/src/Endpoint/RejectReferralRequestReferralRequestItem.php index 2b0650b3..40218e41 100644 --- a/src/Endpoint/RejectReferralRequestReferralRequestItem.php +++ b/src/Endpoint/RejectReferralRequestReferralRequestItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/RemovePipelineStepProbePipelineItem.php b/src/Endpoint/RemovePipelineStepProbePipelineItem.php index 32718ee3..e303b033 100644 --- a/src/Endpoint/RemovePipelineStepProbePipelineItem.php +++ b/src/Endpoint/RemovePipelineStepProbePipelineItem.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/ScheduleOnceScheduleCollection.php b/src/Endpoint/ScheduleOnceScheduleCollection.php index 34a44903..25d8fcdc 100644 --- a/src/Endpoint/ScheduleOnceScheduleCollection.php +++ b/src/Endpoint/ScheduleOnceScheduleCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/ScheduleTimesScheduleCollection.php b/src/Endpoint/ScheduleTimesScheduleCollection.php index f1cae1d3..28fd2ec4 100644 --- a/src/Endpoint/ScheduleTimesScheduleCollection.php +++ b/src/Endpoint/ScheduleTimesScheduleCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/ScheduleUntilScheduleCollection.php b/src/Endpoint/ScheduleUntilScheduleCollection.php index 7b995253..20399c06 100644 --- a/src/Endpoint/ScheduleUntilScheduleCollection.php +++ b/src/Endpoint/ScheduleUntilScheduleCollection.php @@ -1,5 +1,7 @@ deserialize($body, 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand', 'json'); } if (400 === $status) { diff --git a/src/Endpoint/StartExecutionExecutionCollection.php b/src/Endpoint/StartExecutionExecutionCollection.php index f9a29abf..e7983805 100644 --- a/src/Endpoint/StartExecutionExecutionCollection.php +++ b/src/Endpoint/StartExecutionExecutionCollection.php @@ -1,5 +1,7 @@ 'Gyroscops\\Api\\Normalizer\\AbstractPipelineNormalizer', 'Gyroscops\\Api\\Model\\AbstractPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\AbstractPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ActionRead' => 'Gyroscops\\Api\\Normalizer\\ActionReadNormalizer', 'Gyroscops\\Api\\Model\\ActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstance' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceAkeneoInstanceInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstanceAkeneoInstanceInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceAkeneoInstanceInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoInstanceJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoInstanceJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccount' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountAkeneoLinkedAccountsInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountAkeneoLinkedAccountsInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoLinkedAccountJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoLinkedAccountJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthStateInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthStateInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthStateOutputJsonldRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthStateOutputJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInput' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthTokenInputNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthTokenInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenOauthTokenOutputJsonldRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenOauthTokenOutputJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AkeneoOauthTokenJsonldRead' => 'Gyroscops\\Api\\Normalizer\\AkeneoOauthTokenJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInput' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputNormalizer', 'Gyroscops\\Api\\Model\\AutoloadInputJsonld' => 'Gyroscops\\Api\\Normalizer\\AutoloadInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\BigDecimal' => 'Gyroscops\\Api\\Normalizer\\BigDecimalNormalizer', 'Gyroscops\\Api\\Model\\BigDecimalJsonld' => 'Gyroscops\\Api\\Normalizer\\BigDecimalJsonldNormalizer', 'Gyroscops\\Api\\Model\\BigInteger' => 'Gyroscops\\Api\\Normalizer\\BigIntegerNormalizer', 'Gyroscops\\Api\\Model\\BigIntegerJsonld' => 'Gyroscops\\Api\\Normalizer\\BigIntegerJsonldNormalizer', 'Gyroscops\\Api\\Model\\BigNumber' => 'Gyroscops\\Api\\Normalizer\\BigNumberNormalizer', 'Gyroscops\\Api\\Model\\BigNumberJsonld' => 'Gyroscops\\Api\\Normalizer\\BigNumberJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMap' => 'Gyroscops\\Api\\Normalizer\\ConfigMapNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInput' => 'Gyroscops\\Api\\Normalizer\\ConfigMapConfigMapInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapConfigMapInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapConfigMapInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapJsonldNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInput' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputNormalizer', 'Gyroscops\\Api\\Model\\ConfigMapValueInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ConfigMapValueInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Context' => 'Gyroscops\\Api\\Normalizer\\ContextNormalizer', 'Gyroscops\\Api\\Model\\ContextJsonld' => 'Gyroscops\\Api\\Normalizer\\ContextJsonldNormalizer', 'Gyroscops\\Api\\Model\\Currency' => 'Gyroscops\\Api\\Normalizer\\CurrencyNormalizer', 'Gyroscops\\Api\\Model\\CurrencyJsonld' => 'Gyroscops\\Api\\Normalizer\\CurrencyJsonldNormalizer', 'Gyroscops\\Api\\Model\\Environment' => 'Gyroscops\\Api\\Normalizer\\EnvironmentNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentJsonld' => 'Gyroscops\\Api\\Normalizer\\EnvironmentJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionDeclarePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionDeclarePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionFinishPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionFinishPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionInterruptPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionInterruptPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionResumePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionResumePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionStartPipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionStartPipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionTerminatePipelineExecutionCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionTerminatePipelineExecutionCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ExecutionUpdatePipelineExecutionStateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionUpdatePipelineExecutionStateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\ExecutionActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipeline' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStep' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepNormalizer', 'Gyroscops\\Api\\Model\\ExecutionPipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionPipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflow' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJob' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobJsonldNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\ExecutionWorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\ExecutionWorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\Money' => 'Gyroscops\\Api\\Normalizer\\MoneyNormalizer', 'Gyroscops\\Api\\Model\\MoneyJsonld' => 'Gyroscops\\Api\\Normalizer\\MoneyJsonldNormalizer', 'Gyroscops\\Api\\Model\\Offer' => 'Gyroscops\\Api\\Normalizer\\OfferNormalizer', 'Gyroscops\\Api\\Model\\OfferJsonld' => 'Gyroscops\\Api\\Normalizer\\OfferJsonldNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestRead' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestReadNormalizer', 'Gyroscops\\Api\\Model\\OnPremiseRequestJsonldOnPremiseRequestWrite' => 'Gyroscops\\Api\\Normalizer\\OnPremiseRequestJsonldOnPremiseRequestWriteNormalizer', 'Gyroscops\\Api\\Model\\Option' => 'Gyroscops\\Api\\Normalizer\\OptionNormalizer', 'Gyroscops\\Api\\Model\\OptionJsonld' => 'Gyroscops\\Api\\Normalizer\\OptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\Organization' => 'Gyroscops\\Api\\Normalizer\\OrganizationNormalizer', 'Gyroscops\\Api\\Model\\OrganizationJsonld' => 'Gyroscops\\Api\\Normalizer\\OrganizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineComposerPSR4AutoloadCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineAddPipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAddPipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineAppendPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineAppendPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineDeclarePipelineCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineDeclarePipelineCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveAfterPipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveAfterPipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineMoveBeforePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineMoveBeforePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineRemovePipelineStepProbeCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineRemovePipelineStepProbeCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReorderPipelineStepsCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReorderPipelineStepsCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInput' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputNormalizer', 'Gyroscops\\Api\\Model\\PipelineReplacePipelineStepCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineReplacePipelineStepCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\PipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilation' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationNormalizer', 'Gyroscops\\Api\\Model\\PipelineCompilationJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineCompilationJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineIdJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStep' => 'Gyroscops\\Api\\Normalizer\\PipelineStepNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepJsonldNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbe' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeNormalizer', 'Gyroscops\\Api\\Model\\PipelineStepProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\PipelineStepProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\Price' => 'Gyroscops\\Api\\Normalizer\\PriceNormalizer', 'Gyroscops\\Api\\Model\\PriceJsonld' => 'Gyroscops\\Api\\Normalizer\\PriceJsonldNormalizer', 'Gyroscops\\Api\\Model\\Probe' => 'Gyroscops\\Api\\Normalizer\\ProbeNormalizer', 'Gyroscops\\Api\\Model\\ProbeJsonld' => 'Gyroscops\\Api\\Normalizer\\ProbeJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeRead' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodeJsonldReferralCodeWrite' => 'Gyroscops\\Api\\Normalizer\\ReferralCodeJsonldReferralCodeWriteNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInput' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestReferralRequestInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestReferralRequestInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestJsonldReferralRequestRead' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestJsonldReferralRequestReadNormalizer', 'Gyroscops\\Api\\Model\\Schedule' => 'Gyroscops\\Api\\Normalizer\\ScheduleNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleImmediateCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleOnceCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleTimesCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommand' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInput' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputNormalizer', 'Gyroscops\\Api\\Model\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleDeclarePipelineScheduleUntilCommandInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleJsonldNormalizer', 'Gyroscops\\Api\\Model\\ScheduleIdJsonld' => 'Gyroscops\\Api\\Normalizer\\ScheduleIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Secret' => 'Gyroscops\\Api\\Normalizer\\SecretNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInput' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputNormalizer', 'Gyroscops\\Api\\Model\\SecretSecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretSecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\SecretInput' => 'Gyroscops\\Api\\Normalizer\\SecretInputNormalizer', 'Gyroscops\\Api\\Model\\SecretInputJsonld' => 'Gyroscops\\Api\\Normalizer\\SecretInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\StepInput' => 'Gyroscops\\Api\\Normalizer\\StepInputNormalizer', 'Gyroscops\\Api\\Model\\StepInputJsonld' => 'Gyroscops\\Api\\Normalizer\\StepInputJsonldNormalizer', 'Gyroscops\\Api\\Model\\Subscription' => 'Gyroscops\\Api\\Normalizer\\SubscriptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOption' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionNormalizer', 'Gyroscops\\Api\\Model\\SubscriptionOptionJsonld' => 'Gyroscops\\Api\\Normalizer\\SubscriptionOptionJsonldNormalizer', 'Gyroscops\\Api\\Model\\TraversableJsonld' => 'Gyroscops\\Api\\Normalizer\\TraversableJsonldNormalizer', 'Gyroscops\\Api\\Model\\UpdateList' => 'Gyroscops\\Api\\Normalizer\\UpdateListNormalizer', 'Gyroscops\\Api\\Model\\UpdateListJsonld' => 'Gyroscops\\Api\\Normalizer\\UpdateListJsonldNormalizer', 'Gyroscops\\Api\\Model\\User' => 'Gyroscops\\Api\\Normalizer\\UserNormalizer', 'Gyroscops\\Api\\Model\\UserUserChangePasswordInput' => 'Gyroscops\\Api\\Normalizer\\UserUserChangePasswordInputNormalizer', 'Gyroscops\\Api\\Model\\UserJsonld' => 'Gyroscops\\Api\\Normalizer\\UserJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorization' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationNormalizer', 'Gyroscops\\Api\\Model\\UserAuthorizationJsonld' => 'Gyroscops\\Api\\Normalizer\\UserAuthorizationJsonldNormalizer', 'Gyroscops\\Api\\Model\\UserIdJsonld' => 'Gyroscops\\Api\\Normalizer\\UserIdJsonldNormalizer', 'Gyroscops\\Api\\Model\\Variable' => 'Gyroscops\\Api\\Normalizer\\VariableNormalizer', 'Gyroscops\\Api\\Model\\VariableJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMap' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapNormalizer', 'Gyroscops\\Api\\Model\\VariableFromConfigMapJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromConfigMapJsonldNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecret' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretNormalizer', 'Gyroscops\\Api\\Model\\VariableFromSecretJsonld' => 'Gyroscops\\Api\\Normalizer\\VariableFromSecretJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobAction' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobActionJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobActionJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipeline' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineReadNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldNormalizer', 'Gyroscops\\Api\\Model\\WorkflowJobPipelineJsonldRead' => 'Gyroscops\\Api\\Normalizer\\WorkflowJobPipelineJsonldReadNormalizer', 'Gyroscops\\Api\\Model\\Workspace' => 'Gyroscops\\Api\\Normalizer\\WorkspaceNormalizer', 'Gyroscops\\Api\\Model\\WorkspaceJsonld' => 'Gyroscops\\Api\\Normalizer\\WorkspaceJsonldNormalizer', 'Gyroscops\\Api\\Model\\Token' => 'Gyroscops\\Api\\Normalizer\\TokenNormalizer', 'Gyroscops\\Api\\Model\\Credentials' => 'Gyroscops\\Api\\Normalizer\\CredentialsNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationMeGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationMeGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOfferIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOffersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdExternalCollaboratorsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationIdWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationOrganizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationSubscriptionsIdOptionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUserIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdAuthorizationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspaceIdUsersGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\AuthenticationWorkspacesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapIdPutPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentEnvironmentsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretIdPutPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromConfigMapsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\EnvironmentVariableFromSecretsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceFromUrlGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstanceOauthStateGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoInstancesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountAkeneoUserIdGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoLinkedAccountsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthStatesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBody' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyHydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyHydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutBodyHydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200Normalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\GatewayAkeneoOauthTokenPutResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralCodesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralCodesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralOnPremiseRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\ReferralRequestsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\ReferralRequestsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeActionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeActionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionPipelineJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelineIdStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionPipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionExecutionWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobIdPipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionWorkflowExecutionWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepIdProbesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineStepsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelineIdCompilationsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimePipelinesCompilationGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdExecutionsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeScheduleIdWorkflowJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeSchedulesGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowIdJobsGetResponse200HydraSearchHydraMappingItemNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200Normalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraView' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraViewNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearch' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchNormalizer', 'Gyroscops\\Api\\Model\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItem' => 'Gyroscops\\Api\\Normalizer\\RuntimeWorkflowsGetResponse200HydraSearchHydraMappingItemNormalizer', '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Gyroscops\\Api\\Runtime\\Normalizer\\ReferenceNormalizer']; protected $normalizersCache = []; - /** - * @return bool - */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { - return array_key_exists($type, $this->normalizers); + return \array_key_exists($type, $this->normalizers); } - /** - * @return bool - */ - public function supportsNormalization($data, $format = null) + public function supportsNormalization($data, $format = null): bool { - return is_object($data) && array_key_exists(get_class($data), $this->normalizers); + return \is_object($data) && \array_key_exists($data::class, $this->normalizers); } /** + * @param mixed $object + * @param mixed|null $format + * * @return array|string|int|float|bool|\ArrayObject|null */ public function normalize($object, $format = null, array $context = []) { - $normalizerClass = $this->normalizers[get_class($object)]; + $normalizerClass = $this->normalizers[$object::class]; $normalizer = $this->getNormalizer($normalizerClass); return $normalizer->normalize($object, $format, $context); } /** + * @param mixed $data + * @param mixed $class + * @param mixed|null $format + * * @return mixed */ public function denormalize($data, $class, $format = null, array $context = []) diff --git a/src/Normalizer/MoneyJsonldNormalizer.php b/src/Normalizer/MoneyJsonldNormalizer.php index d74b6f7c..a9fb71d4 100644 --- a/src/Normalizer/MoneyJsonldNormalizer.php +++ b/src/Normalizer/MoneyJsonldNormalizer.php @@ -1,5 +1,7 @@ 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 diff --git a/src/Runtime/Client/Client.php b/src/Runtime/Client/Client.php index 491a78ad..eb27c299 100644 --- a/src/Runtime/Client/Client.php +++ b/src/Runtime/Client/Client.php @@ -1,10 +1,13 @@ executeRawEndpoint($endpoint); + } + + return $endpoint->parseResponse($this->processEndpoint($endpoint), $this->serializer, $fetch); + } + + public function executeRawEndpoint(Endpoint $endpoint): ResponseInterface + { + return $this->processEndpoint($endpoint); + } + + private function processEndpoint(Endpoint $endpoint): ResponseInterface { [$bodyHeaders, $body] = $endpoint->getBody($this->serializer, $this->streamFactory); $queryString = $endpoint->getQueryString(); - $uriGlue = false === strpos($endpoint->getUri(), '?') ? '?' : '&'; + $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 { @@ -60,7 +79,7 @@ public function executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_ foreach ($endpoint->getHeaders($bodyHeaders) as $name => $value) { $request = $request->withHeader($name, $value); } - if (count($endpoint->getAuthenticationScopes()) > 0) { + if (\count($endpoint->getAuthenticationScopes()) > 0) { $scopes = []; foreach ($endpoint->getAuthenticationScopes() as $scope) { $scopes[] = $scope; @@ -68,6 +87,6 @@ public function executeEndpoint(Endpoint $endpoint, string $fetch = self::FETCH_ $request = $request->withHeader(AuthenticationRegistry::SCOPES_HEADER, $scopes); } - return $endpoint->parseResponse($this->httpClient->sendRequest($request), $this->serializer, $fetch); + return $this->httpClient->sendRequest($request); } } diff --git a/src/Runtime/Client/CustomQueryResolver.php b/src/Runtime/Client/CustomQueryResolver.php index 82c6a0b3..506221bd 100644 --- a/src/Runtime/Client/CustomQueryResolver.php +++ b/src/Runtime/Client/CustomQueryResolver.php @@ -1,5 +1,7 @@ hasHeader('Content-Type') ? current($response->getHeader('Content-Type')) : null; + $contentType = $response->hasHeader('Content-Type') ? current($response->getHeader('Content-Type')) : null; - return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer, $contentType); - } - if (Client::FETCH_RESPONSE === $fetchMode) { - return $response; - } - throw new InvalidFetchModeException(sprintf('Fetch mode %s is not supported', $fetchMode)); + return $this->transformResponseBody((string) $response->getBody(), $response->getStatusCode(), $serializer, $contentType); } } diff --git a/src/Runtime/Normalizer/CheckArray.php b/src/Runtime/Normalizer/CheckArray.php index 6b2c0089..07e7a880 100644 --- a/src/Runtime/Normalizer/CheckArray.php +++ b/src/Runtime/Normalizer/CheckArray.php @@ -1,13 +1,13 @@ is_numeric($key), \ARRAY_FILTER_USE_KEY)) === \count($array); } } diff --git a/src/Runtime/Normalizer/ReferenceNormalizer.php b/src/Runtime/Normalizer/ReferenceNormalizer.php index e8b65896..c55e7757 100644 --- a/src/Runtime/Normalizer/ReferenceNormalizer.php +++ b/src/Runtime/Normalizer/ReferenceNormalizer.php @@ -1,5 +1,7 @@